Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit 447e316

Browse files
committed
whoops inserted in wrong place
1 parent c7a5809 commit 447e316

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • Robot2018/src/org/usfirst/frc/team199/Robot2018

Robot2018/src/org/usfirst/frc/team199/Robot2018/OI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ public OI() {
7979
shiftDriveType = new JoystickButton(leftJoy, getButton("Shift Drive Type", 2));
8080
shiftDriveType.whenPressed(new ShiftDriveType());
8181
PIDMove = new JoystickButton(leftJoy, getButton("PID Move", 7));
82-
PIDMove.whenPressed(new PIDMove(40), Robot.dt);
82+
PIDMove.whenPressed(new PIDMove(40, Robot.dt));
8383
PIDTurn = new JoystickButton(leftJoy, getButton("PID Turn", 8));
84-
PIDTurn.whenPressed(new PIDTurn(30), Robot.dt);
84+
PIDTurn.whenPressed(new PIDTurn(30, Robot.dt));
8585

8686
rightJoy = new Joystick(1);
8787
updatePidConstants = new JoystickButton(rightJoy, getButton("Get PID Constants", 8));

0 commit comments

Comments
 (0)