code review changes
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commandgroups / Shoot.java
CommitLineData
f43a1c52
CZ
1package org.usfirst.frc.team3501.robot.commandgroups;
2
b70398a7
CZ
3import org.usfirst.frc.team3501.robot.commands.shooter.RunFlyWheel;
4import org.usfirst.frc.team3501.robot.commands.shooter.RunIndexWheel;
5
f43a1c52 6import edu.wpi.first.wpilibj.command.CommandGroup;
b70398a7 7import edu.wpi.first.wpilibj.command.WaitCommand;
f43a1c52
CZ
8
9/**
10 *
11 */
12public class Shoot extends CommandGroup {
13
b70398a7
CZ
14 public Shoot(double time) {
15 addParallel(new RunFlyWheel(time));
16 addSequential(new WaitCommand(2));
17 addParallel(new RunIndexWheel(time - 2));
18 }
f43a1c52 19}