Skip to content

Commit c3b263b

Browse files
committed
changed autoaim
1 parent e6d5d6b commit c3b263b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/frc/robot/commands/auto/AutonShoot.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ public AutonShoot(
3333
// This command will squeeze the note and rev up the shooter if needed, all while auto-aiming.
3434
new ParallelCommandGroup(
3535
new SpinShooter(shooter, ShooterState.SHOOT, true).andThen(new WaitUntilCommand(shooter::isRevved)),
36-
new FeedActuate(intake, FeedMode.INTAKE).withTimeout(1).onlyIf(() -> !intake.hasNoteAuton())
37-
// ,
38-
// new AutoAim(swerve, shooter, elevator)
36+
new FeedActuate(intake, FeedMode.INTAKE).withTimeout(1).onlyIf(() -> !intake.hasNoteAuton()),
37+
new AutoAim(swerve, shooter, elevator)
3938
),
4039

4140
new FeedActuate(intake, FeedMode.OUTTAKE).withTimeout(0.5)

0 commit comments

Comments
 (0)