ros-drivers / vrpn_client_ros

VRPN ROS Client
http://wiki.ros.org/vrpn_client_ros
60 stars 78 forks source link

How the orientation of "pose" works? #11

Closed IanMin1022 closed 6 years ago

IanMin1022 commented 6 years ago

I succeeded to extract the data and everything seemed fine until I found out that the yaw of orientation works little bit weird. So far what I found out is, the value of y(yaw) is sin of theta which is divided by 2 from the origin degree. This is okay, but when I flipped the object it went crazy. I kept trying to find a rule about how flipping affects y value whenever I flipped it, but, apparently, it seems like there is no rule. I just want to know how the orientation works, especially for y(yaw), and what the w is for.

paulbovbel commented 6 years ago

The orientation is a quaternion - see http://wiki.ros.org/Tutorials/Quaternions and ROS Answers if you have further questions.