Skip to content

Commit 8774950

Browse files
committed
led note allign
1 parent 5130512 commit 8774950

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/main/java/frc/robot/RobotContainer.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ private void configureBindings() {
233233
_visionSubsystem,
234234
() -> MathUtil.applyDeadband(-_driveFilterLeftY.calculate(_driveController.getLeftY()), 0.05),
235235
() -> MathUtil.applyDeadband(-_driveFilterLeftX.calculate(_driveController.getLeftX()), 0.05)
236-
));
236+
)).whileTrue(Commands.run(() -> { _ledSubsystem.blink(LEDColors.ORANGE, LEDColors.NOTHING, 0.2);
237+
}, _ledSubsystem));
237238

238239
_driveController.L2().whileTrue(
239240
new AutoAim(

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

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public AutonShoot(
3434
new ParallelCommandGroup(
3535
new SpinShooter(shooter, ShooterState.SHOOT, true).andThen(new WaitUntilCommand(shooter::isRevved)),
3636
new FeedActuate(intake, FeedMode.INTAKE).withTimeout(1).onlyIf(() -> !intake.hasNoteAuton())
37+
// ,
38+
// new AutoAim(swerve, shooter, elevator)
3739
),
3840

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

0 commit comments

Comments
 (0)