From 6b1e62fdae4bfd3796d81fe19c73ab1f7ecb4c60 Mon Sep 17 00:00:00 2001 From: Mackenzie Racoop Date: Tue, 2 Apr 2024 16:48:38 -0400 Subject: [PATCH] changed it so that if intake has note (both on auto aim enabled and auto aim not enabled) LEDs will blink yellow (NOT TESTED) --- .../frc/robot/subsystems/leds/commands/CmdLEDsRunLEDs.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/subsystems/leds/commands/CmdLEDsRunLEDs.java b/src/main/java/frc/robot/subsystems/leds/commands/CmdLEDsRunLEDs.java index fb4319f..b146380 100644 --- a/src/main/java/frc/robot/subsystems/leds/commands/CmdLEDsRunLEDs.java +++ b/src/main/java/frc/robot/subsystems/leds/commands/CmdLEDsRunLEDs.java @@ -47,7 +47,7 @@ public void execute() { _leds.runAnimation(LEDAnimation.SolidGreen); } else{ // if we have a note but are not in position then we are not ready. - _leds.runAnimation(LEDAnimation.SolidRed); + _leds.runAnimation(LEDAnimation.PickedUpNote); } // } else if (_leds.shouldRunHasNoteAnimation(_intake.hasNote())) { // // Only run this animation one time, right when the intake first picks up a note @@ -55,7 +55,7 @@ public void execute() { // _leds.runAnimation(LEDAnimation.PickedUpNote); // } } else if(_intake.hasNote()){ - _leds.runAnimation(LEDAnimation.SolidYellow); + _leds.runAnimation(LEDAnimation.PickedUpNote); } else{ // solid orange when we are doing nothing