Given a reference frame or vector defined as from 3D Numanclature

Rotation Matrix

Able to perform a rotation on a vector such that

So you can chain them!

Euler Angles

Two types of euler representations.

3()-1()-3()

Consists of a rotation about the 3-axis, and then the 1-axis, and then the transformed 3 axis.

is spin angle is nutation angle is precession angle

To convert it to a rotation matrix:

have made the abbreviations ,

1()-2()-3()

Consists of a rotation in the 1-axis, then the 2-axis, and finally the 3-axis

To convert to rotation matrix

All Euler sequences have singularities. That is, a point in which you lose one degree of freedom because two of the axes of rotation are the same. This is known a gimbal lock (or in more math terms you've reached a singularity)

The term gimbal lock comes from the fact that a gimbal measurement device (like an IMU) is rotated in space such that two of the gimbal rings line up. They seemingly get stuck together because of physics and all of the sudden our IMU loses a degree of freedom to measure with.

https://www.youtube.com/watch?v=oj7v3MXJL3M At this point in time of the gimbal, two axes line up and you end up with infinite gimbal states that could give you the rotation of the spinning core. This is bad because our gimbal IMU reading starts to go crazy.

In rotational geometry, this is referred to as reaching a singularity. For 1-2-3, this happens when

When trying to convert into a rotation matrix, we get:

As a result, when we want to recover euler angles from a rotation matrix, we no longer have a unique solution for

All Euler Angles have a singularity.

Infinitesimal Rotations

For small 1-2-3 transformations, we can approximate the rotation matrix as

Euler Parameters

From Euler’s Rotation Theorem , the most general motion of a rigid body with one point fixed is a rotation about an axis through that point.

For our case, we define that axis as a unit vector

The angle of rotation is defined as

A rotation matrix is given by

Euler parameters are defined from this:

These parameters are not independant because

Stacked as gives us quarternions

Quarternions

Follows from [Euler Parameters](#Euler Parameters)

There are special kinds of operators on quarternions called the left-hand and right hand compound operators.

And the inverse operator is defined explicitly for quarternions to be

Some useful identities with these operators…

Quarternions form a non-commutative group under both the operators. With the identity element of the group being

Rotating with a Quarternion

given a point (in homogeneous form)

We can rotate it using the quarterion, , by

If just so follows that we end up with SO(3) by getting

Gibbs Vector

Has a singularity at .

Less common, but worth noting.