Decoding heading for a rigid body
Decoding heading for a rigid body
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.
- Attachments
-
- heading.PNG (26.26 KiB) Viewed 8386 times
-
- NaturalPoint Employee
- Posts: 719
- Joined: Mon Jan 19, 2015 11:52 am
Re: Decoding heading for a rigid body
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
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