Define according to

where is the rotational axis (unit vector) and is the angle.

Properties:

  • , where the ‘s are the diagonal entries of the rotation matrix corresponding to

Note that we can also write

for .

Note that we can write

ROS uses a unit quaternion which is denoted by a 4-tuple .

Example