ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Because the nav_msgs/Odometry is a different message type from turtlesim/Pose, you might have to write yourself a node to convert the two. Before you do that, check to see if there isn't already a topic publishing the pose you want.

Fortunately one of the values of Odometry is a Pose (see rosmsg show nav_msgs/odometry), unfortunately this is a geometry_msgs/Pose rather than a turtlesim/Pose (use rosmsg show to see the difference). They are different, most notably the turtlesim Pose does not use a quaternion.

I hope this helps!

Because the nav_msgs/Odometry is a different message type from turtlesim/Pose, you might have to write yourself a node to convert the two. Before you do that, check to see if there isn't already a topic publishing the pose you want.

Fortunately one of the values of Odometry is a Pose (see rosmsg show nav_msgs/odometry), unfortunately this is a geometry_msgs/Pose rather than a turtlesim/Pose (use rosmsg showshow [msg] to see the difference). what each contains). They are different, most notably the turtlesim Pose does not use a quaternion.

I hope this helps!