From 0d03d5e22bf8c554010b5e7dedb8fede5af47476 Mon Sep 17 00:00:00 2001 From: DigitalFork <113265535+DigitalFork@users.noreply.github.com> Date: Sat, 30 Mar 2024 15:56:28 -0700 Subject: [PATCH] Revert "Update MoveToTagAndShootSpeaker.java" This reverts commit 8525b645d01b1b86922c416d7e53fbd425edd29f. --- .../java/frc/robot/commands/MoveToTagAndShootSpeaker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/commands/MoveToTagAndShootSpeaker.java b/src/main/java/frc/robot/commands/MoveToTagAndShootSpeaker.java index c28a473..bd7c90d 100644 --- a/src/main/java/frc/robot/commands/MoveToTagAndShootSpeaker.java +++ b/src/main/java/frc/robot/commands/MoveToTagAndShootSpeaker.java @@ -45,12 +45,12 @@ public void initialize() { Translation2d transGoal = trans.getTranslation().toTranslation2d() .plus(new Translation2d(-tagOffset, 0).rotateBy(rotateGoal.unaryMinus())); Command command = Commands.sequence( - new SpinFlywheelShooter(shooter, IntakeShooterConstants.FLYWHEEL_SHOOTER_SPEED_AMP), + new SpinFlywheelShooter(shooter, IntakeShooterConstants.FLYWHEEL_SHOOTER_SPEED_SPEAKER), Commands.parallel(Commands.sequence(new AutoRotateTo(drivetrain, rotateGoal), new AutoDriveTo(drivetrain, transGoal)), new WaitCommand(1.0), - new ArmRotateTo(arm, ArmConstants.ARM_AMP_SHOOTING_DEGREES), + new ArmRotateTo(arm, ArmConstants.ARM_SPEAKER_SHOOTING_DEGREES), new SpinIntakeGrabbers(shooter, IntakeShooterConstants.INTAKE_GRABBER_SPEED_SPEAKER), new WaitCommand(0.3), new SpinFlywheelShooter(shooter, 0.0),