public DriveDistance(double distance, double maxTimeOut) {
requires(driveTrain);
this.target = distance;
+
this.driveController = driveTrain.getDriveController();
this.driveController.setDoneRange(0.5);
- this.driveController.setMaxOutput(motorVal);
+ this.driveController.setMaxOutput(1.1);
this.driveController.setMinDoneCycles(5);
}