# Attitude Representation - Euler Angles

## Euler Angles Representation

A vector of three angles that represent the attitude of the coordinate frame $ i $ with respect to the coordinate frame $ j $ is called Euler angles. Euler angles are the most commonly used attitude representation because it’s easy to use and understand. One of Euler angles’ obvious advantages is their intuitive representation.

where $\phi$, $\theta$, and $\psi$ are the rotation angles about the $x$, $y$, and $z$ axes, respectively. The Euler angles are defined as follows:

**Roll**: Rotation around the x-axis with angle $ \phi $

Three rotation angles $\phi$, $\theta$, and $\psi$ are about the sequential displaced body-fixed axes, and twelve different sequences are possible that can be used for the same rotation. The location of each sequential rotation depends on the preceding rotation, and there are divided into two main categories:

**Symmetric sequences**: The first and third rotations are performed around the same axis, second rotation is performed around one of the two others: $$ R_{i,j,i}(\alpha, \beta, \gamma) = R_i(\alpha)R_j(\beta)R_i(\gamma) $$
**Asymmetric sequences**: All rotations performed around three different axes: $$ R_{i,j,k}(\alpha, \beta, \gamma) = R_i(\alpha)R_j(\beta)R_k(\gamma) $$

These angles are not unique, and the mirror angles will result in the same rotations.

- For
: $ R(\alpha, \beta, \gamma) = R(\alpha + \pi, -\beta,\gamma - \pi) $*Symmetric sequences* - For
: $ R(\alpha, \beta, \gamma) = R(\alpha + \pi, \pi -\beta,\gamma - \pi) $*Asymmetric sequences*

The main disadvantages of Euler angles are:

- Singularity
- Non-uniqueness
- Non-invariance
- Less accuracy for integration of attitude incremental changes over time

At $ \theta = \left(\pm\frac{\pi}{2}\right) $ the singularities will occur and usually known as mathematical gimble lock where to axes are parallel to each other.

## References:

[1] Markley, F. Landis, and John L. Crassidis. Fundamentals of spacecraft attitude determination and control. Vol. 1286. New York, NY, USA:: Springer New York, 2014.

[2] Junkins, John L., and Hanspeter Schaub. Analytical mechanics of space systems. American Institute of Aeronautics and Astronautics, 2009.

[3] De Ruiter, Anton H., Christopher Damaren, and James R. Forbes. Spacecraft dynamics and control: an introduction. John Wiley & Sons, 2012.

[4] Wertz, James R., ed. Spacecraft attitude determination and control. Vol. 73. Springer Science & Business Media, 2012.

[5] Vepa, Ranjan. Dynamics and Control of Autonomous Space Vehicles and Robotics. Cambridge University Press, 2019.

[6] Shuster, Malcolm D. “A survey of attitude representations.” Navigation 8.9 (1993): 439-517.

[7] Markley, F. Landis. “Attitude error representations for Kalman filtering.” Journal of guidance, control, and dynamics 26.2 (2003): 311-317.

[8] Markley, F. Landis, and Frank H. Bauer. Attitude representations for Kalman filtering. No. AAS-01-309. 2001.