Skip to main content
VNava.1
Associate III
April 7, 2022
Solved

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

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!

    This topic has been closed for replies.
    Petr S
    Petr SBest answer
    ST Employee
    April 7, 2022

    Hi Vincenzo,

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

    Best regards,

    Petr

    2 replies

    Petr S
    Petr SBest answer
    ST Employee
    April 7, 2022

    Hi Vincenzo,

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

    Best regards,

    Petr

    VNava.1
    VNava.1Author
    Associate III
    April 7, 2022

    Thank you, Petr!