Check Errors in Arduino

Hi everyone,
I’m using Teensy (UART) and I’m encountering an error in Odrive.
Does anyone know what command to use in Arduino IDE for checking the errors?

Thank you so much!

Typically you’d want to check:
axis0.active_errors
axis0.procedure_result
axis0.disarm_reason

There’s a few others (e.g. SPI/RS485 encoder statuses, CAN errors, gate driver errors, etc), but those are a lot less common and they’ll be reflected in some way in those previous three axis0-scope errors.

Then you can reference ODriveEnums.h or the API docs for the actual error enum mapping.