I have several ODrives and this seems to a problem with several of them. Using odrive tool I set several parameters and or calibrate the motors/encoders. When I go reboot it seems like nearly every time it doesn’t save save. I am using odrv0.save_configuration()
I have tried this on several odrives and it does the same thing, any suggestions?
I don’t know if the bug fix for multiple saves has made it to the master firmware or not - make sure you’re only calling save_configuration()
once per reboot, or only the first one will work.
1 Like
It seems like you have to do
requested_state = AXIS_STATE_ENCODER_OFFSET_CALIBRATION
just prior to setting
encoder.config.pre_calibrated = True
otherwise it doesn’t save
encoder.config.pre_calibrated = True
I am guessing this is necessary and not a bug but just wanted to put it out there.