ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You mean degrees probably
You need a quaternion to degrees conversion tool. Or use for instance the bullet class.
2 | No.2 Revision |
You mean degrees probably
You need a quaternion to degrees conversion tool. Or use for instance the bullet class.
edit:
tf::Pose pose;
tf::poseMsgToTF(odom->pose.pose, pose);
double yaw_angle = tf::getYaw(pose.getRotation());
from here