Spinnout after anticog

I have a pair of 6354 190kv motors with 8192 CPR encoders, I am running anticog on them and immediately after finishing it tries to go to the zero point (both in pass through velocity control)

Anyone have suggestions as to why they are doing this? Or a way I can prevent them from moving after calibration?

This is the error that they give after finishing anticog then freaking out

system: no error
axis0
axis: no error
motor: no error
DRV fault: none
sensorless_estimator: no error
encoder: no error
controller: no error
axis1
axis: Error(s):
AxisError.MOTOR_FAILED
motor: Error(s):
MotorError.SYSTEM_LEVEL
DRV fault: none
sensorless_estimator: no error
encoder: no error
controller: no error
None

system: Error(s):
ODriveError.BAD_CONFIG
axis0
axis: Error(s):
AxisError.MOTOR_FAILED
AxisError.CONTROLLER_FAILED
motor: Error(s):
MotorError.SYSTEM_LEVEL
MotorError.UNKNOWN_TORQUE
DRV fault: none
sensorless_estimator: no error
encoder: no error
controller: Error(s):
ControllerError.SPINOUT_DETECTED
axis1
axis: Error(s):
AxisError.MOTOR_FAILED
motor: Error(s):
MotorError.SYSTEM_LEVEL
DRV fault: none
sensorless_estimator: no error
encoder: no error
controller: no error
None

Issue resolved, I made a loop to check if the anticog was still active, and it sets the axis to idle as soon as it ends

1 Like