VCS Brake Code


In VCS, there is a

vex::motor.setStopping(brakeType brake)

statement that I found rather useful to my team, unfortunately, it did not appear to have an effect and in some instances caused the motors to go out of control. Is there another way to do this that will work? I saw that there are 3 brake types and am unsure how to do this. To further clarify, I am looking for something that will help prevent the motors from moving, and if this is not feasible, is there a physical solution?


Try using "Motor.stop(brakeType: : hold); and if you’re looking to release the brake at any given moment, use coast instead of hold. Hold literally locks the motor, almost impossible to move it without breaking it which would require more force than you would probably encounter in a regular match.