3.5.2 · D1Guidance, Navigation & Control (GNC)

Foundations — Euler angles — roll φ, pitch θ, yaw ψ; rotation sequence (3-2-1 convention)

3,061 words14 min readBack to topic

This page assumes nothing. If the parent note (the topic note) used a symbol, we build it here from a picture first.


0. What a "vector" and a "frame" even are

Figure — Euler angles — roll φ, pitch θ, yaw ψ; rotation sequence (3-2-1 convention)

The parent uses two frames:

The curly braces and are just labels — read "" as "the nav frame" and "" as "the body frame."


1. Angles, the right-hand rule, and why we measure "turning" with them

The parent's three named angles are all just "signed amount of turn about one axis":

Symbol Name Picture (what the nose does, positive sense) Axis it turns about
(psi) yaw swings toward the right (East) (down)
(theta) pitch nose lifts up (right wing)
(phi) roll right wing dips (nose)

are Greek letters — treat them purely as names for these three signed turn-amounts. Nothing more mysterious than calling them "the yaw number, the pitch number, the roll number."


2. Sine and cosine — the two numbers that a turn produces

Figure — Euler angles — roll φ, pitch θ, yaw ψ; rotation sequence (3-2-1 convention)

3. tan and arcsin — turning ratios back into angles


4. The rotation matrix — a machine that re-labels an arrow

Figure — Euler angles — roll φ, pitch θ, yaw ψ; rotation sequence (3-2-1 convention)

5. Composing rotations — why order matters

Figure — Euler angles — roll φ, pitch θ, yaw ψ; rotation sequence (3-2-1 convention)

The figure shows the same two turns in the two orders ending at different attitudes — proof that order is not decoration.


6. atan2 — the sign-aware angle finder


7. One thing pointed forward: angular rates & gimbal lock


Prerequisite map

Vector = arrow with length and direction

Frame = three perpendicular axes

Nav frame n and Body frame b

Subscript labels frame of expression

Angle = amount of turn

Right-hand rule sets positive sense

Yaw psi, Pitch theta, Roll phi

Cosine and Sine = shadows of a turn

tan and arcsin, principal range

Rotation matrix R_b_n

Transpose, orthogonality, det = +1

Composing rotations, order matters

atan2 = sign-aware angle finder

Euler angles 3-2-1 topic


Equipment checklist

Hide the right side and test yourself before opening the parent note.

What is a vector, in plain words?
An arrow with a length and a direction; represented by three coordinates once you pick a frame.
What is a frame?
Three mutually perpendicular axes () meeting at an origin, used as rulers to give a vector its coordinates.
What do and mean?
The fixed navigation (ground) frame and the moving body (vehicle) frame.
What does the subscript in vs tell you?
Which frame's axes the SAME arrow's coordinates are measured against — nav vs body.
What defines a POSITIVE rotation?
The right-hand rule: thumb along the axis, curling fingers give the positive turn direction (CCW looking back down the axis).
On the unit circle, what are and ?
The shadows of a turned unit arrow on the -axis () and the -axis (); the tip sits at .
What are and ?
and .
What does measure?
The slope (rise over run) of the arrow, equal to .
What question does answer, and over what range?
"Which angle has sine equal to ?"; it returns a principal value in .
What is the 3×3 form of for 3-2-1?
, giving the matrix whose top row is .
What does do to a vector?
Takes its nav-frame coordinates and returns its body-frame coordinates .
Which TWO conditions make a matrix a proper rotation?
(orthogonal) AND (no reflection).
Why is the reverse rotation?
Rotation matrices are orthogonal, so their transpose equals their inverse.
In the product , which rotation happens first?
The rightmost one, (products read right-to-left in time).
Why can't we just use plain to recover and ?
repeats every , so plain arctan loses the quadrant; atan2 uses the signs of both inputs to get the full-circle answer.
How do you turn an atan2 result into a heading?
Add to any negative value (take it mod ).
What are ?
Body angular rates — the instantaneous roll, pitch and yaw turn-speeds measured in the body frame.