Wheels continuously spin on goal

So, are code is being weird and we get to the goal in our autonomous and the front wheels spin over and over on the goal. Screenshot (120)

If you have suggestions, please respond.

Maybe the motor gets stuck and never reaches its target. since you are reading the condition from the back motor, the front keeps turning but the back gets stuck and never hits the threshold to stop the motors.

1 Like