add pre/post conditions and pseudo code
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / shooter / ShootAtHighGoal.java
CommitLineData
e062fd06
ME
1package org.usfirst.frc.team3501.robot.commands.shooter;
2
3import edu.wpi.first.wpilibj.command.CommandGroup;
4
5/**
6 * This command group performs the sequence of steps to shoot at the high goal
7 *
8 * pre-conditions: the catapult is down, a ball is in the intake, and the intake
9 * is in the up position
10 *
11 * post-conditions: catapult is retracted, intake is extended
12 */
13public class ShootAtHighGoal extends CommandGroup {
14
15 public ShootAtHighGoal() {
16 // check that the catapult is down and change accordingly
17
18 // (if photogate) check if ball is in intake
19
20 // make sure intake is in up position and change accordingly
21
22 // shoot catapult pistons
23
24 // extend intake (ball actually shoots here)
25
26 // retract catapult pistons
27
28 }
29}