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

index 2bf15b81a12b795ec7694d8b53b8fa9bd602d979..719e166224262ba74ae42c8579507397bf519fee 100755 (executable)
@@ -2,29 +2,38 @@ package org.usfirst.frc.team3501.robot.commands;
 
 import edu.wpi.first.wpilibj.command.Command;
 
+/***
+ * This command will move the robot at the specified speed for the specified
+ * distance.
+ *
+ * post-condition: has driven for the distance and speed specified
+ *
+ * @author Meryem and Avi
+ *
+ */
 public class DriveForDistance extends Command {
 
-       public DriveForDistance(double distance, double speed) {
-       }
+  public DriveForDistance(double distance, double speed) {
+  }
 
-       @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() {
+  }
 }