Robotics StackExchange | Archived questions

Transfer the numpy array as ros msg

I keep getting some numpy arrays from my code. I want to convert them into ROS MSG and transmit these messages to the robot control code. Then, these numpy arrays are used to control the action of the robot. What should I do?

Asked by kankanzheli on 2022-03-08 09:21:53 UTC

Comments

what did you try? why didn't that work? which ROS version? a quick google search came up with this package to convert common ros to and from numpy: https://github.com/eric-wieser/ros_numpy

Asked by crnewton on 2022-03-08 10:09:28 UTC

Answers