Skip to main content
FW version: Stable

State machine

The system is always persisting in one of its allowed states. These states are also called modes and are visible as a state variable inside the system as a number.

The mode is variable /mode in the root.

MODE nameMODE numberDescription
MODE_STOP0Driver or common block is in error.
Check /driver/error and /common/error.
MODE_WAIT10Delayed startup in action
MODE_IDLE100Idle_level and idle_cmd is applied. Input is 0.
MODE_CAN120Driver mode is controlled by CAN
MODE_WORKING110Driver cmd is non zero
MODE_OVERRIDEN200Driver is overriden by driver API