Calculating the rotation vector from the vector of quaternions.
blockType: SubSystem
Path in the library:
/Aerospace/Axes Transformations/Quaternions to Rotation Angles
Description
The block Quaternions to Rotation Angles converts a four-element quaternion vector () into a rotation described by three angles ().
The elements of the directional cosine matrix are functions of the unit vector of quaternions. For example, for the order of rotation --, the matrix is defined as follows:
The matrix , defined by the unit vector of the quaternion, is:
From the above equations, we can derive the following relations between the elements of and the individual rotation angles for rotation --: