rebot_control.cli

rebot-control command line: bring-up checks, simple motions and the calibration tools.

Every command works on the real arm (default) and in simulation (--sim). Commands that move the arm ask for confirmation on the real arm unless --yes is given. Run rebot-control <command> -h for the options.

Bring-up order on a new arm (docs/user/hardware-test-plan.md):

rebot-control state                  # torque off: angles, temperatures, TCP pose
rebot-control hold --seconds 10      # torque on at the folded pose, gravity feedforward
rebot-control float --seconds 30     # gravity mode: move the arm by hand
rebot-control home                   # unfold to the tool's home pose and fold back
rebot-control square                 # Cartesian square at the home height
rebot-control calib gains --check    # step responses with the configured gains
rebot-control calib gravity          # static poses -> link masses / COM
rebot-control calib friction         # velocity sweeps -> Coulomb + viscous friction
rebot-control calib payload          # tool mass / COM (after gravity)
rebot-control calib tcp              # pivot calibration of the tool tip

Torque goes off only at the normal end of a command (after folding) or with rebot-control release. A command that fails or is interrupted leaves the arm holding where it is, enabled; the next command takes that hold over. rebot-control state shows whether the motors are enabled and changes nothing.

rebot-control release # torque off now: support the arm rebot-control release –fold # fold to the zero pose, then torque off

Module Contents

Functions

Data

log

API

rebot_control.cli.log = 'getLogger(...)'
rebot_control.cli.cmd_state(args) → None
rebot_control.cli.cmd_release(args) → None
rebot_control.cli.cmd_hold(args) → None
rebot_control.cli.cmd_float(args) → None
rebot_control.cli.cmd_home(args) → None
rebot_control.cli.cmd_square(args) → None
rebot_control.cli.cmd_calib_gravity(args) → None
rebot_control.cli.cmd_calib_payload(args) → None
rebot_control.cli.cmd_calib_friction(args) → None
rebot_control.cli.cmd_calib_tcp(args) → None
rebot_control.cli.cmd_calib_gains(args) → None
rebot_control.cli.build_parser() → argparse.ArgumentParser
rebot_control.cli.main(argv: list[str] | None = None) → None