ODrive change direction configuration causing SPINOUT_DETECTED error

I’m using bot wheels with external thermistor.
Load encoder : Incremental encoder
Commutation encoder : Hall encoder
Control mode : VELOCITY
Interface : UART
My motor rotates CW direction by default when input_vel is given as 1. Now my application requires to rotate the motor in CCW direction when input_vel is 1.
I tired this by changing axis0.config.motor.direction = -1
Now the motor rotates in CCW(this is what i need). But immediately i get SPINOUT_DETECTED .

Changing the direction parameter is strongly not recommended, and will affect encoder calibration. Why cannot you change the sent input_vel from the host computer?

Yes now i did the same.it works fine …thank you so much

Great to hear :slight_smile: