Appendix 19.A quaternions, Axis-Angle Vectors, and Rotations

19.A.1 Conversions Between Rotation Representations

Let img be used as an axis-angle representation of rotation where the direction of a specifies the axis of rotation and img specifies the magnitude of rotation (in radians).

Let img, where H is the space of quaternions, be used as a unit quaternion representation of rotation, where qs is real and qx, qy,qz are coefficients of distinct imaginary numbers, and img.

Let img be a 3 × 3 rotation matrix, such that M is orthonormal, and det M = + 1.

To convert from an axis-angle vector a to a unit quaternion q, we define the function img as

(19.161) equation

To convert from a unit quaternion q to an axis-angle vector a we define the function as


To convert from a unit quaternion q to a rotation matrix

Get Bayesian Estimation and Tracking: A Practical Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.