X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FShootAtHighGoal.java;h=6d15cde8362194c3ca7ef19763a6a3f49929a827;hb=3082b8095b18f21683ac5f79492d7d4503ec05d4;hp=70817273d28a4fedf5bd3c17312b364a007a06ee;hpb=0496ee10adca9fb0bbeafba909c98c6d75823078;p=3501%2Fstronghold-2016 diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/ShootAtHighGoal.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/ShootAtHighGoal.java index 70817273..6d15cde8 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/ShootAtHighGoal.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/ShootAtHighGoal.java @@ -14,6 +14,7 @@ import edu.wpi.first.wpilibj.command.WaitCommand; * post-conditions: catapult is retracted, intake is extended */ public class ShootAtHighGoal extends CommandGroup { + private static final double WAIT_SECONDS = 0.4; public ShootAtHighGoal() { // make sure catapult is down @@ -29,7 +30,7 @@ public class ShootAtHighGoal extends CommandGroup { addSequential(new MoveIntakeArm(IntakeArm.EXTEND)); // wait a bit - addSequential(new WaitCommand(1.0)); + addSequential(new WaitCommand(WAIT_SECONDS)); // retract catapult pistons addSequential(new ResetCatapult());