Definitionintro
Axis-angle representation
Also called angle-axis representation, rotation vector.
A rotation given by a unit axis and an angle, or by one vector whose direction is the axis and whose length is the angle.
The axis-angle representation gives a rotation of space by a unit vector , the axis, and an angle , the amount of turn about that axis by the right-hand rule. The same data fit in one vector , the rotation vector, whose direction is the axis and whose length is the angle. By Euler's rotation theorem every rotation has this form, and Rodrigues' formula turns it into a matrix. The rotation vector is also called the exponential coordinates of the rotation, because the matrix is the matrix exponential .
Definition
An axis-angle pair is a pair with , , and . It stands for the rotation
where is the skew-symmetric matrix of . The rotation vector is , and it stands for . The zero vector stands for .
The canonical choice. Many pairs give the same : and for every integer . The usual choice is , so that . With this choice:
- has and no defined axis, and .
- with has exactly one canonical , with .
- (a half turn) has the two vectors and , with .
So the canonical rotation vectors fill the closed ball of radius , with each pair of opposite points on its surface standing for one rotation.
From the matrix to the vector. , and for the axis comes from the skew part, . Near and these formulas lose precision, and the logarithm map of SO(3) handles both cases.
To a quaternion. The pair gives the unit quaternion in the scalar-first Hamilton convention, and gives the same rotation.
Examples and non-examples
The (1, 1, 1) rotation. has , so . The skew part gives , and . The quaternion is .
A quarter turn about . has and the quaternion .
A half turn about . has , and both and are canonical. The skew part is zero, so the axis must come from , whose nonzero column is along . The quaternion is , and is the same rotation.
A vector longer than . is a valid rotation vector, but not the canonical one. It is the same rotation as , which the logarithm returns.
Non-example: adding rotation vectors. Let and . The product is the (1, 1, 1) rotation above, with . The product in the other order, , has . The sum is a turn by about , which is neither. Rotation vectors add only when they are parallel. For small vectors, the error of the sum is of second order, by the Baker-Campbell-Hausdorff series.
Non-example: an axis that is not a unit vector. The pair is not an axis-angle pair. Read as a rotation vector, is a half turn and not a quarter turn. Code that takes an axis must normalize it or reject it.
Non-example: Euler angles. Euler angles are three numbers too, but they are three turns about fixed or moving coordinate axes, not one turn. The vector of Euler angles is not a rotation vector.
Related definitions
- Rodrigues' rotation formula: the map from the pair to the matrix.
- Logarithm map of SO(3): the map from the matrix to the canonical rotation vector, with care at and .
- Unit quaternion: the half-angle form of the same data, with no singular point.
- Cayley rotation parameters: the Gibbs vector , the same axis with another function of the angle, which is infinite at a half turn.
- Stuelpnagel theorem: no three numbers describe all rotations without a singular point. For the rotation vector, the canonical choice jumps at , and the map is not locally invertible at .
- Spherical linear interpolation: with the rotation vector of turns at a constant rate about a fixed axis.
- Rotation averaging: the angle of is the geodesic distance between two rotations.
- Error-state Kalman filter: a small rotation vector is the attitude error state, because near the representation has no singular point and .
- Screw motion: the same idea for rigid motions, an axis line, an angle and a slide along the line.
References
- Kevin M. Lynch and Frank C. Park, Modern Robotics, Mechanics, Planning, and Control, Cambridge University Press, 2017, Chapter 3, Section 3.2.3 (exponential coordinate representation of rotation, the matrix exponential and the matrix logarithm of rotations)
- Richard M. Murray, Zexiang Li and S. Shankar Sastry, A Mathematical Introduction to Robotic Manipulation, CRC Press, 1994, Chapter 2, Sections 2.2 and 2.3 (exponential coordinates for rotation and other representations)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag X85DD4 Edit this page History Report an error Markdown