X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fauton%2FPassLowBar.java;h=8311a59baffe0cff0c3290d880bd82c1e3bef292;hb=882a0965e8b719188012db76d64f28d9d9329e21;hp=83d934f3be7ce696a54b4c48f7f6b89f973cc468;hpb=0022ac840c253c586de298ce6dc26c833625cc58;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 83d934f3..8311a59b 100644 --- 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,6 @@ package org.usfirst.frc.team3501.robot.commands.auton; +import org.usfirst.frc.team3501.robot.Constants.Auton; import org.usfirst.frc.team3501.robot.Constants.IntakeArm; import org.usfirst.frc.team3501.robot.commands.driving.TimeDrive; import org.usfirst.frc.team3501.robot.commands.intakearm.MoveIntakeArm; @@ -12,8 +13,7 @@ import edu.wpi.first.wpilibj.command.CommandGroup; public class PassLowBar extends CommandGroup { public PassLowBar() { - addSequential(new TimeDrive(.3, 1)); addSequential(new MoveIntakeArm(IntakeArm.EXTEND)); - addSequential(new TimeDrive(.5, 3)); + addSequential(new TimeDrive(Auton.LOW_BAR_TIME, Auton.LOW_BAR_SPEED)); } }