toggle menu
2024Crescendo
jvm
switch theme
search in API
2024Crescendo
/
frc.robot.subsystems
/
SwerveSubsystem
/
setMotorBrake
set
Motor
Brake
fun
setMotorBrake
(
brake
:
Boolean
)
Method to toggle the motor's brakes.
Parameters
brake
Whether to set the motor's brakes to true or false.