finish implement driveDistance and TurnForAngle using PID algorithm
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / driving / DriveDistance.java
index 5c0c20b92a7ee20f2a83d0fbaec3da6792462aba..b569958fafa4cb432d120f85a4b9981fed390e80 100755 (executable)
@@ -70,14 +70,12 @@ public class DriveDistance extends Command {
       xVal = -this.gyroController
           .calcPID(this.driveTrain.getAngle() - this.driveTrain.getZeroAngle());
     }
-    // System.out.println("turn: " + xVal);
     double leftDrive = yVal - xVal;
     double rightDrive = yVal + xVal;
 
     this.driveTrain.setMotorValues(leftDrive, rightDrive);
 
     driveTrain.printEncoderOutput();
-    // System.out.println("motorval: " + yVal);
   }
 
   @Override