Passive rotation convention (we rotate the frame, coordinates of a fixed vector transform). A frame rotation by +α transforms coordinates by the transpose of the vector-rotation — this puts the −sin in the lower-left. So:
Vehicle at ϕ=0,θ=0,ψ=90∘. Where does the nose (xb) point in nav coordinates?
Why start here? With only yaw, Rnb=Rz(90∘), the simplest case to build confidence.
Rz(90∘)=0−10100001
The nose direction in body frame is [1,0,0]T. To express it in nav, use Rbn=(Rnb)T: nosen=(Rnb)T[1,0,0]T=[0,1,0]T = East.
Why this step?Rnb maps nav→body; the inverse (transpose, since rotations are orthogonal) maps body→nav. Nose swung from North to East — exactly a +90∘ yaw. ✓
Why this step? The third row of Rnb tells us where the body "Down" axis points in nav frame; its downward tilt (z-comp 0.814<1) reflects the vehicle no longer being level. ✓ (Check: magnitude 0.2962+0.52+0.8142=1.00, unit vector as required.)
In 3-2-1, which axis do you rotate about first? → the 3rd axis (z), i.e. yaw.
Why is Rnb=RxRyRz and not the reverse product? → intrinsic 3-2-1 (about moved axes) equals extrinsic RxRyRz on the original vector.
How do you recover pitch from R? → θ=−arcsin(R13).
When does gimbal lock occur and why? → θ=±90∘; roll & yaw axes coincide, losing a DOF.
Recall Feynman: explain to a 12-year-old
Imagine your toy airplane. To point it any way you want, do three spins in order: first spin it flat like a merry-go-round (that's yaw — pointing the nose left/right). Then tip the nose up or down (pitch). Finally roll it sideways like it's turning (roll). Those three spin-amounts are the Euler angles. There's one tricky spot: if you point the nose straight up, the "flat spin" and the "roll spin" start doing the same thing, so the plane gets confused about which is which — that's gimbal lock.
Socho tumhare paas ek toy airplane hai aur tumhe batana hai ki wo space mein kis taraf point kar raha hai. Ek hi baar mein poori orientation likhna mushkil hai, isliye hum use teen simple spins mein tod dete hain — yahi Euler angles hain. Aerospace mein hum 3-2-1 convention use karte hain: pehle yaw ψ (z-axis ke around, nose left-right ghumana), phir pitch θ (naye y-axis ke around, nose upar-neeche), aur last mein roll φ (naye x-axis ke around, wings ko bank karna). Naam "3-2-1" isliye kyunki axes ka order 3(z) → 2(y) → 1(x) hai.
Har ek elementary rotation ek simple matrix hai jisme sirf cos aur sin aate hain. In teeno ko multiply karke poora rotation matrix banta hai: Rnb=Rx(ϕ)Ry(θ)Rz(ψ). Yaad rakhna — order important hai, rotations commute nahi karte! Agar sequence ya sign galat rakha to answer bilkul badal jayega. Ye matrix nav frame (North-East-Down) ke vector ko body frame (nose-wing-belly) mein convert karta hai.
Ek important trap hai gimbal lock: jab pitch θ=±90∘ ho jaye (nose bilkul upar/neeche), tab roll aur yaw ek hi kaam karne lagte hain, aur ek degree of freedom kho jaati hai — angles ambiguous ho jaate hain. Isiliye real GNC systems mein calculation ke liye quaternions ya DCM use karte hain, aur Euler angles sirf display/samajhne ke liye. Bas yaad rakho: "Ψwing, θilt, φlip" — yeh mnemonic tumhe order kabhi bhoolne nahi dega!