Different RB orientation in TT and SampleClient3d
Posted: Mon Feb 21, 2011 1:57 pm
Hi,
I have worked with NatNet and tryed to operate with Trackable 6DOF values. From NatNet I have received position in mm and rotation in quaternion. I convert quat to euler by means of GetEulers function from SampleClient3d. But... my values of a euler angle is differ a little from the TT one.
After some tests I have found that order of rotation axes in SampleClient3d are not the same that in TT.
Could some one help, how to work with NatNet quaternion values to receive rotation like in TT ?
I have uploaded photos into the google picasa album - https://picasaweb.google.com/Neill.Solo ... directlink
First two pictures - initial state of Trackable in TT and SampleClient3d. I have added displaying a local axes for Trackable cube in the sample.
Next two pictures - another position of Trackable in TT and SampleClient3d. And here you can see a difference between TT axes order and sample one and you can see a little difference in euler values. I don't understand why that's happent.
P.S. TT 2.3.1 Final, NatNet 2.2
I have worked with NatNet and tryed to operate with Trackable 6DOF values. From NatNet I have received position in mm and rotation in quaternion. I convert quat to euler by means of GetEulers function from SampleClient3d. But... my values of a euler angle is differ a little from the TT one.
After some tests I have found that order of rotation axes in SampleClient3d are not the same that in TT.
Could some one help, how to work with NatNet quaternion values to receive rotation like in TT ?
I have uploaded photos into the google picasa album - https://picasaweb.google.com/Neill.Solo ... directlink
First two pictures - initial state of Trackable in TT and SampleClient3d. I have added displaying a local axes for Trackable cube in the sample.
Next two pictures - another position of Trackable in TT and SampleClient3d. And here you can see a difference between TT axes order and sample one and you can see a little difference in euler values. I don't understand why that's happent.
P.S. TT 2.3.1 Final, NatNet 2.2