Topic · 13 lessons in 6 stages · about 7 hours
Testing
Layers of test, suites fast enough to run, and tests that cannot pass by accident.
Stage 1Your environment
- A test suite people actually runlesson 3 · 30 minProve the robot description is sound, in under a minute, with no simulator running.
Stage 2Describing a robot
- Check a number you did not derivelesson 3 · 25 minCheck an inertia tensor you did not compute, and know what a wrong one does to a simulation.
- Test it with two parsers, not onelesson 5 · 30 minCheck a description with independent tools, and know which bugs only raw XML reveals.
Stage 3Making it move
- Scenarios are tests you can watchlesson 7 · 35 minRun scenarios that serve as tests and demos at once, against either backend.
Tier 4Make it trustworthy
- Four layers of test, and what each is forlesson 1 · 30 minKnow which layer should catch a given bug, and why that layer and not another.
- Tests that cannot pass by accidentlesson 2 · 40 minRecognise and write tests that cannot go green for the wrong reason.
- Keeping the suite fast is a feature you maintainlesson 3 · 30 minKeep a suite inside its time budget structurally, and catch the day it drifts out.
- Integration tests without physicslesson 4 · 35 minTest interface contracts and limit enforcement against a real ROS graph, with mock hardware.
- CI that runs what you runlesson 6 · 40 minMake CI execute exactly what you run locally, and make it check decisions as well as tests.
Tier 5Make it real
- Somebody else's protocol, tested on your laptoplesson 2 · 35 minTest framing, checksums and failure handling of the servo bus with no servo attached.
- Decide how it fails before it failslesson 3 · 30 minDecide, and test on a laptop, what the arm does when a servo, the bus or the host goes wrong.
- Find zero, and which way is positivelesson 5 · 35 minMeasure each joint's zero and direction on an assembled arm, and change them from assumed to measured.
Tier 6Make it capable
- Prove the grasp — and what is still openlesson 2 · 40 minVerify a grasp with two independent checks and a control, and report honestly when it fails.
Recommended
Not tagged Testing, but worth reading with it: first the lessons the ones above build on, in syllabus order, then the lessons whose topics most often appear alongside this one.
- Living inside the containerStage 1 · lesson 2 · 30 min · A test suite people actually run builds on it
- The decision everything else rests onStage 1 · lesson 4 · 30 min · Integration tests without physics builds on it
- One source of physical truthStage 2 · lesson 2 · 35 min · Check a number you did not derive builds on it
- Limits come from the datasheetStage 2 · lesson 6 · 25 min · Integration tests without physics builds on it
- A simulator that runs in CIStage 3 · lesson 1 · 30 min · CI that runs what you run builds on it
- One command, two backendsStage 3 · lesson 6 · 35 min · Scenarios are tests you can watch builds on it
- The servo is the driverTier 5 · lesson 1 · 25 min · Somebody else's protocol, tested on your laptop builds on it
- Where safety actually livesTier 5 · lesson 4 · 35 min · Find zero, and which way is positive builds on it
- Solve the kinematics, and find out what the arm cannot doTier 6 · lesson 1 · 40 min · Prove the grasp — and what is still open builds on it
- Drive it yourselfStage 3 · lesson 3 · 30 min · shares ROS 2, Simulation and Kinematics, control and perception
- Two clocks, and the bug they causeStage 3 · lesson 5 · 30 min · shares ROS 2 and Simulation
- Frames that save you a day eachStage 2 · lesson 4 · 30 min · shares ROS 2 and Kinematics, control and perception
- A pipeline for a machine with motorsTier 4 · lesson 8 · 25 min · shares DevOps and CI/CD and Safety