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

Flags

ERROR_NONE  —  0x00000000

ERROR_UNSTABLE_GAIN  —  0x00000001

ERROR_CPR_POLEPAIRS_MISMATCH  —  0x00000002

ERROR_NO_RESPONSE  —  0x00000004

ERROR_UNSUPPORTED_ENCODER_MODE  —  0x00000008

ERROR_ILLEGAL_HALL_STATE  —  0x00000010

ERROR_INDEX_NOT_FOUND_YET  —  0x00000020

ERROR_ABS_SPI_TIMEOUT  —  0x00000040

ERROR_ABS_SPI_COM_FAIL  —  0x00000080

ERROR_ABS_SPI_NOT_READY  —  0x00000100