Skip to content

Commit

Permalink
Added Amp Logic
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-les committed Oct 8, 2024
1 parent 60a4bcc commit 6cbd105
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/frc/team3128/commands/CmdManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,9 @@ public static Command ampFinAndDown(){
return sequence(
amper.fullExtend(),
waitUntil(() -> amper.atSetpoint()),
shooter.runKickMotor(1),
waitSeconds(1),
shooter.setShooting(true),
waitUntil(() -> !shooter.getShooting()),
amper.stopRollers(),
shooter.stopMotors(),
amper.retract()
);
}
Expand Down

0 comments on commit 6cbd105

Please sign in to comment.