Sie sind auf Seite 1von 6

# Axisangle representation

Axisangle representation
The axis-angle representation of a rotation parameterizes a rotation of a rigid body in a three-dimensional space by two values: a unit vector indicating the direction of an axis of rotation, and an angle describing the magnitude of the rotation about the axis. The rotation occurs in the sense prescribed by the right-hand rule. The rotation axis is sometimes called Euler axis. This representation evolves from Euler's rotation theorem, which implies that any rotation or sequence of rotations of a rigid body in a three-dimensional space is equivalent to a pure rotation about a single fixed axis. The axis-angle representation is equivalent to the more concise rotation vector, or Euler vector. In this case, both the rotation axis and the angle are represented by a vector codirectional with the rotation axis whose magnitude is the rotation angle :

## A visualization of a rotation represented by an Euler axis and angle.

Rodrigues' rotation formula can be used to apply to a vector a rotation represented by an axis and an angle.

Uses
The axis-angle representation is convenient when dealing with rigid body dynamics. It is useful to both characterize rotations, and also for converting between different representations of rigid body motion, such as homogeneous transformations and twists.

Example
Say you are standing on the ground and you pick the direction of gravity to be the negative z direction. Then if you turn to your left, you will travel radians (or 90 degrees) about the z axis. In axis-angle representation, this would be

Rotation vector
The above example can be represented as a rotation vector with a magnitude of pointing in the z direction.

This is the product of the angle and vector. It is more compact and is used for the exponential and log maps involving this representation.

Axisangle representation

## Simultaneous orthogonal rotation angle

Simultaneous Orthogonal Rotations Angle (SORA) is a vector representing angular orientation of a rigid-body relative to some reference frame. The components of this vector are equal to the angles of three simultaneous rotations around the rigid body's intrinsic coordinate system axes, initially aligned with the axes of the reference frame, needed to move the rigid body to its current angular orientation.

The orientation of a rigid-body indicated with three simultaneous rotations around the rigid-body's intrisic axes and their single rotation equivalent.

Every angular orientation can be represented by a single rotation. Therefore, the three simultaneous orthogonal rotations actually represent a single rotation around a certain axis v and for a certain angle . The orientation and magnitude of SORA are equal to this equivalent single rotation axis v and angle SORA is equal to: , respectively. SORA is therefore , , and , the rotation vector. Denoting the angles of the three simultaneous orthogonal rotations with

where v and

are the equivalent single rotation axis and angle respectively, equal to:

An analytic derivation of these single rotation equivalent axis and angle is achieved by decomposing the total rotation to an infinite sequence of infinitesimally small rotations. The most common scenario, where simultaneous rotation around three orthogonal axes can be observed is when performing measurements with a gyroscope. The three simultaneous orthogonal rotations measured with a 3D gyroscope represent a single rotation around a certain axis for a certain angle. When the measured angular velocities or their proportions are constant, this rotation and the resulting angular orientation can be uniquely represented with SORA. When this condition is met, the orientation of the rotation axis does not change and the components of SORA are equal to the angles of three simultaneous rotations measured with a 3D gyroscope. Using gyroscope measurements that provide rotation angle estimation, it is reasonable to combine angular velocities around three orthogonal axes in vector form:

## Angular velocity vector

is orthogonal to the rotation plane, and its magnitude is equal to the angular velocity in

that plane. When the measured angular velocities or their proportions are approximately constant, the orientation of the rotation axis is also constant. It then holds:

Axisangle representation SORA represents a unique angular orientation of a rigid-body relative to some reference frame. Using SORA as a generalized representation of angular orientation, we can avoid the problem of rotation non-commutativity. As SORA indicates a single rotation for a specific angular orientation, the Gimbal problem is here avoided. Because of the mentioned, SORA is much more suitable for representation of angular orientation than widely used Euler angles. SORA is simple and well-suited for use in the real-time calculation of orientation based on angular velocity measurements derived using a gyroscope, as long as the measured angular velocities or their proportions are approximately constant. Under this condition, using SORA, orientation calculation only requires a single step. SORA is appropriate for use in a number of applications that require angular orientation information, including navigation and motion tracking. Finally, SORA helps interpret the meaning of the rotation vector with measurable quantities.

Rotating a vector
Rodrigues' rotation formula (named after Olinde Rodrigues) is an efficient algorithm for rotating a vector in space, given a rotation axis and an angle of rotation. In other words, the Rodrigues formula provides an algorithm to compute the exponential map from so(3) to SO(3) without computing the full matrix exponent (the rotation matrix). If v is a vector in and is a unit vector describing an axis of rotation about which we want to rotate v by an angle (in a right-handed sense), the Rodrigues formula to obtain the rotated vector is: This is more efficient than converting and into a rotation matrix, and using the rotation matrix to compute the rotated vector.

## Relationship to other representations

There are many ways to represent a rotation. It is useful to understand how different representations relate to one another, and how to convert between them.

## Exponential map from so(3) to SO(3)

The exponential map is used as a transformation from axis-angle representation of rotations to rotation matrices.

Essentially, by using a Taylor expansion you can derive a closed form relationship between these two representations. Given a unit vector representing the Euler axis, and an angle, , an equivalent rotation matrix is given by the following:

## . This can be easily derived from

Rodrigues' rotation formula. Due to the existence of the above mentioned exponential map, the unit vector representing the rotation axis, and the angle are sometimes called the exponential coordinates of the rotation matrix R.

Axisangle representation

## Log map from SO(3) to so(3)

To retrieve the axis-angle representation of a rotation matrix calculate the angle of rotation:

## and then use it to find the normalized axis:

Note, also that the Matrix logarithm of the rotation matrix R is:

Except when R has eigenvalues equal to -1 where the log is not unique. However, even in the case where Frobenius norm of the log is:

the

## Note that given rotation matrices A and B:

is the geodesic distance on the 3D manifold of rotation matrices. Note that for small rotations, the above computation of may be numerically imprecise as the derivative of arccos goes to infinity as theta approaches zero. In that case, the off-axis terms will provide better information about matrix representation of the cross product. This formulation also has numerical problems at . There, the off-axis terms don't give information about the rotation axis (which is still defined up to a sign ambiguity). In that case, we must reconsider the above formula: , as for small angles, where is the

At

we have

and so let

so the diagonal terms of B are the squares of the elements of determined from the signs of the off-axis terms of B.

## and the signs (up to sign ambiguity) can be

Unit Quaternions
To transform from axis-angle coordinates to unit quaternions use the following expression:

## It may also be useful to know:

Axisangle representation

References

## Article Sources and Contributors

Axisangle representation Source: http://en.wikipedia.org/w/index.php?oldid=566492973 Contributors: Angus Lepper, BenFrantzDale, Calaka, Fmalan, Hamidbaghi, Hyacinth, Ideal gas equation, Incnis Mrsi, Ionut79, Jheald, Jitse Niesen, JohnBlackburne, Juansempere, Kborer, Lantonov, Lisonator, Magioladitis, Mhss, MuDavid, NOrbeck, Oleg Alexandrov, PAR, Paolo.dL, RDBury, Robertmacl, Samuel Huang, Sargenije, Skysmith, Sunlen, Switchercat, UESgirl18, YuryBrodskiy, 43 anonymous edits

## Image Sources, Licenses and Contributors

Image:Euler AxisAngle.png Source: http://en.wikipedia.org/w/index.php?title=File:Euler_AxisAngle.png License: Public Domain Contributors: DF Malan File:SimultaneousRotationsSingleRotationEquivalent.png Source: http://en.wikipedia.org/w/index.php?title=File:SimultaneousRotationsSingleRotationEquivalent.png License: Creative Commons Attribution-Sharealike 3.0 Contributors: User:Sargenije