ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You could use geometry_msgs/Vector3Stamped
$ rosmsg show geometry_msgs/Vector3Stamped
std_msgs/Header header
uint32 seq
time stamp
string frame_id
geometry_msgs/Vector3 vector
float64 x
float64 y
float64 z
You can browse messages with
rosmsg list
2 | No.2 Revision |
You could use geometry_msgs/Vector3Stamped
$ rosmsg show geometry_msgs/Vector3Stamped
std_msgs/Header header
uint32 seq
time stamp
string frame_id
geometry_msgs/Vector3 vector
float64 x
float64 y
float64 z
You can browse messages with
rosmsg list
Publishing this as a topic is good described in the publisher and subscriber tutorial: http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28c%2B%2B%29