Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…3-prebot into elevator
  • Loading branch information
Mason-Lam committed Sep 24, 2023
2 parents 8756c62 + 30d3aa9 commit 022b584
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/frc/team3128/commands/CmdManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public static CommandBase moveElevator(Elevator.States setpoint) {
waitUntil(() -> elevator.atSetpoint())
);
}

public static CommandBase moveElv(double speed) {
return runOnce(()-> elevator.set(speed), elevator);
}



Expand Down

0 comments on commit 022b584

Please sign in to comment.