Skip to content

Commit

Permalink
auto stow
Browse files Browse the repository at this point in the history
  • Loading branch information
JayK445 committed Nov 12, 2023
1 parent df9f51c commit 75024b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/commands/GroundPickupCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public GroundPickupCommand(

addCommands(
new IntakeModeCommand(intakeSubsystem, Modes.INTAKE, isCube)
.alongWith(new GroundIntakeElevatorCommand(elevatorSubsystem, isCube))
.deadlineWith(new GroundIntakeElevatorCommand(elevatorSubsystem, isCube))
.andThen(
new ElevatorPositionCommand(elevatorSubsystem, () -> Elevator.Setpoints.STOWED)));
}
Expand Down

0 comments on commit 75024b1

Please sign in to comment.