
Code and exercise for every section in one download: Resources tab, physical-ai-foundations-all-sections.zip.
Code and exercise for this section: Resources tab, s01_robot_as_dynamical_system.zip.
Code and exercise for this section: Resources tab, s02_math_you_need.zip.
Code and exercise for this section: Resources tab, s03_transformers.zip.
Code and exercise for this section: Resources tab, s04_vision_language_models.zip.
Code and exercise for this section: Resources tab, s05_robot_state_and_action.zip.
Code and exercise for this section: Resources tab, s06_vision_language_action_models.zip.
Code and exercise for this section: Resources tab, s08_world_models.zip.
Code and exercise for this section: Resources tab, s09_physics_control_and_safety.zip.
This course contains the use of artificial intelligence.
Physical AI is the part of robotics where a model has to move something real. This course teaches the mathematics underneath it, from photons hitting a camera sensor to torque arriving at a motor, without hand-waving over the
steps in between.
You will not find a slide deck of model names here. Each mechanism is explained step by step with animated diagrams and plain-language reasoning, then connected back to a robot that has to act. This is a conceptual course: it does not include runnable notebooks, and it shows few written equations or code listings, so if you want code to run or a full equation sheet, this is not the course for that. By the end you will be able to open a VLA paper and know exactly which block
does what, and why the authors chose it.
What this course covers
- Robots as dynamical systems. Observation, hidden state, action, transition. Why embodiment changes what an "action" even means, and why latency is a design input rather than an implementation detail.
- The math you actually need. Tensors as robot data, embeddings as geometry, cosine similarity, distributions over actions, softmax and temperature. Only what the later sections use, nothing padded.
- Transformers, cell by cell. Tokens, patches, position, and query-key-value. Scaled dot-product attention is walked through step by step, not just named. Multi-head attention, residuals, normalisation, autoregressive decoding.
- Vision language models. The camera pipeline honestly, patch embeddings and the real cost of resolution, contrastive alignment and what it does not give you, cross attention grounding a referring expression, and the difference
between what a VLM knows and what it only appears to know.
- Robot state and action. Proprioception, frames and transform chains, action spaces across four embodiments, tokenising a continuous action, and action chunking with its staleness problem.
- Vision language action models. Attaching an action head to a VLM, three architecture families, what a demonstration episode really contains, behaviour cloning explained from first principles, and how to evaluate a policy without
fooling yourself.
- Generative action policies. Diffusion from noise and back, diffusion policies for action chunks, flow matching as a learned velocity field, and the token-compression-latency tradeoff.
- World models and world action models. Action-conditioned dynamics, latent bottlenecks, imagined rollouts and planning, compounding error and why the horizon is short, and joint prediction of futures and actions.
- Physics, control and safety. Kinematics and the Jacobian, dynamics, force and contact, running a slow learned model inside a fast control loop, and runtime safety gates with honest demos.