All courses › Robotics › Euler Angles and Quaternions
Euler Angles and Quaternions
Euler angles describe an orientation with three successive rotations, but can suffer from gimbal lock: two rotation axes line up and one degree of freedom is lost. Quaternions use four numbers instead of three, avoid this singularity entirely, and give smoother interpolation between two orientations.
limitation of Euler angles
advantage of quaternions
Symbols
| quaternion (4 numbers) |
Example
A robot arm's wrist approaches an Euler singularity:
A quaternion avoids the problem entirely.
Gimbal lock is a real singularity in Euler angles, not just a theoretical curiosity.
Practise rotations and transformations for free →