ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You could certainly use a std_msgs::Float32MultiArray
to publish the data you are trying to publish. See the following answers for some examples on how to use:
The better question is if you actually _need_ to be publishing a multidimensional array. It might actually be much easier to work with a custom message that had 2 arrays (one for x and one for y).