Skip to main content
Firmware Stable

State Machine

The system always exists in one of the predefined states, also known as modes. These modes are represented internally as numeric state variables.

You can access the current mode through the /mode variable located at the root level.

Mode NameMode NumberDescription
MODE_STOP0Controller is in an error state. Either /driver/error or /common/error is non-zero.
MODE_IDLE100Controller is idle.Throttle is at zero.
MODE_ACC110Controller is accelerating. Throttle is above zero.
MODE_REVERSE115Controller is reversing.
MODE_BRAKE120Controller is braking.
MODE_OVERRIDEN200Driver is overridden via CAN or the run command.