Theme
Stage 3 · 7 lessons and a project · about 5 hours

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.

By the end you will be able to

  • Run Gazebo with no GPU and no display, and choose the right of three ways to watch it.
  • Jog the arm by keyboard, and explain why losing the keyboard mid-move is safe.
  • Choose correctly between a topic, a service and an action, and inspect each on a live robot.
  • Keep simulation time and wall time apart, and know why one real-time-factor reading proves nothing.
  • Send one goal to a mock and to a physics simulation, unchanged, and get the same answer.
  • Write and run scenarios that are tests and demos at once, against either backend.

In the simulation

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.

About

Free play: nothing to tick off here. Click into the view to drive it, drag to turn it.

Before you start

  • Stage 2 complete.
  • Docker given at least 6 GB of memory — Gazebo is the first thing in the course that needs it.

Lessons

#LessonTime
1A simulator that runs in CIRun Gazebo with no GPU and no display, and confirm every controller came up.30 min
2Three ways to watch, and what crosses the wirePick the right view of a remote robot by understanding what each one transmits.25 min
3Drive it yourselfMove the arm by hand, and feel how its controllers behave.30 min
4Topics, services and actionsChoose the right ROS 2 communication primitive, and inspect each on a live robot.40 min
5Two clocks, and the bug they causeKeep simulation time and wall time apart, and measure the real-time factor honestly.30 min
6One command, two backendsSend an identical goal to a physics simulation and to a mock, unchanged, and get the same answer.35 min
7Scenarios are tests you can watchRun scenarios that serve as tests and demos at once, against either backend.35 min
◆Project: Write a scenario that runs on both backends90 min

Start with lesson 1 →