I am using two hub motor for my differential drive system having an incremental encoder of 4069 resolution with no index. And i want to run in AXIS_STATE_CLOSED_LOOP_CONTROL. I did the calibration for motor and encoder but after rebooting the driver the encoder.is_ready is toggling back to false hence i cannot change to AXIS_STATE_CLOSED_LOOP_CONTROL. Since its been used for differential drive system calibration after every reboot is not possible. Since I want to run in CLOSED LOOP VELOCITY MODE so after every reboot current motor position is not required.
How can i solve this issue?