X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fauton%2FPassLowBar.java;h=be002264643edb554842d88bba54b94137f24b3b;hb=0f3df681ca44dc9f5c77f61326e1d7b0143ca2b9;hp=9ee3e6eeaff831dfadd8f25d2a639f528930e3cf;hpb=ca325a5866b4f601b171b02ac767393bd996d44a;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 9ee3e6ee..be002264 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java +++ b/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java @@ -25,13 +25,13 @@ import edu.wpi.first.wpilibj.command.CommandGroup; public class PassLowBar extends CommandGroup { public PassLowBar() { - if (Constants.Auton.isUsingTime) { - addSequential(new DriveForTime(Constants.Auton.passLowBarTime, - Constants.Auton.passLowBarSpeed)); + if (Constants.Auton.IS_USING_TIME) { + addSequential(new DriveForTime(Constants.Auton.PASS_LOW_BAR_TIME, + Constants.Auton.PASS_LOW_BAR_SPEED)); } else { addSequential(new DriveDistance( - Constants.Auton.passLowBarDistance, + Constants.Auton.PASS_LOW_BAR_DIST, Constants.DriveTrain.PASS_DEFENSE_TIMEOUT)); } }