Skip to main content
Holds both arms in gravity-compensation mode so you can move them by hand. Each free arm joint is sent set_impedance with kp=0, kd=KD, and a feedforward torque equal to the URDF-modelled gravity. Joints not in the free set are held rigidly at their current position with their configured ArmConfig kp/kd (still gravity-compensated). The grippers are softly held at their current positions. This command is configured via draccus — see Command configuration.
Use --free_joints to test gravity comp on a single joint at a time: only the named joints float freely, while the rest of the arm holds its pose so you can isolate the effect.
If the arm sags or pushes back, tune the per-joint mass and com fields on AxolConfig (each JointConfig carries the inertial of the URDF body it drives) — see Gravity compensation.