Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into dev
  • Loading branch information
ControlsNarwhal committed Oct 19, 2023
2 parents 74c9796 + ba8d811 commit 65ad3bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/frc/team3128/commands/CmdManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ public static CommandBase pickup(Position position, boolean runImmediately) {
extend(position),
intake(position.cone)
),
retract(Position.NEUTRAL)
retract(Position.NEUTRAL),
runOnce(()-> leds.setElevatorLeds(Colors.DEFAULT))
);
}

Expand Down Expand Up @@ -112,7 +113,8 @@ public static CommandBase intake(Boolean cone) {
waitSeconds(0.2),
waitUntil(()-> manipulator.hasObjectPresent()),
waitSeconds(cone ? 0.15 : 0),
runOnce(()-> manipulator.stallPower(), manipulator)
runOnce(()-> manipulator.stallPower(), manipulator),
runOnce(()-> leds.setElevatorLeds(Colors.HOLDING))
);
}

Expand Down

0 comments on commit 65ad3bc

Please sign in to comment.