add hella auton
[3501/3501-spark-go] / src / org / usfirst / frc / team3501 / robot / autons / DriveOverStep.java
index 22986611bc8306cea529d00525f0af25b2aa0990..f70b3d280d81aa5acc0b74e853b9ab58540b3118 100644 (file)
@@ -12,7 +12,13 @@ public class DriveOverStep extends CommandBase {
         requires(drivetrain);
 
         setTimeout(RobotMap.OVER_STEP_TIME);
-        this.speed = RobotMap.OVER_STEP_SPEED;
+        speed = RobotMap.OVER_STEP_SPEED;
+    }
+
+    // TODO: this is an ugly "solution"
+    public DriveOverStep(int coef) {
+        this();
+        this.speed *= coef;
     }
 
     protected void execute() {