1 package org
.usfirst
.frc
.team3501
.robot
.commandgroups
;
3 import org
.usfirst
.frc
.team3501
.robot
.commands
.shooter
.RunFlyWheel
;
4 import org
.usfirst
.frc
.team3501
.robot
.commands
.shooter
.RunIndexWheel
;
6 import edu
.wpi
.first
.wpilibj
.command
.CommandGroup
;
7 import edu
.wpi
.first
.wpilibj
.command
.WaitCommand
;
12 public class Shoot
extends CommandGroup
{
14 public Shoot(double time
) {
15 addParallel(new RunFlyWheel(time
));
16 addSequential(new WaitCommand(2));
17 addParallel(new RunIndexWheel(time
- 2));