I wish to know if there is a way to stop motors in PROS and have them hold, similar to the way that it can be done in VCS(see example below). The reason for this is to allow all drivetrain motors on a robot to essentially “lock,” where the bot cannot be moved because current is supplied to the motor to hold them in place.
driveLFMotor.stop(vex::brakeType::hold); driveLBMotor.stop(vex::brakeType::hold); driveRFMotor.stop(vex::brakeType::hold); driveRBMotor.stop(vex::brakeType::hold);
Is there any built-in way I can do this in PROS? Or would I have to make a function to spin the motor slightly opposite to what it is originally turning?