fix command names and get rid of unused stuff
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassLowBar.java
index 5a7ef5b4208e8552e5c9df539e1fd63d3ea4bf1b..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
  *
@@ -20,10 +26,12 @@ public class PassLowBar extends CommandGroup {
   private final double DEFAULT_SPEED = 0.5;
 
   public PassLowBar() {
-    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));
   }
 }