Skip to main content
Sets a motor’s zero to its current position and saves it to the motor’s flash. Use --guided to zero every arm joint in turn. Damiao motors (wrist_2 and wrist_3) apply a new zero only after a power cycle. On a Jelly with a safety board, --guided asks after the last joint. Support both arms, then confirm to power-cycle Axol. Otherwise, power-cycle Axol yourself.
Each joint is zeroed at one of its mechanical end stops, not at the rest pose. --guided mode walks you to the right end stop. With --id, you must hold the joint at the right end stop yourself before you zero it. Axol still reports joint positions with 0 at the rest pose.

Guided zeroing

  1. Hold every selected joint inside its range, away from the end stops, and press Enter once.
  2. For each joint in turn, move it to the end stop the prompt names and press Enter.
  3. If the joint moved the wrong way, the prompt asks you to move it to the same end stop again. Axol zeroes a joint only after it moves the expected way.
If the joint is already at the end stop the prompt names and it still reads as the wrong way, its motor turns the wrong way. Skip the joint with Ctrl-C and contact Almond support. Some MyActuator motors need Change Motor Direction turned on to turn the same way as the rest of Axol. Guided zeroing turns it on before you move any joint, then zeroes each joint as usual. Zeroing one motor with --id turns it on too. Until a joint that needs it is zeroed this way, Axol won’t enable the arm. Press Ctrl-C to skip a joint. wrist_2 and wrist_3 accept either end stop, because on some units one stop is placed better than the other. Move to the one you trust and press Enter. Axol detects which stop was used from the encoder reading. Don’t leave these two joints right at an end stop when you connect, because that position is ambiguous.
Axol won’t enable arms whose zeros were never set. Before it powers any motor, every arm bring-up checks that each joint’s reading is plausible for its end-stop zero. This covers teleop, collect-data, run-policy, gravity-comp, the control panel and the diagnostics dashboard. If a joint fails, the error names it. Run axol motor.set-zero-pos --guided, then try again.

From the control panel

  1. Open Diagnostics and press Set zero position.
  2. Choose Guided and pick the Arm.
  3. Press Run. Follow each instruction, then press Continue.
Press Stop to end the run. Joints zeroed before that keep their new zero. If wrist_2 or wrist_3 is one of them, power-cycle Axol.