X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fauton%2FPassLowBar.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fauton%2FPassLowBar.java;h=cbdaeef6fd54e36c0e46ef339cd5c41c4e5efee5;hb=dfcc1b2194b4c82b295440af9b408b6b46f40e03;hp=c03ce143465c5b9a58ba08ece9f6cb3cfc556719;hpb=1fb6ed96403e3cd89640a375a690d34ea331d6c2;p=3501%2Fstronghold-2016 diff --git a/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java b/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java index c03ce143..cbdaeef6 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java +++ b/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java @@ -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)); } }