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

Commit 5b6d7c6

Browse files
committed
fix what alex fixed in his code
1 parent 8132f04 commit 5b6d7c6

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

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

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/PIDMove.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ public PIDMove(double[] point, DrivetrainInterface dt, SmartDashboardInterface s
8181
if (Robot.dt != null) {
8282
requires(Robot.dt);
8383
}
84-
moveController = new PIDController(sd.getConst("MovekP", 1), sd.getConst("MovekI", 0), sd.getConst("MovekD", 0),
85-
avg, this);
8684
double kf = 1 / (dt.getCurrentMaxSpeed() * sd.getConst("Default PID Update Time", 0.05));
8785
moveController = new PIDController(sd.getConst("MovekP", 1), sd.getConst("MovekI", 0), sd.getConst("MovekD", 0),
8886
kf, avg, this);

0 commit comments

Comments
 (0)