Skip to content

Commit

Permalink
Update at 'Sat Sep 28 12:13:39 PDT 2024'
Browse files Browse the repository at this point in the history
  • Loading branch information
mimizh2418 committed Sep 28, 2024
1 parent d9e13a5 commit 640978e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void execute() {
} else {
val -= DEADZONE;
}
elevator.setVoltage(-val * 12);
elevator.setVoltage(-val * 12 * 0.18);
} else {
elevator.holdPosition();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void setSetpointMeters(double positionMeters) {

@Override
public void setVoltage(double voltage) {
leader.setControl(voltageOut.withOutput(voltage));
leader.set(voltage);
}

@Override
Expand Down

0 comments on commit 640978e

Please sign in to comment.