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

Your understanding is correct. For a differential drive robot, the odom.twist.twist.linear.y = 0 as it is referred to the base_link frame. The other part of the Odometry message though will include X and Y position in the Odom frame.

See this page where the to different frames are called out. http://docs.ros.org/api/nav_msgs/html/msg/Odometry.html

As to why you are getting X and Y velocities, you'll have to provide some info on what your setup is.

.