Skip to content

Commit

Permalink
led note allign
Browse files Browse the repository at this point in the history
  • Loading branch information
elvizer committed Oct 20, 2024
1 parent 5130512 commit 8774950
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ private void configureBindings() {
_visionSubsystem,
() -> MathUtil.applyDeadband(-_driveFilterLeftY.calculate(_driveController.getLeftY()), 0.05),
() -> MathUtil.applyDeadband(-_driveFilterLeftX.calculate(_driveController.getLeftX()), 0.05)
));
)).whileTrue(Commands.run(() -> { _ledSubsystem.blink(LEDColors.ORANGE, LEDColors.NOTHING, 0.2);
}, _ledSubsystem));

_driveController.L2().whileTrue(
new AutoAim(
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/frc/robot/commands/auto/AutonShoot.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ public AutonShoot(
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.OUTTAKE).withTimeout(0.5)
Expand Down

0 comments on commit 8774950

Please sign in to comment.