private double driveI;
private double driveD;
- public DriveDistance(double distance, double maxTimeOut) {
+ public DriveDistance(double distance, double motorVal) {
requires(driveTrain);
this.maxTimeOut = maxTimeOut;
this.target = distance;
this.driveTrain.setMotorValues(leftDrive, rightDrive);
driveTrain.printEncoderOutput();
+ // System.out.println("turn: " + xVal);
}
@Override