Axis-Angle Representation of Rotation
An alternative representation to rotation matrices is the axis-angle representation in the form:
Where:
- : Rotation axis (unit vector: )
- : Rotation angle
Exponential Coordinates of Rotation
If a frame (initially coincident with the identity matrix ) rotates about for units of time (i.e. is integrated over that time interval) the final position would be expressed by the rotation matrix .
Matrix Exponential (Rodrigues’ formula)
From the axis-angle representation the matrix exponential (rotation matrix) can be calculated:
With:
- : Matrix exponential of
- : Rotation axis (unit vector)
- : Rotation angle
- : Skew-symmetric matrix form of axis-angle representation
The matrix exponential is used to construct a rotation matrix from a rotation axis and an angle of rotaion . The resulting rotation matrix represents the final orientation. The initial orientation is the identity matrix .
Exponentiation integrates the angular velocity for time seconds going from the identity matrix to the final rotation matrix .
Exp:
Matrix exponential is like integration
Rotation of a Vector
has the effect of rotating about the fixed frame axis by angle .
Rotation of a Frame
is the orientation achieved by rotating by about the axis in the fixed frame.
is the orientation achieved by rotating by about the axis in the body frame.
Logarithm
The inverse of the matrix exponential (matrix logarithm) takes a rotation matrix and returns the skew-symmetric representation of the exponential coordinates that achieve it starting from the identity orientation .
It returns the angular velocity and the integration time that achieves the rotation matrix .
The matrix logarithm is an algorithm that inverts Rodrigues’ formula:
- if then and is undefined
- else if then and is one of the following (choose a feasible solution):
- Note: f is a solution so is as well
- otherwise and
Every satisfies one of the three cases of the algorithm. That means that for every there exists a matrix logarithm and thus also a set of exponential coordinates such that .
Log:
Matrix log is like differentiation
Literature
Notes taken from:
Modern Robotics: Mechanics, Planning, and Control by Kevin M. Lynch and Frank C. Park, Cambridge University Press, 2017