Hi, I have a problem.
I follow the Odrive “getting started” step. After encoder and motor calibration, I set the “pre_calibration” to True.
But every time I give the power supply, and do
“odrv0.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL”
the motor looks overshoot (turn a little suddenly)and then stop, there is an error:
motor:
ERROR_CURRENT_LIMIT_VIOLATION.
Ps: 1. I can use “dump_errors(odrv0,True)” to set error to true, and then close-loop. the motor going well.
2. if I do full calibration (odrv0.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE) from the beginning, the motor also have no problem.
I try increase the current_limit but it doesn’t work, The Odrive document says I may have stability issues in the current controller. I don’t understand what is that. I also try change the pos_gain, but no effect.
Any ideas for this problem? Thank you so much