Theme
Stage 2 · 6 lessons and a project · about 3½ hours

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.

By the end you will be able to

  • Read a robot description as a tree of links and joints, and predict how each joint moves before you move it.
  • Keep every number in exactly one place, even when most of the robot's description is somebody else's file.
  • Check an inertia tensor you did not derive, and say what a wrong one does to a physics engine.
  • Place the frames later stages depend on, and read any transform between them on a live robot.
  • Test a description with two independent parsers, and derive joint limits from a datasheet rather than a guess.
  • Make a description lie on purpose, and name the test that catches each lie.

In the simulation

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.

Before you start

  • Stage 1 complete — make setup and make test both pass.

Lessons

#LessonTime
1A robot is a treeRead a robot description as links and joints, and predict how each joint moves.30 min
2One source of physical truthKeep every number about the robot in exactly one place, including the ones you did not write.35 min
3Check a number you did not deriveCheck an inertia tensor you did not compute, and know what a wrong one does to a simulation.25 min
4Frames that save you a day eachPlace the frames later phases assume, and read any transform between them on a live robot.30 min
5Test it with two parsers, not oneCheck a description with independent tools, and know which bugs only raw XML reveals.30 min
6Limits come from the datasheetDerive effort and speed limits from the motors that must deliver them, and prove no joint exceeds them.25 min
◆Project: Make the description lie45 min

Start with lesson 1 →