fix command names and get rid of unused stuff
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassLowBar.java
index 9d9184d8d337de60362daa38b7059c8829ecb447..cbdaeef6fd54e36c0e46ef339cd5c41c4e5efee5 100755 (executable)
@@ -1,10 +1,16 @@
 package org.usfirst.frc.team3501.robot.commands.auton;
 
+import org.usfirst.frc.team3501.robot.commands.driving.DriveDistance;
+
 import edu.wpi.first.wpilibj.command.CommandGroup;
 
 /***
  * This command will drive the robot through the low bar.
  *
+ * 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
  *
@@ -22,10 +28,10 @@ public class PassLowBar extends CommandGroup {
   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));
+    addSequential(new DriveDistance(DISTANCE, DEFAULT_SPEED));
   }
 
   public PassLowBar(double speed) {
-    addSequential(new DriveForDistance(DISTANCE, speed));
+    addSequential(new DriveDistance(DISTANCE, speed));
   }
 }