PAI-110 · Education

Programming Physical AI

One simulated differential-drive rover, commanded at three rising depths (visual blocks, Python scripting, and bare-metal MCU), re-solving the same tasks at each depth until you can choose the right level of abstraction for a physical-AI task and prove it.

Beginner → Skilled·5 modules·14 lessons
▶ Start the course ← All courses
THE HORIZON

Where this sits, and what moves it.

Binding constraint · Loop time under a bounded worst case. A rover's behaviour is decided less by which language you wrote it in than by whether the loop closes before the world has moved.

Was impossible

Choosing an abstraction level used to mean committing to a toolchain and losing the ability to compare. Blocks, scripting, and firmware lived on different machines with different clocks, so 'is the metal actually faster here?' was an argument rather than a measurement.

Is probable

Compiling all three depths to one target makes the comparison honest, and the answer is often that the high level is fast enough -- which is a real result, not a concession. Where it stops being true is the part worth knowing: the tail, not the average, is what breaks a control loop.

Becomes possible

The interesting frontier is a compiler that chooses the depth for you against a stated timing budget, lowering only the loop that misses it. That needs a cost model for real peripherals that does not exist yet in any portable form, and building one is a student-scale contribution.

Every hard thing was impossible until the constraint that made it impossible was named. How we read a frontier →

See it live

Anatomy demonstrations

The machines behind this course, taken apart three ways, the body, the one rule, and the small learned brain. Guess before you look; an open core proves every number on the page.

DemonstrationAnatomy of DrivingSteer a rover into a parking pose →The whole series →
Foundations

From the interactive textbook

The ideas under this course as live explorables, each runs the real Rust library and re-derives its own result.

Ch. 7 · PlanningAs fast as the motors allowOpen the chapter ↗Ch. 10 · CompositionDo everything at onceOpen the chapter ↗Ch. 15 · GuidanceLanding a rocketOpen the chapter ↗The full textbook →