+++ /dev/null
-package org.usfirst.frc.team3501.robot.commands;
-
-import edu.wpi.first.wpilibj.command.Command;
-
-public class OpenSallyPort extends Command {
-
- public OpenSallyPort() {
- }
-
- @Override
- protected void initialize() {
- }
-
- @Override
- protected void execute() {
- }
-
- @Override
- protected boolean isFinished() {
- return false;
- }
-
- @Override
- protected void end() {
- }
-
- @Override
- protected void interrupted() {
- }
-}
--- /dev/null
+package org.usfirst.frc.team3501.robot.commands;
+
+import edu.wpi.first.wpilibj.command.Command;
+
+public class PassSallyPort extends Command {
+ /***
+ * This command will only open the sally port pass through it. It will do this
+ * by hooking onto the port and driving backwards while rotating then driving
+ * backwards through the sally port.
+ *
+ * pre-condition: robot is in the neutral zone, flush against the ramp of the
+ * outerworks in front of the portcullis
+ *
+ * post-condition: the robot has passed the sally port and is in a courtyard
+ *
+ * note: to go from the courtyard to neutral zone, the driver just has to
+ * drive through the port
+ *
+ * @author Meryem and Avi
+ *
+ */
+
+ public PassSallyPort() {
+ }
+
+ @Override
+ protected void initialize() {
+ }
+
+ @Override
+ protected void execute() {
+ }
+
+ @Override
+ protected boolean isFinished() {
+ return false;
+ }
+
+ @Override
+ protected void end() {
+ }
+
+ @Override
+ protected void interrupted() {
+ }
+}