Transfer the numpy array as ros msg

asked 2022-03-08 08:21:53 -0500

kankanzheli gravatar image

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?

edit retag flag offensive close merge delete

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

crnewton gravatar image crnewton  ( 2022-03-08 09:09:28 -0500 )edit