Page 1 of 1

Decoding heading for a rigid body

Posted: Mon Dec 19, 2016 1:42 pm
by nsaki001
I have created a rigid body with a center marker but i am having issues decoding its heading. Some values seem correct and others are flipped or offset by 90 degrees. Attached below is a graph of the estimated values and actual values seen.

Re: Decoding heading for a rigid body

Posted: Tue Dec 20, 2016 5:45 pm
by steven.andrews
Hello nsaki001,

It looks like you are experiencing Gimbal Lock. This is a common occurrence when trying to represent objects with 6 degrees of freedom in Euler rotations.
https://en.wikipedia.org/wiki/Gimbal_lock

Because of occurrences like this, it is often better to utilize Quaternion rotations, which are Motive's internal default.

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