For drivers to have more control, it is important for them to stop any command that is running through the joystick easily. To do this last year, we had the command end when the button was released from the joystick. This functionality isn't provided in WPILib.
[ ] JoystickButton or FluidJoystickButton to include runWhenHeld() method
For drivers to have more control, it is important for them to stop any command that is running through the joystick easily. To do this last year, we had the command end when the button was released from the joystick. This functionality isn't provided in WPILib.
JoystickButton
orFluidJoystickButton
to includerunWhenHeld()
method