X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fauton%2FPassLowBar.java;h=3f43356e72ef349d26ff0e73bce71ceff2950a44;hb=c688e9da1214ed9257214a0b265a1c1b7eeb1506;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..3f43356e 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_TIMEpassLowBarTime, + Constants.Auton.PASS_LOW_BAR_SPEED)); } else { addSequential(new DriveDistance( - Constants.Auton.passLowBarDistance, + Constants.Auton.PASS_LOW_BAR_DIST, Constants.DriveTrain.PASS_DEFENSE_TIMEOUT)); } }