Theme
Tier 5 · project · about 1½ hours

Project: A first-power-on runbook

One day the SO-101 will be assembled on a desk, and someone will plug it in for the first time. Write the runbook for that day — then rehearse every step that can be rehearsed, against the simulated servo bus.

A runbook is only useful if each step can be checked. Every line you write must name the command, test or document that verifies it, and say plainly which steps cannot be rehearsed without the arm.

Tasks

  1. Before power. List what must be green first, and how to check it: the fast suite, the integration tier through the real hardware interface against a simulated bus, and the profile's calibration still marked assumed.

    make test
    make test-ros TARGET=feetech
    
  2. Wiring. From docs/so101.md and docs/safety.md: the servo supply and the voltage the profile assumes, the adapter and the daisy chain, the arm clamped to the bench, and where the power switch must be. The arm's bill of materials has no emergency stop; say where yours goes.

  3. Ids. Each servo must be given its id alone on the bus, before assembly. Find out what this project has for doing that, and write down what is missing.

  4. First power, torque off. What the interface reads before it powers anything, and how you will know every servo answered. Use the start-up refusal from the failure lesson.

  5. First motion. The smallest, slowest command you would send first, and to which joint. Why that one?

  6. What to watch. Readiness, including a joint straining or a servo running hot, and the version block — and what each would tell you.

  7. Abort. The physical abort, and the software one. Say which leaves the arm limp and which leaves it rigid, and what you do about the rigid one.

  8. Rehearse the software half for real: the arm against a simulated bus, the dashboard, a scenario, then pull the bus and watch readiness go red.

    make fake-bus
    make robot BUS=fake
    make dash
    make scenario NAME=home
    

Done when

  • Every step names the command, test or document that verifies it.
  • You rehearsed against the simulated bus, and saw /readyz go from 200 to 503 when you pulled it, with the reasons it gave.
  • It says plainly which steps cannot be rehearsed without the arm, and what is missing for the ones that cannot be done at all yet.
  • Someone else could follow it without asking you anything.
The first motion

Pick the joint whose failure would hurt least and whose limit is furthest from anything — and command a few degrees, slowly, with your hand near the switch. Nothing about the first motion should be interesting.

What readiness said when the bus went

With the bus pulled, /readyz answered 503 with three reasons: the joint state was seconds old, and joint_state_broadcaster and arm_controller were not active. Each is a line your runbook can tell someone to look for.

Going deeper