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 →
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.
make drive keysAbout
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.
Joints · SO-101 follower
1–5 joint · , . jog · [ ] jaw · - + step · h home · f frames
the keys of make drive
The buttons do what the keys do: hold one to repeat.
Limits from the description; speed capped at 1.7434 rad/s, the servo's datasheet derated. Poses from the profile.
Inspector
Code
The repository's own code behind what you do here appears once you move the arm.
Stage 1: Your environment. The robot this course builds up, to turn and look at from any side. This stage builds the environment it runs in; its joints arrive in the next.
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
Free play: nothing to tick off here. Click into the view to drive it, drag to turn it.
Stage 2: Describing a robot. The arm as a description: drag a joint, turn on its frames, and read its limits and where the tool ends up.
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
Free play: nothing to tick off here. Click into the view to drive it, drag to turn it.
Joints · SO-101 follower
Limits from the description; speed capped at 1.7434 rad/s, the servo's datasheet derated. Poses from the profile.
Inspector
Code
The repository's own code behind what you do here appears once you move the arm.
Stage 3: Making it move. The arm under a controller: the keys and buttons of make drive, limits that clamp, a bench it can hit, and a recording of what you did.
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.
make drive keysAbout
Free play: nothing to tick off here. Click into the view to drive it, drag to turn it.
Joints · SO-101 follower
1–5 joint · , . jog · [ ] jaw · - + step · h home · f frames
the keys of make drive
The buttons do what the keys do: hold one to repeat.
Limits from the description; speed capped at 1.7434 rad/s, the servo's datasheet derated. Poses from the profile.
Inspector
Code
The repository's own code behind what you do here appears once you move the arm.
Tier 4: Make it trustworthy. The same arm as the stage before. This stage makes the software around it trustworthy, so the simulation stays as it was.
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.
make drive keysAbout
Free play: nothing to tick off here. Click into the view to drive it, drag to turn it.
Joints · SO-101 follower
1–5 joint · , . jog · [ ] jaw · - + step · h home · f frames
the keys of make drive
The buttons do what the keys do: hold one to repeat.
Limits from the description; speed capped at 1.7434 rad/s, the servo's datasheet derated. Poses from the profile.
Inspector
Code
The repository's own code behind what you do here appears once you move the arm.
Tier 5: Make it real. The arm as six servos: every move becomes the packet the hardware interface writes to the bus.
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.
make drive keysAbout
Free play: nothing to tick off here. Click into the view to drive it, drag to turn it.
Joints · SO-101 follower
1–5 joint · , . jog · [ ] jaw · - + step · h home · f frames
the keys of make drive
The buttons do what the keys do: hold one to repeat.
Limits from the description; speed capped at 1.7434 rad/s, the servo's datasheet derated. Poses from the profile.
Inspector
Code
The repository's own code behind what you do here appears once you move the arm.
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.
make drive keysAbout
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.
Joints · SO-101 follower
1–5 joint · , . jog · [ ] jaw · - + step · h home · f frames
the keys of make drive
The buttons do what the keys do: hold one to repeat.
Limits from the description; speed capped at 1.7434 rad/s, the servo's datasheet derated. Poses from the profile.
Inspector
Code
The repository's own code behind what you do here appears once you move the arm.
How every lesson works
Each lesson has the same shape, so you always know where to look.
- WhyWhy the thing is built this way, usually through something that went wrong here first.
- Do itNumbered steps with the exact command and what you should see.
- CheckpointOne sign that tells you it worked.
- When it goes wrongThe symptoms that mislead, and what they really mean.
- Check yourselfQuestions with the answers folded away.
- 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
Your environment
freeGet 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.
Describing a robot
freeWrite 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.
Making it move
freePut 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.
- A simulator that runs in CI30 min
- Three ways to watch, and what crosses the wire25 min
- Drive it yourself30 min
- Topics, services and actions40 min
- Two clocks, and the bug they cause30 min
- One command, two backends35 min
- Scenarios are tests you can watch35 min
- Project: Write a scenario that runs on both backends
Make it trustworthy
freeThe 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.
- Four layers of test, and what each is for30 min
- Tests that cannot pass by accident40 min
- Keeping the suite fast is a feature you maintain30 min
- Integration tests without physics35 min
- An image that carries no simulator35 min
- CI that runs what you run40 min
- A release is a tag plus evidence30 min
- A pipeline for a machine with motors25 min
- Every input is a dependency40 min
- Audit the gate before someone else does30 min
- Project: Bug hunt
Make it real
freePut 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.
- The servo is the driver25 min
- Somebody else's protocol, tested on your laptop35 min
- Decide how it fails before it fails30 min
- Where safety actually lives35 min
- Find zero, and which way is positiveplanned35 min
- Deploy, and roll back with a pull30 min
- Alive is not the same as ready45 min
- Metrics from a robot behind a home router35 min
- Who can reach a robot35 min
- Project: A first-power-on runbook
Make it capable
freeAn 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.
- Solve the kinematics, and find out what the arm cannot do40 min
- Prove the grasp — and what is still open40 min
- Two arms, one motion: leader and follower40 min
- A camera, and the geometry behind it40 min
- Datasets, splits, and the leak you did not look forplanned40 min
- When a model beats geometry, and whyplanned40 min
- Shipping a model like softwareplanned35 min
- Serving, and noticing the question changedplanned35 min
- Learn from demonstration, and find what it was never shownplanned45 min
- 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.