Skip to main content

The map of Physical AI

Beginner30 minBefore this:How this course works

A robot vacuum bumps into a chair leg, backs up, turns, and tries again. A warehouse arm lifts a box it has never seen before. A humanoid steps over a cable on the floor. These look like very different machines, but underneath they are all doing the same thing in the same loop. Once you see that loop and the layers around it, every robotics topic you meet later has a place to sit.

You will be able to

  • Define Physical AI and embodied intelligence in your own words.
  • Describe the sense, think, act loop and give an example of each stage.
  • Name the layers of the Physical AI stack and what each one does.
  • Explain where humanoid robots fit and why they are hard.
  • Match each Kinemata module to a layer of the stack.

What is Physical AI?​

Most AI you have used lives on a screen. A chatbot takes text in and returns text. An image model takes a prompt and returns a picture. If it makes a mistake, you read the mistake and try again.

Physical AIPhysical AI is artificial intelligence that perceives and acts in the real world through a body, such as a robot, a car or a drone. is AI with a body. It senses the world through cameras, microphones and touch, decides what to do, and acts through motors. The field is also called embodied intelligenceEmbodied intelligence is the idea that intelligence is shaped by having a body that senses and acts in an environment., because the body is part of how the intelligence works, not an accessory.

The body changes everything about the problem:

  • The world pushes back. Gravity, friction and collisions are not optional. A wrong move can break something.
  • Sensing is noisy and incomplete. A camera sees one side of an object, lidar misses glass, and a wheel slips on wet floor.
  • Time is hard. A balancing robot has a few milliseconds to react. A chatbot can think for seconds.
  • Mistakes cost real things. You cannot press undo on a dropped plate.

These constraints are why robotics took decades, and why the recent arrival of strong learned models is so exciting. Hard problems that were once hand-coded, such as recognising objects or understanding "bring me the red cup", are now solved well enough to try on real robots.

The sense, think, act loop​

Every robot runs one loop, over and over, many times a second.

Sense turns the world into numbers: camera pixels, lidar distances, joint angles, motor currents, the reading of an inertial sensor.

Think turns numbers into a decision. This covers state estimation (where am I, what is around me), planning (what path or sequence of steps) and control (what torque this instant).

Act turns the decision into motion: motors, grippers, wheels.

The world then changes, partly because of the action, and the loop begins again. That feedback is the defining feature of robotics. A robot does not execute a plan blindly; it checks reality continuously and corrects.

Loops inside loops​

The loop does not run at one speed. A real robot nests several loops, fast on the inside and slow on the outside.

LoopTypical rateQuestion it answers
Motor control1,000 Hz or moreHow much current to this motor right now?
Balance and joint control100 to 1,000 HzIs the body staying upright?
Perception10 to 60 HzWhat does the camera see?
Motion planning1 to 10 HzWhat path avoids the obstacle?
Task and language planning0.1 to 1 HzWhat should I do next to fulfil the request?

Fast loops must be simple and reliable. Slow loops can be rich and flexible. A lot of robot design is deciding which loop a problem belongs in.

The Physical AI stack​

Think of the robot as layers, each built on the one below.

Read it from the bottom.

  1. Hardware. Motors and gearboxes, sensors, batteries, the computer. Everything above has to respect what the hardware can physically do.
  2. Control. Software that makes joints and wheels do what you ask, using models of the robot's geometry (kinematics) and its forces (dynamics), plus feedback controllers such as PID.
  3. Middleware and tools. The plumbing that lets many programs share data: ROS 2 for messages, tf2 for coordinate frames, URDF for describing the robot, and simulators such as Gazebo for safe testing.
  4. Perception and state estimation. Turning raw sensor data into a usable picture: where objects are, where the robot is, and how sure it is.
  5. Planning. Deciding how to move: finding a collision-free path, driving to a room with Nav2, reaching and grasping with MoveIt 2.
  6. Skills and learning. Behaviours that are learned instead of hand-written, from demonstrations (imitation learning) or by trial and error (reinforcement learning).
  7. Foundation models. Large pre-trained models that understand language and images and can map them to actions. This is the newest layer, and the one moving fastest.

The layers talk to each other. A foundation model might say "pick up the mug", a planner produces an arm trajectory, a controller tracks it, and sensors report whether it worked.

Layers are not strict

Modern research blurs the boundaries. A vision-language-action model may go straight from camera pixels and a sentence to motor commands, skipping several layers. You still need to understand the layers, because that is how you debug it and how you judge whether it is safe.

Where humanoids fit​

A humanoidA humanoid robot has a body shaped roughly like a person: a torso, two arms, two legs and a head. is not a different kind of intelligence. It is a robot that uses every layer of the stack at once, under tough conditions.

Why build one at all? Our world, from stairs to door handles to tools, is designed for the human body. A humanoid could in principle work in it without the environment being rebuilt. The bet is that one general body plus a general brain can do many jobs.

Why is it hard?

  • Balance. A humanoid is a tall, narrow object standing on two small feet. It is unstable by design, and must keep correcting itself.
  • Many joints. Dozens of joints that must move together: whole-body control is a large coordination problem.
  • Contact. Walking and grasping are made of impacts and friction, which are hard to model.
  • Hands. Human-like dexterity needs many small, strong, sensitive actuators.
  • Safety. A falling humanoid is heavy and can hurt someone.

That is why Module 08 sits late in the course. Balance, control, perception and learning all feed into it, and you should have them before you try the hardest robot.

How the 11 modules map onto the stack​

ModuleLayer(s) it covers
00 · Start hereYour workstation and this map
01 · FoundationsThe math, code and tools every layer uses
02 · Robot fundamentalsHardware understanding, control
03 · ROS 2Middleware and tools
04 · SimulationMiddleware and tools, testing every layer
05 · PerceptionPerception and state estimation
06 · MotionPlanning
07 · Robot learningSkills and learning
08 · HumanoidsAll layers, applied to the hardest body
09 · Foundation modelsFoundation models and safety
10 · Capstone and careerIntegrating all layers on one project

You can see the shape: the course climbs the stack, with foundations underneath and a capstone on top that uses it all.

Hands-on lab​

You will make your own one-page map and check it against a running ROS 2 system. Use paper or any drawing tool.

  1. Draw the sense, think, act loop as three boxes with arrows, and add the world as a fourth box that closes the loop.
  2. Draw the seven stack layers as horizontal bars, with hardware at the bottom.
  3. Choose a robot you know, such as a robot vacuum, and write one real component beside each layer. For example: wheel motors (hardware), a PID speed loop (control), a bump sensor reading (perception).
  4. Mark which Kinemata module teaches each layer, using the table above.
  5. Start the demo from the last lesson: ros2 run demo_nodes_cpp talker in one terminal and ros2 run demo_nodes_py listener in another.
  6. On your map, label the talker and the listener. Which stack layer is the message system between them? It is the middleware layer.
  7. Save the picture as map.png in your kinemata-workspace repository, commit it, and write one sentence in journal.md about which layer you are most curious about.

The check: every layer on your map has at least one real example, and you can say which layer ROS 2 belongs to without looking.

Exercises​

Classify the componentsBeginner

Place each in the sense, think or act stage: a wheel encoder, a path planner, a gripper motor, a depth camera, an obstacle-avoidance decision, a PID controller sending voltage to a joint.

Show solutionHide solution

Sense: wheel encoder, depth camera. Think: path planner, obstacle-avoidance decision (and the PID computation itself). Act: gripper motor and the voltage that the controller sends. Notice the controller sits on the boundary between think and act. Boxes in a diagram are a guide, and real systems often blur them.

Which loop is too slow?Beginner

A teammate proposes running a language model to decide, on every control cycle at 1,000 Hz, whether to apply more torque to a leg joint. Using the loop table, explain why this is a poor design and where the model should run instead.

Show solutionHide solution

A language model takes tens or hundreds of milliseconds per answer, far slower than the 1 ms available at 1,000 Hz. It is also not reliable enough for a safety-critical loop. Joint torque belongs in a fast, simple, deterministic controller. The language model belongs in the slow task-planning loop, producing goals such as "walk to the door" that the faster layers then carry out.

Trace a requestIntermediate

A user says, "Bring me the water bottle." List, in order, which layers of the stack are involved from the sentence to the bottle in the user's hand.

Show solutionHide solution

Foundation models interpret the sentence and produce a task plan. Perception finds the bottle and the robot's position. Planning produces a path for the base and then an arm trajectory. Control tracks those trajectories and keeps the robot balanced, using hardware actuators. Sensors then confirm the grasp, and the loop repeats. Middleware, ROS 2, carries the messages between all of them throughout.

Check your understanding​

1What distinguishes Physical AI from a chatbot?
2Which statement about the nested loops is correct?
3In the stack, which layer provides messaging between programs, coordinate frames and robot descriptions?
4Why are humanoids especially hard?
0 of 4 answered

Takeaways

  • Physical AI is AI with a body that senses the world and acts on it.
  • Every robot runs a sense, think, act loop, and the feedback through the world is what makes it robotics.
  • Real robots nest fast control loops inside slower planning loops.
  • The stack runs from hardware to control, middleware, perception, planning, learning and foundation models.
  • Humanoids use every layer under hard conditions, so they come late in the course.
  • The 11 modules climb the stack, and the capstone uses it all together.

Go deeper​

Next: Python for robotics

Finished the lab and the quiz?

Mark it done to track your progress through the course.