3.2 Rotation Vectors and the Euler Angles
3.2.1 Rotation Vectors
The matrix representation has at least the following disadvantages:
- SO(3) has a rotation matrix of 9 quantities, but a 3D rotation only has 3 degrees of freedom. Therefore the matrix expression is redundant. Similarity, the transformation matrix expresses a 6-degree-of-freedom transformation with 16 quantities.
- The rotation matrix itself has constraints: it must be an orthogonal matrix with a determination of 1. The same is true for the transformation matrix.
Rotation
Can be described by a rotation axis () and a rotation angle ().
The conversion from the rotation vector to the rotation matrix: The conversion from the rotation matrix to rotation vector: Therefore:
The axis is the eigenvector corresponding to the matrix 's eigenvalue 1. Solving this equation and normalizing it gives the axis of rotation.
3.2.2 Euler Angles
One of the most commonly used Euler angles is the yaw-pitch-roll angles. Since it is equivalent to the rotation of the ZYX axis, we take the ZY X Euler angle as an example.
- Rotate around the axis of the object to get the yaw angle ;
- Rotate around the axis of after rotation to get the pitch angle ;
- Rotate around the axis of after rotation to get the roll angle
A major drawback of Euler Angle is that it encounters the famous Gimbal lock