From c8db109fda6659b8e6161af2435a045d25d4a601 Mon Sep 17 00:00:00 2001 From: cuttestkittensrule Date: Thu, 18 Apr 2024 08:15:53 -0700 Subject: [PATCH] added herd button --- Robot2024/src/main/java/com/team2813/RobotContainer.java | 2 +- .../src/main/java/com/team2813/subsystems/ShooterPivot.java | 1 + 2 files 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 7c885ad..f5b6f44 100644 --- a/Robot2024/src/main/java/com/team2813/RobotContainer.java +++ b/Robot2024/src/main/java/com/team2813/RobotContainer.java @@ -205,7 +205,7 @@ private void configureBindings(AutoCommands autoCommands) { shootWooferFront.onTrue(autoCommands.shootFront()); shootWooferSide.onTrue(autoCommands.shootSide()); - shootAmp.onTrue(new ShootFromPosCommand(mag, shooter, shooterPivot, Position.AMP, 50)); + shootAmp.onTrue(new ShootFromPosCommand(mag, shooter, shooterPivot, Position.AMP, 75)); shootPodium.onTrue(autoCommands.shootPodium()); farSpeaker.onTrue(autoCommands.farSpeaker()); autoAimButton.onTrue(new AutoAimCommand(shooter, shooterPivot, mag, drive)); diff --git a/Robot2024/src/main/java/com/team2813/subsystems/ShooterPivot.java b/Robot2024/src/main/java/com/team2813/subsystems/ShooterPivot.java index a990f3c..cd97a97 100644 --- a/Robot2024/src/main/java/com/team2813/subsystems/ShooterPivot.java +++ b/Robot2024/src/main/java/com/team2813/subsystems/ShooterPivot.java @@ -71,6 +71,7 @@ public static enum Position implements MotorSubsystem.Position { TEST(0.067871), FAR_SPEAKER(0.088135), SOURCE_INTAKE(0.048096), + HERD(0.0494385), BOTTOM_HARD_STOP(0.099854); private final double pos;