1 package org
.usfirst
.frc
.team3501
.robot
.commands
.shooter
;
3 import edu
.wpi
.first
.wpilibj
.command
.CommandGroup
;
6 * This command group performs the sequence of steps to shoot at the high goal
8 * pre-conditions: the catapult is down, a ball is in the intake, and the intake
9 * is in the up position
11 * post-conditions: catapult is retracted, intake is extended
13 public class ShootAtHighGoal
extends CommandGroup
{
15 public ShootAtHighGoal() {
16 // check that the catapult is down and change accordingly
18 // (if photogate) check if ball is in intake
20 // make sure intake is in up position and change accordingly
22 // shoot catapult pistons
24 // extend intake (ball actually shoots here)
26 // retract catapult pistons