The docs reflect firmware version 0.5.1. There are many breaking changes. Please find docs for v0.4.12 here.

ODrive Documentation

High performance motor control

View the Project on GitHub madcowswe/ODrive

Help improve these docs: submit edits using the link in the top right.

If you need help, please search or ask the ODrive Community.

ODrive 〉Axis 〉Error

Flags

ERROR_NONE  —  0x00000000

ERROR_INVALID_STATE  —  0x00000001

ERROR_DC_BUS_UNDER_VOLTAGE  —  0x00000002

ERROR_DC_BUS_OVER_VOLTAGE  —  0x00000004

ERROR_CURRENT_MEASUREMENT_TIMEOUT  —  0x00000008

ERROR_BRAKE_RESISTOR_DISARMED  —  0x00000010

ERROR_MOTOR_DISARMED  —  0x00000020

ERROR_MOTOR_FAILED  —  0x00000040

ERROR_SENSORLESS_ESTIMATOR_FAILED  —  0x00000080

ERROR_ENCODER_FAILED  —  0x00000100

ERROR_CONTROLLER_FAILED  —  0x00000200

ERROR_POS_CTRL_DURING_SENSORLESS  —  0x00000400 Deprecated

ERROR_WATCHDOG_TIMER_EXPIRED  —  0x00000800

ERROR_MIN_ENDSTOP_PRESSED  —  0x00001000

ERROR_MAX_ENDSTOP_PRESSED  —  0x00002000

ERROR_ESTOP_REQUESTED  —  0x00004000

ERROR_HOMING_WITHOUT_ENDSTOP  —  0x00020000

ERROR_OVER_TEMP  —  0x00040000