add motorVal parameter to DriveDistance and TurnForAngle commands
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / driving / TurnForAngle.java
index becaa3a2b759b4289abdf36b675b2f621c1f9127..993adc8c5b46922c1cb6ad5d0fc1565af8cec7ca 100755 (executable)
@@ -10,13 +10,13 @@ import edu.wpi.first.wpilibj.command.Command;
  * either left or right
  *
  * parameters:
- * angle the robot will turn - in degrees
- * direction the robot will turn - either right or left
- *
+ * angle: the robot will turn - in degrees
+ * direction: the robot will turn - either right or left
+ * motorVal: the motor input to set the motors to
  */
 public class TurnForAngle extends Command {
 
-  public TurnForAngle(double angle, Direction direction) {
+  public TurnForAngle(double angle, Direction direction, double motorVal) {
     requires(Robot.getDriveTrain());
   }