Page 1 of 1

Why my yaw values error?

Posted: Sat Mar 05, 2016 5:54 am
by Shusen
Hi,
There seems something wrong with my Motive software. I built a rigid body, when the rigid body moves, the yaw value always ranges from -90 degree to 90 degree. But the right yaw value ranges from -180 degree to 180 degree, right?
Is there some setting values in the Motive software, changing the yaw value from -180 degree to 180 degree? We are using Motive 1.8.0. I'll appreciate if you could help, thank you!

Re: Why my yaw values error?

Posted: Mon Mar 07, 2016 1:19 pm
by steven.andrews
Hi Shusen,

This question comes up often, so we have looked into the rotation values many times and have found that everything is working as expected when it comes to the reported angles.

Euler angles can be deceiving. They may appear to be off in value, but applying the result shows the actual visual rotation of the rigid body to be correct. Euler angles are usually not good descriptors for objects that rotate about multiple axes more than 45 degree. This is just how the math works out.


Note that the range of values for Pitch, Yaw, Roll is as follows when using our convention:

Pitch (X) [-180,180] -> 0 to 180 , -180 to 0
Yaw (Y) [-90,90] -> 0 to 90 to 0 to -90 to 0
Roll (Z) [-180,180] -> 0 to 180, -180 to 0

When the rigid body is at an Euler rotation of 0, 60, 0 noted changes in Pitch and Roll will have less meaning, than when Yaw is 0. Think of this as cross-talk and it's inherent to Euler angle math. As Yaw approaches 90 or -90, Pitch and Roll will dramatically change to 180 or -180 and this is correct behavior.

I hope this information helps with your understanding of the rotation values. If you require further assistance, please feel free to open a support ticket with us at help.naturalpoint.com

Best,
Steven
--
Steven Andrews
OptiTrack | Customer Support Engineer