From deee134cebd92d41d1552deb80f46c40b16d75b2 Mon Sep 17 00:00:00 2001 From: KP <86213869+Kanishk-Pandey@users.noreply.github.com> Date: Mon, 25 Mar 2024 12:34:30 -0400 Subject: [PATCH] Intake LED notification and turned up human player intake rpm by 500 Signed-off-by: KP <86213869+Kanishk-Pandey@users.noreply.github.com> --- src/main/java/frc/robot/commands/LEDCommands.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/java/frc/robot/commands/LEDCommands.java b/src/main/java/frc/robot/commands/LEDCommands.java index 8dc62001..ba2d7d62 100644 --- a/src/main/java/frc/robot/commands/LEDCommands.java +++ b/src/main/java/frc/robot/commands/LEDCommands.java @@ -70,12 +70,10 @@ public static Command dropNoteEmily(LEDs leds){ return startEnd( () -> { - if(!wantsHPI) { - candle.animate(new LarsonAnimation(255, 255, 50, 0, 0, stripLength, LarsonAnimation.BounceMode.Back, stripLength, candleLength), 0); - candle.animate(new LarsonAnimation(255, 255, 50, 0, 0, stripLength, LarsonAnimation.BounceMode.Front, stripLength, candleLength + stripLength), 1); - candle.animate(new LarsonAnimation(255, 255, 50, 0, 0, stripLength, LarsonAnimation.BounceMode.Back, stripLength, candleLength + stripLength*2), 2); - candle.animate(new LarsonAnimation(255, 255, 50, 0, 0, stripLength, LarsonAnimation.BounceMode.Front, stripLength, candleLength + stripLength*3), 3); - } + candle.animate(new LarsonAnimation(255, 255, 50, 0, 0, stripLength, LarsonAnimation.BounceMode.Back, stripLength, candleLength), 0); + candle.animate(new LarsonAnimation(255, 255, 50, 0, 0, stripLength, LarsonAnimation.BounceMode.Front, stripLength, candleLength + stripLength), 1); + candle.animate(new LarsonAnimation(255, 255, 50, 0, 0, stripLength, LarsonAnimation.BounceMode.Back, stripLength, candleLength + stripLength*2), 2); + candle.animate(new LarsonAnimation(255, 255, 50, 0, 0, stripLength, LarsonAnimation.BounceMode.Front, stripLength, candleLength + stripLength*3), 3); }, () -> { for (int i = 0; i < candle.getMaxSimultaneousAnimationCount(); i++) candle.clearAnimation(i);