X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;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=8f35a25cd393b9275d317cec4ac5f67a0101e557;hp=49b085d09e6a8ecf11ecd47cd325da75dd5267b3;hb=600a1a1c0e90c03a198c6036de8e5157b7f96af3;hpb=9728080f491e9fb09795494349dba1297f447c0f 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 49b085d0..8f35a25c 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.DeadReckoning.isUsingTimeToPassDefense) { - addSequential(new DriveForTime(Constants.DeadReckoning.passLowBarTime, - Constants.DeadReckoning.passLowBarSpeed)); + if (Constants.Auton.isUsingTimeToPassDefense) { + addSequential(new DriveForTime(Constants.Auton.passLowBarTime, + Constants.Auton.passLowBarSpeed)); } else { addSequential(new DriveDistance( - Constants.DeadReckoning.passLowBarDistance, + Constants.Auton.passLowBarDistance, Constants.DriveTrain.PASS_DEFENSE_TIMEOUT)); } }