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);