Skip to content

Commit

Permalink
changed autoaim
Browse files Browse the repository at this point in the history
cherriae committed Oct 20, 2024
1 parent e6d5d6b commit c3b263b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/frc/robot/commands/auto/AutonShoot.java
Original file line number Diff line number Diff line change
@@ -33,9 +33,8 @@ public AutonShoot(
// This command will squeeze the note and rev up the shooter if needed, all while auto-aiming.
new ParallelCommandGroup(
new SpinShooter(shooter, ShooterState.SHOOT, true).andThen(new WaitUntilCommand(shooter::isRevved)),
new FeedActuate(intake, FeedMode.INTAKE).withTimeout(1).onlyIf(() -> !intake.hasNoteAuton())
// ,
// new AutoAim(swerve, shooter, elevator)
new FeedActuate(intake, FeedMode.INTAKE).withTimeout(1).onlyIf(() -> !intake.hasNoteAuton()),
new AutoAim(swerve, shooter, elevator)
),

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

0 comments on commit c3b263b

Please sign in to comment.