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