X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FShootAtHighGoal.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FShootAtHighGoal.java;h=5ecc8091a64de82af8b18863ca9cdc729840c25c;hb=e062fd0698aa9583dd007f3a3759dd2adc9d2010;hp=0000000000000000000000000000000000000000;hpb=53b6c82dab184bcfa94e27f507e390e01d9ac476;p=3501%2Fstronghold-2016 diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/ShootAtHighGoal.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/ShootAtHighGoal.java new file mode 100755 index 00000000..5ecc8091 --- /dev/null +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/ShootAtHighGoal.java @@ -0,0 +1,29 @@ +package org.usfirst.frc.team3501.robot.commands.shooter; + +import edu.wpi.first.wpilibj.command.CommandGroup; + +/** + * This command group performs the sequence of steps to shoot at the high goal + * + * pre-conditions: the catapult is down, a ball is in the intake, and the intake + * is in the up position + * + * post-conditions: catapult is retracted, intake is extended + */ +public class ShootAtHighGoal extends CommandGroup { + + public ShootAtHighGoal() { + // check that the catapult is down and change accordingly + + // (if photogate) check if ball is in intake + + // make sure intake is in up position and change accordingly + + // shoot catapult pistons + + // extend intake (ball actually shoots here) + + // retract catapult pistons + + } +}