Home | Tutorials | Wiki | Issues
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Solved. It was a very easy task. I messed up with the order of quaternion angles (sad!).

 pioneer_yaw=180/pi*atan2(2*msg->pose.pose.orientation.z*msg->pose.pose.orientation.w,1-2*msg->pose.pose.orientation.z*msg->pose.pose.orientation.z);

This is for a planar surface.