Finish command group for shooter
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / shooter / Shoot.java
1 package org.usfirst.frc.team3501.robot.commands.shooter;
2
3 import org.usfirst.frc.team3501.robot.commands.auton.AimAndAlign;
4
5 import edu.wpi.first.wpilibj.command.CommandGroup;
6 import edu.wpi.first.wpilibj.command.WaitCommand;
7
8 public class Shoot extends CommandGroup {
9
10 public Shoot() {
11 addSequential(new AimAndAlign());
12 addSequential(new WaitCommand(3.0));
13 addSequential(new runShooter());
14 addSequential(new WaitCommand(3.0));
15 addSequential(new ExtendPunch());
16 addSequential(new WaitCommand(5.0));
17 addSequential(new RetractPunch());
18 }
19 }