add motorVal parameter to DriveDistance and TurnForAngle commands
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / driving / DriveDistance.java
index 2af7387150068f67bf2e102dd5044a814f2fc73e..8af1bcbfc3f9e21d9756dc808916539473aedcdf 100755 (executable)
@@ -10,10 +10,11 @@ import edu.wpi.first.wpilibj.command.Command;
  *
  * parameters:
  * distance the robot will move in inches
+ * motorVal: the motor input to set the motors to
  */
 public class DriveDistance extends Command {
 
-  public DriveDistance(double distance) {
+  public DriveDistance(double distance, double motorVal) {
     requires(Robot.getDriveTrain());
   }