Topic · 14 lessons in 4 stages · about 7 hours
ROS 2
Nodes, topics, services and actions, ros2_control, and describing a robot in URDF and xacro, with links, joints, frames, inertia and limits generated from one source.
Stage 1Your environment
- Living inside the containerlesson 2 · 30 minKnow where your code, your build output and your shell actually live, and which edits need a rebuild.
- A test suite people actually runlesson 3 · 30 minProve the robot description is sound, in under a minute, with no simulator running.
- The decision everything else rests onlesson 4 · 30 minUnderstand — and prove — why the same code can drive a simulator, a mock or a motor.
Stage 2Describing a robot
- A robot is a treelesson 1 · 30 minRead a robot description as links and joints, and predict how each joint moves.
- One source of physical truthlesson 2 · 35 minKeep every number about the robot in exactly one place, including the ones you did not write.
- 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.
- Frames that save you a day eachlesson 4 · 30 minPlace the frames later phases assume, and read any transform between them on a live robot.
- Test it with two parsers, not onelesson 5 · 30 minCheck a description with independent tools, and know which bugs only raw XML reveals.
- Limits come from the datasheetlesson 6 · 25 minDerive effort and speed limits from the motors that must deliver them, and prove no joint exceeds them.
Stage 3Making it move
- Drive it yourselflesson 3 · 30 minMove the arm by hand, and feel how its controllers behave.
- Topics, services and actionslesson 4 · 40 minChoose the right ROS 2 communication primitive, and inspect each on a live robot.
- Two clocks, and the bug they causelesson 5 · 30 minKeep simulation time and wall time apart, and measure the real-time factor honestly.
- One command, two backendslesson 6 · 35 minSend an identical goal to a physics simulation and to a mock, unchanged, and get the same answer.
Tier 4Make it trustworthy
- Integration tests without physicslesson 4 · 35 minTest interface contracts and limit enforcement against a real ROS graph, with mock hardware.
Recommended
Not tagged ROS 2, 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.
- Docker, and nothing elseStage 1 · lesson 1 · 40 min · Living inside the container builds on it
- A simulator that runs in CIStage 3 · lesson 1 · 30 min · Drive it yourself and Two clocks, and the bug they cause build on it
- Four layers of test, and what each is forTier 4 · lesson 1 · 30 min · Integration tests without physics builds on it
- Prove the grasp — and what is still openTier 6 · lesson 2 · 40 min · shares Testing, Simulation and Kinematics, control and perception
- Scenarios are tests you can watchStage 3 · lesson 7 · 35 min · shares Testing and Simulation
- Decide how it fails before it failsTier 5 · lesson 3 · 30 min · shares Testing, Safety and Hardware and firmware
- The servo is the driverTier 5 · lesson 1 · 25 min · shares Architecture and Hardware and firmware