Brake brake only works some of the time

I recently switched to vexcode and my driver will only drive on braketype::brake which was fine before but now brake will only work some of the time. I do not download and sometimes when I start the code sometimes coasts but sometimes it brakes.

1 Like

put this in your pre-auton function for each drive motor, or any motor you want to apply a stopping to (default is coast)

I’m assuming you already know this, but the types of stoppings are coast, brake, and hold.

motor.setStopping(brake);