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

answered 2012-07-23 12:39:41 -0500

joq gravatar image

I don't have a turtlebot, but some node should be publishing nav_msgs/Odometry, probably as an /odom or /odom_combined topic.

The orientation field in that message contains a quaternion indicating your robot's 3-dimensional orientation. Converting that to a yaw angle should give your 2-dimensional heading, if that is what you want.