I recently received my ODrive board (24V ODrive V3.5 with firmware version 0.4.7) and I was going through the initialization of the ODrive (with the AMT102-V encoder with 8192 cpr mounted on the shaft) and was able to complete the “AXIS_STATE_FULL_CALIBRATION_SEQUENCE” just fine…the motor rotated for a couple seconds in each direction (although it seemed to current spike and stall right before it began the calibration…is that normal?).
After the calibration finished, I entered the "AXIS_STATE_CLOSED_LOOP_CONTROL“ command. The current output rises slightly on the power supply and I can feel the motor (Turnigy D3536/6 1250KV with 7 poles) resist me slightly trying to spin it by hand. However, when I go to give it a setpoint command as done in the “getting started guide”, such as “odrv0.axis0.controller.pos_setpoint = 1000”, the motor turns just barely, then stops, and the current drops to its “resting” state (~0.04 amps). I checked the error codes and got the following:
odrv0.axis0.error : 0x200 which is “ERROR_CONTROLLER_FAILED”
odrv0.axis0.motor.error : 0x10 which I’m guessing is “ERROR_CONTROL_DEADLINE_MISSED”
odrv0.axis0.encoder.error : 0x0 which is no error.
Does anyone have any recommendation on a path forward?
Thank you for your help!