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 〉Motor 〉Error

Flags

ERROR_NONE  —  0x00000000

ERROR_PHASE_RESISTANCE_OUT_OF_RANGE  —  0x00000001

ERROR_PHASE_INDUCTANCE_OUT_OF_RANGE  —  0x00000002

ERROR_ADC_FAILED  —  0x00000004

ERROR_DRV_FAULT  —  0x00000008

ERROR_CONTROL_DEADLINE_MISSED  —  0x00000010

ERROR_NOT_IMPLEMENTED_MOTOR_TYPE  —  0x00000020

ERROR_BRAKE_CURRENT_OUT_OF_RANGE  —  0x00000040

ERROR_MODULATION_MAGNITUDE  —  0x00000080

ERROR_BRAKE_DEADTIME_VIOLATION  —  0x00000100

ERROR_UNEXPECTED_TIMER_CALLBACK  —  0x00000200

ERROR_CURRENT_SENSE_SATURATION  —  0x00000400

ERROR_CURRENT_LIMIT_VIOLATION  —  0x00001000

ERROR_BRAKE_DUTY_CYCLE_NAN  —  0x00002000

ERROR_DC_BUS_OVER_REGEN_CURRENT  —  0x00004000

ERROR_DC_BUS_OVER_CURRENT  —  0x00008000