1 package org
.usfirst
.frc
.team3501
.robot
.commands
.auton
;
3 import edu
.wpi
.first
.wpilibj
.command
.Command
;
5 public class PassSallyPort
extends Command
{
7 * This command will only open the sally port pass through it. It will do this
8 * by hooking onto the port and driving backwards while rotating then driving
9 * backwards through the sally port.
11 * pre-condition: robot is in the neutral zone, flush against the ramp of the
12 * outerworks in front of the portcullis
14 * post-condition: the robot has passed the sally port and is in a courtyard
16 * note: to go from the courtyard to neutral zone, the driver just has to
17 * drive through the port
19 * @author Meryem and Avi
23 public PassSallyPort() {
27 protected void initialize() {
31 protected void execute() {
35 protected boolean isFinished() {
40 protected void end() {
44 protected void interrupted() {