add pre and post conditions for the LiftPortcullis command
authorMeryem Esa <meresa14@gmail.com>
Sat, 30 Jan 2016 20:16:26 +0000 (12:16 -0800)
committerKevin Zhang <icestormf1@gmail.com>
Sun, 31 Jan 2016 00:04:37 +0000 (16:04 -0800)
src/org/usfirst/frc/team3501/robot/commands/LiftPortcullis.java

index d2405883794740fe33f64609fe11f4349692f3fd..992f9e1ae9e529f965efd583e4431c819b78f7a7 100755 (executable)
@@ -2,29 +2,44 @@ package org.usfirst.frc.team3501.robot.commands;
 
 import edu.wpi.first.wpilibj.command.Command;
 
+/***
+ * This command will move the robot forward while lifting the defense arm up.
+ *
+ * pre-condition: robot is flush against the ramp of the outerworks in front of
+ * the portcullis
+ *
+ * This command has to drive forward at the same time because that's how the
+ * robot opens the portcullis
+ *
+ * post-condition: the robot has passed the portcullis and is in the next zone
+ *
+ * @author Meryem and Avi
+ *
+ */
+
 public class LiftPortcullis extends Command {
 
-       public LiftPortcullis() {
-       }
+  public LiftPortcullis() {
+  }
 
-       @Override
-       protected void initialize() {
-       }
+  @Override
+  protected void initialize() {
+  }
 
-       @Override
-       protected void execute() {
-       }
+  @Override
+  protected void execute() {
+  }
 
-       @Override
-       protected boolean isFinished() {
-               return false;
-       }
+  @Override
+  protected boolean isFinished() {
+    return false;
+  }
 
-       @Override
-       protected void end() {
-       }
+  @Override
+  protected void end() {
+  }
 
-       @Override
-       protected void interrupted() {
-       }
+  @Override
+  protected void interrupted() {
+  }
 }