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.
*/
public Shoot() {
addSequential(new FireCatapult());
- addSequential(new WaitCommand(Constants.Shooter.WAIT_TIME));
+ addSequential(new WaitCommand(Shooter.WAIT_TIME));
addSequential(new ResetCatapult());
}
}