3.5.6 · D3 · HinglishGuidance, Navigation & Control (GNC)

Worked examplesQuaternions — definition q = (q₀, q₁, q₂, q₃), unit quaternion constraint

2,383 words11 min read↑ Read in English

3.5.6 · D3 · Physics › Guidance, Navigation & Control (GNC) › Quaternions — definition q = (q₀, q₁, q₂, q₃), unit quaterni

Shuru karne se pehle, ek reminder un tools ka jo hum use karte hain (sab parent mein build kiye gaye hain — hum koi bhi aisa symbol use nahi karte jo humne earn nahi kiya):

Recall Woh teen tools jo hum baar baar use karte hain
  • Encoding: unit axis ke baare mein angle .
  • Product: .
  • Vector ka Sandwich rotation: ko ek pure quaternion ki tarah treat karo, phir , aur unit ke liye, .

Scenario matrix

Is topic mein jo bhi situation aa sakti hai woh in cells mein se kisi ek mein aati hai. Neeche har worked example us cell ke saath tagged hai jise woh khatam karta hai.

Cell Scenario class Kahan trip ho sakte ho
A Zero / degenerate: axis undefined hai, phir bhi identity deni hai
B Positive angle, clean axis (Q-I style) half-angle, norm check
C Negative angle / opposite spin kaun sa sign flip hota hai, vs
D Limiting value: , scalar part vanish ho jaata hai
E Non-commutativity: vs term
F Double cover: vs same rotation, alag tuple
G Actually ek vector rotate karna (sandwich) kya arrow sach mein move karta hai?
H Drift & renormalize (numerical) par project back karo
I Real-world word problem (spacecraft) words ko axis + angle mein translate karo
J Exam twist: diye gaye se recover karna cos/sin ko invert karna, arccos, unit axis

Cell A — degenerate "no rotation" case


Cell B — clean positive rotation (+ figure)

Figure — Quaternions — definition q = (q₀, q₁, q₂, q₃), unit quaternion constraint

Figure dekho: teal axis hai, aur quaternion angle (actual ka half, plum mein) ko scalar slot mein park karta hai. Poora physical turn (burnt orange arc) woh hai jo sandwich actually ek vector par produce karega — woh hum Cell G mein karte hain.


Cell C — negative angle / the inverse


Cell D — limiting case


Cell E — non-commutativity, asli baat


Cell F — double cover, aur


Cell G — actually ek vector rotate karna (sandwich) + figure

Figure — Quaternions — definition q = (q₀, q₁, q₂, q₃), unit quaternion constraint

Figure mein input arrow (burnt orange, ke along) output arrow (teal, ke along) tak swing karta hua dikhta hai, plum mein arc ke saath. Sandwich ne wahi kiya jo geometry ne demand kiya tha.


Cell H — drift aur renormalize


Cell I — real-world word problem


Cell J — exam twist: se aur recover karna


Active Recall

Recall Cell D: ek

rotation ke scalar part mein kya khaas hota hai? , toh — yeh ek pure quaternion hai.

Recall Cell J: quaternion se

wapas kaise lete hain? , phir ( division-by-zero dekho).

Recall Cell E: kaun sa term

banata hai? Cross product , jo swap par sign flip karta hai.

Related build-outs: Axis-Angle Representation, Quaternion Kinematics — dq/dt, Rotation Matrices SO(3), Euler Angles and Gimbal Lock, Spacecraft Attitude Determination, Complex Numbers as 2D Rotations.

Flashcards

Recover angle from a unit quaternion.
.
Recover the axis from a unit quaternion.
(undefined when ).
Quaternion for about .
.
Why does mean a half-turn?
.