Fly a drone through three gates in 5 s. Straight lines change velocity in zero time at every gate. Minimum acceleration tilts the drone 8.0° in zero time at take-off, and minimum jerk jumps its body rate to 40.5°/s. Minimum snap is the lowest order where neither jumps, so its torque stays finite: 0.035 N·m at most.
Pick what to minimise, set the course time, and press Play. Watch the teal drone tilt and the body-rate trace below it. Red marks a jump the rotors cannot make. Then we build, piece by piece, the smoothness cost, why snap, polynomials and the matrix Q, constraints, the QP and its closed form, time allocation and corridors.
You need Lecture 3 (thrust, tilt and flatness), derivatives and integrals, a matrix times a vector and a little Python. We build the rest from zero.
Lecture 4 of 14 in our follow-along of MIT 16.485, Visual Navigation for Autonomous Vehicles (VNAV, taught by Luca Carlone). Every idea is re-taught here in our own words and devices. Previous: Lecture 3, control. Next: Lecture 5, image formation.
Illustrative drone, side view: 1 kg, Jy = 0.01 kg·m², arms 0.25 m, rotors 0 to 10 N each. It starts and ends in a hover. Straight lines fly at a steady speed; the smooth costs share the time 31%, 19%, 19%, 31%, the split that suits minimum snap (Chapter 7). Thrust, tilt, body rate and torque come from the trajectory by flatness (Chapter 2); we simulate nothing.
Chapter 0
Shrink the time a drone has to turn at a gate and watch the thrust it needs explode
A planner such as RRT* (AA 274A, Lecture 4) hands you a list of waypoints: points the drone must pass, here the centres of three gates. Lecture 3 gave us a controller that tracks a reference. The missing piece is the reference itself: a trajectory, a position for every instant of time.
The obvious answer is straight lines at a steady speed. The hero's course has four legs of 1.70 m; flown in 5 s, the speed is 1.36 m/s. At gate 2, the low gate, the drone stops diving and starts climbing: its direction turns by 56.1°. The speed stays the same, but the velocity vector changes.
Left: the teal velocity before and after gate 2, and the warm change between them, straight up. Right: the thrust needed to make that change in the time you allow. A straight-line plan allows zero time.
Exact maths for a constant push spread over the turn time; 1 kg, two rotors of 10 N in this side view.
Work the number. The change in velocity is 2 × 1.36 × sin(28.07°) = 1.28 m/s, pointing up. Made in 0.1 s, that is an acceleration of 12.8 m/s². The thrust must supply it and hold up the 9.81 N weight: 22.6 N, past the 20 N the rotors have. Made in zero time, it is infinite.
So a trajectory must be smooth, and we need to say what "smooth" means in numbers. That number becomes a cost, the cost becomes a quadratic program, and the solution flies.
Symptom: the drone overshoots every gate and swings wide when it tracks a waypoint list.
Measure: the reference velocity at each waypoint. A jump between the two sides means the reference asks for infinite acceleration.
Fix: never track the waypoints directly. Fit a smooth trajectory through them first.
Chapter 1
Choose which derivative to keep small and watch the best move change shape
Position has a ladder of derivatives. Velocity is its rate, acceleration the rate of velocity, jerk the rate of acceleration, and snap the rate of jerk. Each rung says how fast the one below it changes.
To turn "smooth" into one number, pick a rung r and add up its square over the whole flight. Call the position at time t x(t), its r-th derivative x(r)(t), and the flight time T.
J-r equals the integral from zero to T of x-r-th-derivative of t, squared, d-t.
Take derivative r of the position x at every instant. Square it, so a big spike costs far more than a small wobble. Add the squares over the flight time T. That total is J-r.
Move 1 m in T = 1 s from rest to rest. The best minimum-jerk move is x = 10t³ − 15t⁴ + 6t⁵. Its jerk is 60 − 360t + 360t², and J3 = 720 m²/s⁵. No other move with these ends scores lower.
Why a polynomial? Calculus of variations (the Euler–Lagrange equation) says the best curve obeys x(2r) = 0 between waypoints. A function whose 2r-th derivative is zero is a polynomial of degree 2r − 1: degree 3 for r = 2, 5 for jerk, 7 for snap.
The drone moves 1 m in 1 s and must start and end at rest (as far as each rung allows). Top: position. Bottom: velocity, acceleration and jerk. Red marks the first rung that jumps at the ends.
Exact optimal polynomials: x, 3t² − 2t³, 10t³ − 15t⁴ + 6t⁵ and 35t⁴ − 84t⁵ + 70t⁶ − 20t⁷. Each fixes rungs 0 to r − 1 at both ends.
Each step up the ladder fixes one more rung at the ends, so one more rung starts from zero. The price is a higher peak speed: 1.00, 1.50, 1.875 and 2.19 m/s for r = 1 to 4. A smoother start must make up time in the middle.
Symptom: the trajectory is smooth in position but the drone lurches at take-off.
Measure: evaluate every derivative at t = 0. The first one that is not zero is the rung that jumps from the hover.
Fix: raise r, or fix more derivatives at the ends.
Chapter 2
Fly one move and watch jerk drive the body rate and snap drive the torque
Lecture 3 showed that position and yaw are flat outputs: every state and input follows from them and their derivatives. In our side view, the acceleration fixes the thrust f and the tilt θ (theta): f = m‖(ax, az + g)‖ and θ = atan2(ax, az + g).
Call the forward and up accelerations ax and az, their jerks jx and jz, and gravity g. The rate of tilt, the body rate, is the derivative of that atan2.
Theta-dot equals j-x times a-z-plus-g, minus a-x times j-z, all over a-x squared plus a-z-plus-g squared.
The tilt points along the vector (a-x, a-z plus g). Its rate is the part of the jerk that turns this vector, divided by the vector's squared length. So the body rate needs the jerk. Differentiate once more and the angular acceleration needs the snap; the torque is Jy times it.
ax = 2 m/s², az = 0, jx = 1 m/s³, jz = 0. Then θ̇ = 1 × 9.81 / (4 + 96.24) = 0.098 rad/s, or 5.6°/s, as in Lecture 3. Add a snap of 3 m/s⁴ and the angular acceleration is 0.290 rad/s²: 0.0029 N·m of torque for Jy = 0.01.
So the chain is: acceleration sets tilt and thrust, jerk sets body rate, snap sets torque. If the jerk jumps, the body rate jumps, and a jump in rate needs an infinite torque. If the snap jumps, the torque jumps, but stays finite. Mellinger and Kumar (ICRA 2011) chose r = 4 for this reason, and r = 2 for yaw, whose torque appears in yaw's second derivative.
The drone flies 2 m forward from a hover to a hover. Three traces: tilt, body rate, torque. Shorten the time and compare minimum jerk with minimum snap at t = 0.
Exact flatness on the optimal polynomials; 1 kg, Jy = 0.01 kg·m². A hover has zero tilt, rate and torque before t = 0.
Minimum jerk over 2 m in 2 s starts with a jerk of 15 m/s³. So the body rate jumps from 0 to 87.6°/s at t = 0. Minimum snap starts with zero jerk and a snap of 105 m/s⁴: the rate starts at 0, and the torque steps to a finite 0.107 N·m.
Symptom: the attitude loop saturates for an instant at every take-off or waypoint, and the drone wobbles there.
Measure: the reference body rate on both sides of each knot. A jump means an infinite torque request.
Fix: minimise snap and keep jerk continuous, including at the start and end.
Chapter 3
Change the degree, the rung and the duration and watch the cost matrix fill
Give each leg between two waypoints its own polynomial. One polynomial for the whole course would wiggle between far waypoints. On a leg of duration T, write the position as N + 1 numbers, the coefficients p0 to pN:
P(t) = p0 + p1t + p2t2 + … + pNtN, 0 ≤ t ≤ T
The r-th derivative is linear in the coefficients, so its square is quadratic in them. The cost of a leg is therefore p⊤Qp, for a fixed matrix Q. Call its entry in row l and column k Qlk; it pairs coefficient pl with pk.
Q-l-k equals l factorial over l-minus-r factorial, times k factorial over k-minus-r factorial, times T to the e, over e, where e is l plus k minus 2r plus 1; it is zero if l or k is below r.
Differentiate t to the l and t to the k r times each. Multiply the two results and integrate from 0 to T. The number in front is Q-l-k. Coefficients below degree r vanish after r derivatives, so their rows and columns are zero.
N = 3, r = 2 (minimum acceleration), T = 1. Then x'' = 2p2 + 6p3t, and ∫(x'')²dt = 4p2² + 12p2p3 + 12p3². So Q22 = 4, Q23 = Q32 = 6 and Q33 = 12. For minimum snap with N = 7, Q77 = 840²/7 = 100,800.
Each cell is one Qlk, shaded on a log scale. Tap a cell to read it. Watch the first r rows stay empty, and the far corner grow fast with T.
Exact entries from the formula above; we checked p⊤Qp against numerical integration.
A course of M legs stacks the coefficient vectors into one long vector p. Its cost matrix is block-diagonal: one Q block per leg, zeros between legs. The cost alone couples nothing. The constraints of the next chapter tie the legs together.
Symptom: the solver returns garbage or warns that the matrix is singular for long legs or high degree.
Measure: the ratio of the largest to the smallest Q entry. With N = 9, r = 4 and T = 3 s it is 8.5 × 107.
Fix: scale time inside each leg to run from 0 to 1, or use the derivative form of Chapter 6.
Chapter 4
Join two legs and choose which derivatives must match at the join
The cost says what we like. The constraints say what we must do: pass each waypoint, start and end in a hover, and join the legs without a jump. Each of these says "a derivative at a time equals a number". Call the derivative order q.
P-q-th-derivative of t equals the sum over i from q to N of i factorial over i-minus-q factorial, times t to the i-minus-q, times p-i.
Fix a time t and an order q. The numbers in front of each p-i form one row of a matrix A. That row times p is the derivative. Set it equal to the wanted value b, or set the difference of two legs' rows to zero for a join. Stack every row: A p = b.
Minimum jerk, N = 5, one leg of T = 1 s from rest at 0 to rest at 1. The rows at t = 1 are (1, 1, 1, 1, 1, 1), (0, 1, 2, 3, 4, 5) and (0, 0, 2, 6, 12, 20). With the three rows at t = 0, solving gives p = (0, 0, 0, 10, −15, 6): the curve of Chapter 1.
Count for minimum snap: each leg has 8 coefficients. Each leg's two ends sit on their waypoints, and the course starts and ends with zero velocity, acceleration and jerk. At each inner waypoint, velocity, acceleration and jerk must match across the join. Two legs give 16 unknowns and 13 constraints. Three are left free, and the cost chooses them.
Waypoints 0, 1 and 3 m at t = 0, 1 and 2 s. Three traces: velocity, acceleration, jerk. Choose how many derivatives must match at the join. Red marks a jump.
Exact minimum-snap solutions (degree 7) for each set of constraints, solved here as in Chapter 5.
Look at the last button. We forced only velocity, acceleration and jerk to match, yet snap and the next two derivatives match too. Only the seventh derivative jumps, by 16,128 m/s⁷. The optimum is smoother than we asked: the cost chooses free derivatives that make orders r to 2r − 2 continuous.
Symptom: the planned trajectory has a kink in velocity at a waypoint.
Measure: evaluate each derivative from both legs at the join. A gap means a continuity row is missing.
Fix: add the rows for orders 1 to r − 1 at every inner waypoint.
Chapter 5
Add legs and watch one linear system grow and solve the whole course
We now have a quadratic program (QP): minimise p⊤Qp subject to Ap = b. The cost is a bowl, and the constraints are flat planes, so there is one best point and no false minimum. With only equality constraints we can solve it in one step.
At the best point, the slope of the cost, 2Qp, must point straight out of the constraint planes. So 2Qp + A⊤λ = 0 for some vector λ (lambda), one Lagrange multiplier per constraint. Stack that with the constraints themselves:
The block matrix two-Q, A-transpose, A, zero, times the stacked vector p and lambda, equals the stacked vector zero and b.
The top rows say: the cost cannot drop along any direction the constraints allow. The bottom rows say: the constraints hold. Solve this one linear system and read p from the top of the answer.
Two legs through 0, 1 and 3 m at t = 0, 1 and 2 s: 16 unknowns plus 13 constraints, a 29 by 29 system. The answer has cost J = 15,151.5, and at the middle waypoint the velocity is 3.281 m/s, the acceleration 4.200 m/s² and the jerk −19.69 m/s³.
Top: the solved course through the yellow waypoints. Bottom: the KKT matrix. Purple blocks are Q, warm rows are constraints, and blank cells are zero. Add legs and watch it grow.
Exact solve by Gaussian elimination in your browser, 1 s per leg. We cross-checked the same problems with NumPy and SciPy's SLSQP solver.
For M legs there are 8M unknowns and 5M + 3 constraints, so 3(M − 1) numbers stay free: velocity, acceleration and jerk at each inner waypoint. The system has 13M + 3 rows. Most of it is zero, so sparse solvers handle hundreds of legs.
Symptom: the KKT solve fails or returns a curve that misses a waypoint by centimetres.
Measure: the condition number of the KKT matrix. For 10 legs of 1 to 3 s in our test it is 1.4 × 1012.
Fix: rescale time per leg, or solve for derivatives instead (Chapter 6).
Chapter 6
Slide a waypoint velocity along the cost bowl and land on its bottom in one formula
Richter, Bry and Roy (ISRR 2013) changed the unknowns. A septic leg is fixed by 8 numbers at its ends: position, velocity, acceleration and jerk at each end. So instead of coefficients, use those endpoint derivatives. Each inner waypoint gets one set, shared by both legs, so continuity holds by construction.
Sort the derivatives into the ones we know, dF (fixed: positions, and the hover at both ends), and the ones the optimiser picks, dP (free). The cost becomes a quadratic in d with a matrix R = C E−⊤ Q E−1 C⊤. Here E maps each leg's coefficients to its endpoint derivatives, and C sorts them. Split R into blocks RFF, RFP and RPP. Set the slope in dP to zero:
D-P-star equals minus R-P-P-inverse, times R-F-P-transpose, times d-F.
The cost is a bowl in the free derivatives d-P. Push the known values d-F through R-F-P-transpose to get the bowl's tilt. Undo the bowl's curvature with R-P-P-inverse and flip the sign. That is the bottom, d-P-star. Then each leg's coefficients follow from its 8 endpoint derivatives.
Same two legs as Chapter 5. RPP has rows (51,840, 0, 960), (0, 2,400, 0) and (960, 0, 32), and RFP⊤dF = (−151,200, −10,080, −2,520). Then dP* = (3.281, 4.200, −19.69): the same velocity, acceleration and jerk as the KKT solve, at the same cost 15,151.5.
Force the velocity at the middle waypoint and let the optimiser choose the rest. Left: the course. Right: its cost against that velocity. The purple mark is the closed form's answer.
Exact: each point of the bowl is a KKT solve with the velocity pinned; the mark is the closed form, computed separately in your browser.
The bowl is exact: J = 15,151.5 + 23,040 (v − 3.281)². At v = 1 m/s the course costs 135,054, almost nine times the bottom. Why bother with a second method? Conditioning. In our tests the derivative form's RPP has a condition number near 6 × 103 for 10 legs, where the coefficient KKT matrix has 1012. Richter et al. report solving more than 50 legs in one step this way.
Symptom: a long course of many short legs comes back with jumps at the joins.
Measure: the continuity residual at each join after the coefficient solve.
Fix: switch to the derivative form, where continuity is exact because joined legs share one variable.
Chapter 7
Split the time between two legs, then put a price on time and let the total float
Everything so far fixed each leg's duration. Durations change the answer more than anything else. Squeeze a move into half the time and every derivative grows. Velocity doubles, and snap grows 24 = 16 times. The snap cost also integrates over half the time, so it grows 27 = 128 times.
Two published recipes choose the durations. Mellinger and Kumar fix the total time and move time between legs by gradient descent on the snap cost. Richter, Bry and Roy let the total float and add a price on time. Call leg i's duration Ti, its best snap cost for that duration Ji(Ti), and the price per second kT.
J-T equals the sum over i of J-i of T-i, plus k-T times the sum over i of T-i.
For any set of durations T-i, solve the snap QP and note its cost. Add k-T for every second of flight. Change the durations to lower the total. More time lowers the snap cost but raises the time cost, so there is a best total.
One leg, 1 m, hover to hover: the snap cost is 100,800/T⁷. With kT = 1,000, the slope is zero where 7 × 100,800/T⁸ = 1,000, so T = 2.27 s. There the time cost, 2,270, is seven times the snap cost, 324.
Two legs, 0 to 1 m and 1 to 4 m, hover to hover. Mode 1 fixes the total at 4 s; slide the share of leg 1. Mode 2 prices time; slide the price and the total floats.
Exact snap costs from the QP. The best split comes from a fine search; the floating total from the scaling law J(αT) = J(T)/α⁷.
Two results stand out. Splitting by distance (25%, as a straight line at uniform speed would) costs 1,071, but the best split, 37.9%, costs 98.4. And the best split stays 37.9% at every price kT: only the total changes. Richter et al. report the same, that the best ratios of leg times do not depend on kT. The reason is scaling: stretching all times by α divides the snap cost by α7.
Symptom: the optimiser asks for more thrust than the rotors have, or a tilt past 60°.
Measure: the peak thrust and torque from flatness, after each time update.
Fix: start with generous times and shorten them only while every input stays in range, as Richter et al. do.
Chapter 8
Narrow a safe corridor under a ceiling and watch the curve give up smoothness to stay inside
The planner's straight lines are collision free. The smooth curve through the same waypoints is not: it swings wide between them. Here the drone climbs to a slot under a ceiling, and the free minimum-snap curve bulges 0.32 m above the slot line.
Mellinger and Kumar add corridor constraints. Call leg i's straight segment the safe line, the curve's distance from it at time t d(t), and the allowed half-width δ (delta). They check nc evenly spaced times inside the leg.
The absolute value of d of t-j is at most delta, where t-j equals t-i plus j over one-plus-n-c times T-i, for j from one to n-c.
Pick n-c times inside the leg. At each, the curve's offset from the safe line is a row times p, so it is linear in the coefficients. Require it to lie between minus delta and plus delta: two linear inequalities per check. The problem stays a QP, now with inequalities.
In the device below, δ = 0.05 m and nc = 8: the snap cost of the height rises from 110.9 to 516.1, about 4.7 times. The checks hold, but between two checks the curve reaches 0.0504 m, a hair outside δ.
The pink ceiling sits above the slot. Yellow dots are waypoints; the dotted lines are the corridor; small ticks are the check times. Turn on the corridor, narrow it, or add a midpoint waypoint instead.
Illustrative scene; exact QP solved in your browser (closed form of Chapter 6 plus a dual coordinate-ascent loop for the inequalities), cross-checked with SciPy. The slot is level, so the corridor limits only the height.
Richter, Bry and Roy fix collisions another way. If a leg hits an obstacle, they add a waypoint halfway along its straight line, which the planner already checked, and solve again. Turn on the midpoint here: the bulge drops from 0.32 m to 0.025 m with no inequalities at all. Their indoor tests needed fewer extra waypoints than half the originals.
Symptom: the checked trajectory still clips a corner of an obstacle.
Measure: sample the curve densely, not only at the nc checks, and find the worst offset.
Fix: add checks, shrink δ by the worst overshoot, or split the leg with a midpoint.
Chapter 9
Place gates, balance the leg times and watch flatness turn the curve into rotor forces
Here is the whole pipeline. Waypoints become two QPs, one for forward position and one for height. Leg times start in proportion to distance. Flatness turns the curve into thrust and tilt (Lecture 3), then body rate and torque (Chapter 2). The mixer of Lecture 3 splits thrust and torque between the front and back rotors.
Tap to add a gate, drag a gate to move it. Press Balance times to run the fixed-total recipe of Chapter 7. Then shorten the course until the rotor trace turns red.
Tap the scene to add a yellow gate (up to 7). Drag one to move it. Below: the front and back rotor forces over the flight, with the 0 and 10 N limits.
Illustrative drone of the hero: 1 kg, Jy = 0.01 kg·m², arms 0.25 m, rotors 0 to 10 N. Exact QPs and flatness in your browser. Balance times uses numerical gradient descent on the leg shares with the total fixed.
Try three things. With leg times split by distance, the drone nearly stops at the middle gate. Press Balance times: at 6 s the legs become 1.87, 1.13, 1.13 and 1.87 s, the snap cost falls from 1,413 to 908, and the stall is gone. Slide the course time: the shares stay put, because the best ratios do not depend on the total. Then shorten it to 3 s: the rotors leave their range, and no tracker can fix that.
Chapter 10
Keep the formulas, the conventions and the code side by side
A waypoint list cannot be flown: corners need infinite acceleration. We pick a rung r and minimise the integral of its square; the answer is a polynomial of degree 2r − 1 on each leg. Quadrotors take r = 4 because snap sets torque. The cost is p⊤Qp, waypoints and joins are rows of Ap = b, and one KKT solve gives the course. Richter, Bry and Roy solve for the free derivatives instead, which is better conditioned. Leg times decide whether the rotors can follow, and corridors or midpoints keep the curve safe.
| Piece | Formula | Number on this page | Watch out |
|---|---|---|---|
| Smoothness | Jr = ∫(x(r))²dt, degree 2r − 1 | 1 m in 1 s: J3 = 720, J4 = 100,800 | higher r peaks faster |
| Why snap | rate from jerk, torque from snap | min jerk, 2 m in 2 s: rate jumps 87.6°/s | yaw uses r = 2 |
| Cost matrix | Qlk = l!/(l−r)! k!/(k−r)! Te/e | N 3, r 2, T 1: (4, 6; 6, 12) | entries span 108 |
| Constraints | rows of P(q)(t), A p = b | 2 legs: 16 unknowns, 13 rows | optimum is C2r−2 by itself |
| QP | [2Q A⊤; A 0](p, λ) = (0, b) | J = 15,151.5 | condition near 1012 |
| Closed form | dP* = −RPP−1RFP⊤dF | (3.281, 4.200, −19.69) | invert small A blocks only |
| Time | JT = ΣJi + kTΣTi | best split 37.9% at any kT | snap cost scales 1/T⁷ |
| Corridor | |d(tj)| ≤ δ at nc checks | δ 0.05, nc 8: cost ×4.7 | gaps between checks |
python import numpy as np from math import factorial def ff(i, q): # i (i-1) ... (i-q+1) return factorial(i) / factorial(i - q) if i >= q else 0.0 def Qmat(N, r, T): # cost of int_0^T (P^(r))^2 dt Q = np.zeros((N + 1, N + 1)) for l in range(r, N + 1): for k in range(r, N + 1): e = l + k - 2*r + 1; Q[l, k] = ff(l, r) * ff(k, r) * T**e / e return Q def row(N, q, t): # row . p = P^(q)(t) return np.array([ff(i, q) * t**(i - q) if i >= q else 0.0 for i in range(N + 1)]) def min_snap(wp, Ts, r=4): # one axis, hover at both ends M, N = len(Ts), 2*r - 1; n = N + 1 Q = np.zeros((M*n, M*n)); A, b = [], [] for i, T in enumerate(Ts): Q[i*n:(i+1)*n, i*n:(i+1)*n] = Qmat(N, r, T) def put(i, q, t, v, j=None, t2=0.0): a = np.zeros(M*n); a[i*n:(i+1)*n] = row(N, q, t) if j is not None: a[j*n:(j+1)*n] -= row(N, q, t2) A.append(a); b.append(v) for i, T in enumerate(Ts): put(i, 0, 0.0, wp[i]); put(i, 0, T, wp[i+1]) for q in range(1, r): put(0, q, 0.0, 0.0); put(M-1, q, Ts[-1], 0.0) for i in range(M - 1): for q in range(1, r): put(i, q, Ts[i], 0.0, i + 1) A, b = np.array(A), np.array(b); m = len(b) K = np.block([[2*Q, A.T], [A, np.zeros((m, m))]]) # KKT system p = np.linalg.solve(K, np.r_[np.zeros(M*n), b])[:M*n] return p.reshape(M, n), p @ Q @ p c, J = min_snap([0, 1, 3], [1.0, 1.0]) print(J, row(7, 1, 1.0) @ c[0]) # 15151.5 3.28125 def flat2d(a, j, s, m=1.0, Jy=0.01, g=9.81): # side view: (x, z) parts bz = a[1] + g; n2 = a[0]**2 + bz**2 num = j[0]*bz - a[0]*j[1]; rate = num / n2 acc = ((s[0]*bz - a[0]*s[1])*n2 - num*2*(a[0]*j[0] + bz*j[1])) / n2**2 return np.arctan2(a[0], bz), m*np.sqrt(n2), rate, Jy*acc # tilt, thrust, rate, torque print(flat2d([2, 0], [1, 0], [3, 0])) # 0.201 rad, 10.01 N, 0.0979 rad/s, 0.0029 N m
This lecture sits between planning and control. A search planner (A* or RRT*) finds collision-free waypoints. Minimum snap turns them into a smooth trajectory. The geometric controller of Lecture 3 tracks it, using the desired attitude, rate and torque that flatness gives. From Lecture 5 on, the series builds the estimator that tells the controller where the drone is.
Now press Present or Teach. Explain from memory why a corner needs infinite thrust, why snap and not jerk, how Qlk comes out of the integral, and how to build the rows of A. Say what the KKT system means and what dP* solves for. Then go back to the hero and say why each button jumps where it does, and what happens at 3 s.