From 01a55493d2e29cfa9528f0323a2271fc04d40c6b Mon Sep 17 00:00:00 2001 From: PGgit08 Date: Fri, 5 Apr 2024 09:38:05 -0400 Subject: [PATCH] stop shooter when amp --- src/main/java/frc/robot/RobotContainer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 0af5a85..45726c8 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -156,7 +156,8 @@ private void configureBindings() { _operatorController.R1().whileTrue( Commands.parallel( new SetShooter(_shooterSubsystem, () -> Presets.SHOOTER_AMP_HANDOFF), - new SetElevator(_elevatorSubsystem, () -> Presets.ELEVATOR_AMP_HANDOFF) + new SetElevator(_elevatorSubsystem, () -> Presets.ELEVATOR_AMP_HANDOFF), + new SpinShooter(_shooterSubsystem, ShooterState.NONE, true) ) );