Non normalized quaternions

Post Reply
corwin
Posts: 10
Joined: Wed Apr 11, 2012 5:32 am

Non normalized quaternions

Post by corwin » Thu Jun 07, 2012 1:43 am

Hello, I'm developping a middleware app with NatNet and the V120:Trio.

It seems with the 2.5 beta 2 of tracking tools, that sometimes, Trio sends non-normalized quats. This is my guess because when my end application convert it to Euler Angles, it sometimes goes NaN (undefined) causing the app to send the 3D entity "into space".

This is just for info. I solved the problem by normalizing the quat sent by the Trio. Then my app was functionning normally, without the above bug. I'm not a math expert but as far as I know, for 3D displacement one should only use normalized quats.

Can you take a look at this? Thanks :)
Can

beckdo
NaturalPoint Employee
NaturalPoint Employee
Posts: 520
Joined: Tue Jan 02, 2007 2:02 pm

Re: Non normalized quaternions

Post by beckdo » Thu Jun 07, 2012 1:55 pm

Thanks for the report. we will take a look.

Post Reply