cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding the MotionFX Library. In what order is the quaternion given??

VNava.1
Associate III

Hi, my name is Vincenzo,

I'm studying the MotionFX library and I want to understand In what order the quaternion is given by the MotionFX library.

Reading the manual, I know that the MotionFX can compute:

rotation, quaternions, gravity and linear acceleration data.

Regarding the quaternion, I don't understand how the elements are ordered. It is an array with 4 elements: qw,qx,qy,qz (q0,q1,q2,q3). I suppose that it is the order, but can someone confirm it?

Thank you in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Petr S
ST Employee

Hi Vincenzo,

In MotionFX library the q0, q1, q2, q3 is in qx, qy, qz, qw order.

Best regards,

Petr

View solution in original post

2 REPLIES 2
Petr S
ST Employee

Hi Vincenzo,

In MotionFX library the q0, q1, q2, q3 is in qx, qy, qz, qw order.

Best regards,

Petr

VNava.1
Associate III

Thank you, Petr!