Moderately streamline imports of constants
[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
7988f380 3import org.usfirst.frc.team3501.robot.Constants.Shooter;
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
e4fbab02
HD
10 /**
11 * Fires catapult, then resets after a pause. If robot is set to use photogate
12 * and no ball is detected, nothing happens.
13 *
14 * Precondition: catapult is in reset position, and ball is loaded in
15 * catapult.
16 */
071ab315 17 public Shoot() {
f8bfcc62 18 addSequential(new FireCatapult());
7988f380 19 addSequential(new WaitCommand(Shooter.WAIT_TIME));
f8bfcc62 20 addSequential(new ResetCatapult());
071ab315 21 }
376b38ae 22}