From f4e076d5439a87f79371454b1759938ce749b515 Mon Sep 17 00:00:00 2001 From: cuttestkittensrule Date: Thu, 18 Apr 2024 07:49:47 -0700 Subject: [PATCH] added herd button --- Robot2024/src/main/java/com/team2813/RobotContainer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Robot2024/src/main/java/com/team2813/RobotContainer.java b/Robot2024/src/main/java/com/team2813/RobotContainer.java index 42e2cd0..7c885ad 100644 --- a/Robot2024/src/main/java/com/team2813/RobotContainer.java +++ b/Robot2024/src/main/java/com/team2813/RobotContainer.java @@ -35,6 +35,7 @@ import com.team2813.commands.DefaultShooterCommand; import com.team2813.commands.LockFunctionCommand; import com.team2813.commands.SaveSwerveOffsetsCommand; +import com.team2813.commands.ShootFromPosCommand; import com.team2813.subsystems.Amp; import com.team2813.subsystems.Climber; import com.team2813.subsystems.Drive; @@ -204,7 +205,7 @@ private void configureBindings(AutoCommands autoCommands) { shootWooferFront.onTrue(autoCommands.shootFront()); shootWooferSide.onTrue(autoCommands.shootSide()); - shootAmp.onTrue(autoCommands.shootAmp()); + shootAmp.onTrue(new ShootFromPosCommand(mag, shooter, shooterPivot, Position.AMP, 50)); shootPodium.onTrue(autoCommands.shootPodium()); farSpeaker.onTrue(autoCommands.farSpeaker()); autoAimButton.onTrue(new AutoAimCommand(shooter, shooterPivot, mag, drive));