ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Do you want a dynamic array of std_msgs/Vector3 by defining your own message type ?
Like this:
Vector3Array.msg:
std_msgs/Vector3[] data
2 | No.2 Revision |
Do you want a dynamic array of std_msgs/Vector3 geometry_msgs/Vector3 by defining your own message type ?
Like this:
Vector3Array.msg:
std_msgs/Vector3[] geometry_msgs/Vector3[] data
3 | No.3 Revision |
Do you want a dynamic array of geometry_msgs/Vector3 by defining your own message type ?
Like this:
Vector3Array.msg:
geometry_msgs/Vector3[] data
Question in Comment:
PubSub Tutorial: http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28c%2B%2B%29
To Create your own message, follow this:
http://wiki.ros.org/ROS/Tutorials/DefiningCustomMessages