Purge code of all unused fields/classes. Only testing code.
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / shooter / Shoot.java
CommitLineData
6bb7f8ac 1package org.usfirst.frc.team3501.robot.commands.shooter;
9728080f 2
e4fbab02 3import org.usfirst.frc.team3501.robot.Constants;
376b38ae 4
071ab315
KZ
5import edu.wpi.first.wpilibj.command.CommandGroup;
6import edu.wpi.first.wpilibj.command.WaitCommand;
376b38ae 7
071ab315 8public class Shoot extends CommandGroup {
376b38ae 9
24850996 10 public boolean usePhotogate;
11
e4fbab02
HD
12 /**
13 * Fires catapult, then resets after a pause. If robot is set to use photogate
14 * and no ball is detected, nothing happens.
15 *
16 * Precondition: catapult is in reset position, and ball is loaded in
17 * catapult.
18 */
071ab315 19 public Shoot() {
f8bfcc62
HD
20 addSequential(new FireCatapult());
21 addSequential(new WaitCommand(Constants.Shooter.WAIT_TIME));
22 addSequential(new ResetCatapult());
071ab315 23 }
376b38ae 24}