After each reboot or restart of ODrive, I need to calibrate it every time. I used the following command for calibrating ODrive.
odrv0.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE
odrv0.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL
I’m using Hall sensors, so
odrv0.axis0.encoder.config.pre_calibrated=True
saved the configuration
odrv0.save_confuguration()
but still, I need to calibrate ODrive every time. Please help, ASAP.