add comments for DriveForTime
authorMeryem Esa <meresa14@gmail.com>
Thu, 11 Feb 2016 04:35:02 +0000 (20:35 -0800)
committerKevin Zhang <icestormf1@gmail.com>
Tue, 16 Feb 2016 19:37:02 +0000 (11:37 -0800)
src/org/usfirst/frc/team3501/robot/commands/DriveForTime.java

index c44590af9252fa629476a28b7a8c7c8a9a0bbaf1..004b912e90caa0e37c1e464c6c8110130d9dd5c5 100755 (executable)
@@ -6,7 +6,15 @@ import edu.wpi.first.wpilibj.Timer;
 import edu.wpi.first.wpilibj.command.Command;\r
 \r
 /**\r
- * This command\r
+ * This command drives the robot for the specified time and specified speed. (If\r
+ * a speed is not specified, a default speed is used\r
+ *\r
+ *\r
+ * dependency on subsystems: drivetrain\r
+ *\r
+ * pre-condition: robot is on\r
+ *\r
+ * post condition: robot has driven for the specified amount of time\r
  */\r
 public class DriveForTime extends Command {\r
 \r