Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Change Speed
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavsial committed Nov 21, 2024
1 parent 4426ac2 commit 809b0a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void run(Context context){
context.takeOwnership(Robot.elevator);
Robot.elevator.resetEncoder();

controller = new PIDController(0.1, 0, 0.0002, -0.1, 0.1, 0.01);
controller = new PIDController(0.1, 0, 0.0002, -1, 1, 0.01);
controller.setSetpoint(setpoint);
SmartDashboard.putNumber("Setpoint", setpoint);

Expand Down

0 comments on commit 809b0a9

Please sign in to comment.