X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FShoot.java;h=498309c0d7e5a67f6a32ee342d8f27adb4169d61;hb=7988f380b7cf243129ad2678b2d3f5c300ad29c4;hp=f0416b4eb11a64f34258dabc3ff5f9dd389c861e;hpb=9e9154afeb74372b98fb56c9288d5513e8ba6517;p=3501%2Fstronghold-2016 diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/Shoot.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/Shoot.java index f0416b4e..498309c0 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/Shoot.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/Shoot.java @@ -1,14 +1,12 @@ package org.usfirst.frc.team3501.robot.commands.shooter; -import org.usfirst.frc.team3501.robot.Constants; +import org.usfirst.frc.team3501.robot.Constants.Shooter; import edu.wpi.first.wpilibj.command.CommandGroup; import edu.wpi.first.wpilibj.command.WaitCommand; public class Shoot extends CommandGroup { - public boolean usePhotogate; - /** * Fires catapult, then resets after a pause. If robot is set to use photogate * and no ball is detected, nothing happens. @@ -18,7 +16,7 @@ public class Shoot extends CommandGroup { */ public Shoot() { addSequential(new FireCatapult()); - addSequential(new WaitCommand(Constants.Shooter.WAIT_TIME)); + addSequential(new WaitCommand(Shooter.WAIT_TIME)); addSequential(new ResetCatapult()); } }