Skip to main content

Control modes

The firmware separates drive configuration from execution. Select a motor profile while all drives are disabled, enable the arm, then choose an execution mode from IDLE.

Motor profile (all drives disabled)
├─ J1–J7 MIT
└─ J1–J7 position-velocity J8 gripper: always position-current

Execution (after enabling, from IDLE)
├─ IDLE holds the current position, accepts no motion targets
├─ RT joint / Cartesian PC streams targets, normally at 1 kHz
├─ NRT joint / Cartesian controller interpolates movej / movep goals
├─ Gravity FREE / LOCK local gravity compensation
├─ Joint / Cartesian impedance local spring and damper
└─ Joint / Cartesian admittance local virtual mass
ModeWhere the loop runsWhat the PC sends while active
IDLEController holds enabled drivesHeartbeat, 100 Hz by default
RT jointPC targets, 1 kHz drive loop on the controllerJoint targets, normally 1 kHz
RT CartesianPC tool pose, controller runs inverse kinematicsTool poses, normally 1 kHz
NRT joint, NRT CartesianController plans and executes movej / movepA goal, then a 100 Hz session keep-alive
Gravity FREE, LOCKController, 1 kHzNothing after entering the mode
Joint, Cartesian impedanceController, 1 kHzNothing after entering the mode
Joint, Cartesian admittanceController, 1 kHzNothing after entering the mode

Rules​

  • RT and NRT modes switch through IDLE. Changing the motor profile requires disabling all drives.
  • Enabling only enters an IDLE hold. The firmware never moves to zero, starts a stream or submits a move on its own.
  • The firmware refuses to start a local mode when the arm is not enabled, the zero position is not set, feedback is stale, the motor profile is wrong or a drive is too hot.
  • If a required stream stops for 100 ms, the controller brakes to an enabled hold. RESUME re-enters the interrupted mode from the held position when the stop allows it.

Local compliance​

  • Gravity compensation uses the H7C bare-arm model with identified masses, centres of mass and joint offsets. FREE lets the arm be guided by hand with joint damping. LOCK holds the pose with a stiffness that you can adjust.
  • Impedance holds a fixed equilibrium with a spring and damper in joint space or at the tool, on top of the gravity feedforward. It uses the drive's MIT torque interface; it does not measure contact force.
  • Admittance moves a virtual mass in response to estimated external torque, in joint space or at the tool.

The handover into and out of each local mode ramps gains and torques so that the load is never dropped. STOP returns to the hold gains over 0.5 s.