Decoding heading for a rigid body

Post Reply
nsaki001
Posts: 1
Joined: Mon Dec 19, 2016 8:26 am

Decoding heading for a rigid body

Post 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.
Attachments
heading.PNG
heading.PNG (26.26 KiB) Viewed 5420 times
steven.andrews
NaturalPoint Employee
NaturalPoint Employee
Posts: 738
Joined: Mon Jan 19, 2015 11:52 am

Re: Decoding heading for a rigid body

Post 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
Post Reply