Skip to content

Commit

Permalink
Revert "Update MoveToTagAndShootSpeaker.java"
Browse files Browse the repository at this point in the history
This reverts commit 8525b64.
  • Loading branch information
bforcum committed Mar 30, 2024
1 parent 8525b64 commit 0d03d5e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 0d03d5e

Please sign in to comment.