Skip to content

Commit

Permalink
Intake LED notification and turned up human player intake rpm by 500
Browse files Browse the repository at this point in the history
Signed-off-by: KP <86213869+Kanishk-Pandey@users.noreply.github.com>
  • Loading branch information
GBKP committed Mar 25, 2024
1 parent 8381540 commit deee134
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/main/java/frc/robot/commands/LEDCommands.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit deee134

Please sign in to comment.