fix alot of unnecessary/not used code and init gyroController
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / driving / DriveDistance.java
index d78ab4b58926acf40a186886b5b5f423d8d45ca1..ccbe5fd25c7056e86e15d7f00b42e05fa91107e9 100755 (executable)
@@ -28,12 +28,6 @@ public class DriveDistance extends Command {
     requires(driveTrain);
     this.maxTimeOut = maxTimeOut;
     this.target = distance;
-
-    this.driveP = driveTrain.driveP;
-    this.driveI = driveTrain.driveI;
-    this.driveD = driveTrain.driveD;
-    this.gyroP = driveTrain.driveStraightGyroP;
-
     this.driveController = driveTrain.getDriveController();
     this.driveController.setDoneRange(0.5);
     this.driveController.setMaxOutput(1.0);