update command names
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassLowBar.java
index c03ce143465c5b9a58ba08ece9f6cb3cfc556719..cbdaeef6fd54e36c0e46ef339cd5c41c4e5efee5 100755 (executable)
@@ -1,5 +1,7 @@
 package org.usfirst.frc.team3501.robot.commands.auton;
 
+import org.usfirst.frc.team3501.robot.commands.driving.DriveDistance;
+
 import edu.wpi.first.wpilibj.command.CommandGroup;
 
 /***
@@ -8,7 +10,7 @@ import edu.wpi.first.wpilibj.command.CommandGroup;
  * dependency on sensors: encoders
  * dependency on subsystems: drivetrain
  * dependency on other commands: DriveForDist
- * 
+ *
  * pre-condition: robot is flush against the ramp of the outerworks in front of
  * the low bar
  *
@@ -24,11 +26,12 @@ public class PassLowBar extends CommandGroup {
   private final double DEFAULT_SPEED = 0.5;
 
   public PassLowBar() {
-    // TODO: need to add sequential for retracting the arms and shooting hood once those commands are made
-    addSequential(new DriveForDistance(DISTANCE, DEFAULT_SPEED));
+    // TODO: need to add sequential for retracting the arms and shooting hood
+    // once those commands are made
+    addSequential(new DriveDistance(DISTANCE, DEFAULT_SPEED));
   }
 
   public PassLowBar(double speed) {
-    addSequential(new DriveForDistance(DISTANCE, speed));
+    addSequential(new DriveDistance(DISTANCE, speed));
   }
 }