ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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.