package org.usfirst.frc.team3501.robot.commands.auton;
+import org.usfirst.frc.team3501.robot.commands.driving.DriveDistance;
+
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
*
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));
}
}