ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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!
2 | No.2 Revision |
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
to see showshow [msg]the difference). what each contains). They are different, most notably the turtlesim Pose does not use a quaternion.
I hope this helps!