Theme
FIG. 1
Robotics Software Engineering · on the SO-101

Build a robot the way you build software

One robot arm, built up the way a software system is: a description you can test, a simulator that runs in CI, a hardware seam that lets the same code drive Gazebo or six real servos, then deployment, health checks and observability, and finally kinematics, a camera and models. You already know Git, Docker, testing and CI; this points them at a machine that moves.

TheRobotStudio's open arm, Apache-2.0, and the one the LeRobot community learns imitation on. Its bus servos report their position, load and temperature, so a stalled joint stops looking healthy, and its description runs here under this project's own controllers, tests and hardware interface. About the SO-101 →

46lessons
40 of 46written so far
6stages, each ending in a project
~35 hof hands-on work
Freeall 6 stages, for now
This is a live preview of an unfinished course. It is generated from the project as it actually stands, including what does not work yet. Where something is unproven or failing, the lesson says so. 6 lessons are marked planned: what they teach is here, their steps on the SO-101 are not written yet.

Drive the SO-101 in your browser

The real arm's meshes, joints and limits, here on the page, as each stage leaves it: pick a stage below. Nothing to install. The Lab page has 46 lessons' tasks, checked as you go.

Tier 6: Make it capable. The finished stage: blocks of two colours, a tray at each side, an overhead camera, and a prompt saying which block goes where. Type one and a scripted policy (a parser and the solver, not a trained model) sorts the blocks.

Kinematic: joints move at their real speed limit, but there is no gravity, no load and no physics.

The SO-101 loads as you reach it.

About

Type a prompt, or take one of the examples, and press Run: a scripted policy reads it, plans each pick and place with the arm's own solver, and drives the arm through the same controllers your keys do. It is geometry, not learning: a trained policy is a planned lesson. Or be the policy yourself: drive the jaw down over a block, close it to pick the block up, and open it over a tray.

  1. Open stage 1 →
  2. Open stage 2 →
  3. Open stage 3 →
  4. Open tier 4 →
  5. Open tier 5 →
  6. Open tier 6 →

How every lesson works

Each lesson has the same shape, so you always know where to look.

  1. WhyWhy the thing is built this way, usually through something that went wrong here first.
  2. Do itNumbered steps with the exact command and what you should see.
  3. CheckpointOne sign that tells you it worked.
  4. When it goes wrongThe symptoms that mislead, and what they really mean.
  5. Check yourselfQuestions with the answers folded away.
  6. StretchAn exercise that goes past the steps.

Every stage ends in a project with a definition of done.

You need Docker and a machine with 6 GB of memory to give it. You do not need a robot to start: hardware is one of three interchangeable targets, and the course is built so the other two teach everything except the screwdriver.

The course

Stage 1

Your environment

free

Get a robot development environment that behaves the same on your machine as it does in CI, without installing ROS — and meet the one architectural decision everything else in the course rests on.

5 lessons · project · about 3½ hours
  1. Docker, and nothing else40 min
  2. Living inside the container30 min
  3. A test suite people actually run30 min
  4. The decision everything else rests on30 min
  5. Symptoms that lie25 min
  6. Project: Prove your environment, then break it on purpose
Stage 2

Describing a robot

free

Write down what the robot physically is — once — in a form that the simulator, the tests and the hardware all read, and that a test can check before anything moves.

6 lessons · project · about 3½ hours
  1. A robot is a tree30 min
  2. One source of physical truth35 min
  3. Check a number you did not derive25 min
  4. Frames that save you a day each30 min
  5. Test it with two parsers, not one30 min
  6. Limits come from the datasheet25 min
  7. Project: Make the description lie
Stage 3

Making it move

free

Put the robot in a simulator, drive it, speak ROS 2 to it, keep two clocks apart, and send the same command — byte for byte — to two completely different backends.

7 lessons · project · about 5 hours
  1. A simulator that runs in CI30 min
  2. Three ways to watch, and what crosses the wire25 min
  3. Drive it yourself30 min
  4. Topics, services and actions40 min
  5. Two clocks, and the bug they cause30 min
  6. One command, two backends35 min
  7. Scenarios are tests you can watch35 min
  8. Project: Write a scenario that runs on both backends
Tier 4

Make it trustworthy

free

The layers that let you change a robot's code on a Friday: tests sorted by what they can catch, tests that cannot pass by accident, a suite that stays fast on purpose, an image that carries no simulator, a pipeline that runs what you run, releases that carry evidence, and a deploy gate for a machine with motors.

10 lessons · project · about 7 hours
  1. Four layers of test, and what each is for30 min
  2. Tests that cannot pass by accident40 min
  3. Keeping the suite fast is a feature you maintain30 min
  4. Integration tests without physics35 min
  5. An image that carries no simulator35 min
  6. CI that runs what you run40 min
  7. A release is a tag plus evidence30 min
  8. A pipeline for a machine with motors25 min
  9. Every input is a dependency40 min
  10. Audit the gate before someone else does30 min
  11. Project: Bug hunt
Tier 5

Make it real

free

Put six real servos behind the seam: somebody else's protocol tested on a laptop, failure decided before it happens, safety that is layered and honest about its limits, a deployment you can roll back with a pull, and a robot that tells the truth about itself when you are not watching.

9 lessons · project · about 6½ hours
  1. The servo is the driver25 min
  2. Somebody else's protocol, tested on your laptop35 min
  3. Decide how it fails before it fails30 min
  4. Where safety actually lives35 min
  5. Find zero, and which way is positiveplanned35 min
  6. Deploy, and roll back with a pull30 min
  7. Alive is not the same as ready45 min
  8. Metrics from a robot behind a home router35 min
  9. Who can reach a robot35 min
  10. Project: A first-power-on runbook
Tier 6

Make it capable

free

An arm that reaches for things, picks them up, follows a second arm you move by hand, sees what is in front of it, records what it saw, learns from it, and ships the model like software. Including the parts that do not work yet.

9 lessons · project · about 8½ hours
  1. Solve the kinematics, and find out what the arm cannot do40 min
  2. Prove the grasp — and what is still open40 min
  3. Two arms, one motion: leader and follower40 min
  4. A camera, and the geometry behind it40 min
  5. Datasets, splits, and the leak you did not look forplanned40 min
  6. When a model beats geometry, and whyplanned40 min
  7. Shipping a model like softwareplanned35 min
  8. Serving, and noticing the question changedplanned35 min
  9. Learn from demonstration, and find what it was never shownplanned45 min
  10. Project: Close the loopplanned

Topics

Every lesson is tagged. Pick a topic to see each lesson that covers it, wherever it sits in the course, and what to read alongside.

Every topic, described →

Glossary of every term the course introduces →

The project's reference documentation →