Skip to content

Commit

Permalink
Updated Elevator Control #'s
Browse files Browse the repository at this point in the history
  • Loading branch information
OakvilleDynamicsProgrammer committed Mar 11, 2024
1 parent a3f9d38 commit 20c3412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/commands/ElevatorControl.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public void initialize() {}
// Called every time the scheduler runs while the command is scheduled.
@Override
public void execute() {
if (ElevatorJoystick.getThrottle() <= 15) {
if (ElevatorJoystick.getThrottle() <= -0.85) {
ElevatorSubsystem.up();
} else if (ElevatorJoystick.getThrottle() >= 85) {
} else if (ElevatorJoystick.getThrottle() >= 0.85) {
ElevatorSubsystem.down();
}
}
Expand Down

0 comments on commit 20c3412

Please sign in to comment.