Calculation of the rotation vector from the quaternion vector.
blockType: SubSystem
Path in the library:
/Aerospace/Axes Transformations/Quaternions to Rotation Angles
Description
Block Quaternions to Rotation Angles converts a four-element vector of quaternions () in a turn described by three angles ().
Elements of the matrix of guiding cosines are functions of the unit vector of the quaternion. For example, for the rotation order -- the matrix It is defined as follows:
The matrix , defined by the unit vector of the quaternion, is equal to:
The following relations between the elements can be derived from the above equations and separate rotation angles for rotation --: