Page 2 of 2
Re: Tracking Tools Streaming Quaternions
Posted: Fri Oct 05, 2012 3:45 pm
by NaturalPoint - Mike
The quaternion output isn't really like that, per-se. I'd recommend looking at the conversions from
euclideanspace.com for more information.
Re: Tracking Tools Streaming Quaternions
Posted: Thu Jan 23, 2014 10:08 am
by juvodu
Ive recently posted a tracking problem with rotations in an other forum and would be very thankful for every help or tip..
http://stackoverflow.com/q/21291572/2791503
Re: Tracking Tools Streaming Quaternions
Posted: Tue Jan 28, 2014 3:51 pm
by morgan
Several changes have occurred in the angle convention system between Tracking Tools/Arena and Motive 1.0, and again between Motive 1.0 and Motive 1.5, as we try to standardize and simplify the programmatic interface for working with and decoding quaternions.
The latest version of Motive and NatNet (Motive 1.5 / NatNet SDK 2.5) should be RHS, relative.
In general, when decoding quaternions with NatNet, the NatNet WinForms sample application can be very helpful as it will display/graph the euler values for you, which is helpful in visualizing/troubleshooting. You can also use this to match streamed values against the orientation of the rigid body as reported in the Motive -> Rigid Bodies panel.
I noticed on the Stack Overflow post of the code that
Code: Select all
public Quaterion getQuat(){
float qx = rigidBody.qx;
float qy = rigidBody.qy;
float qz = rigidBody.qy;
float qw = rigidBody.qw;
has rigidBody.qy use for both y and z - not sure if that is intentional or a typo.
hope this helps,
Morgan