From 5e01b2eabdda4bad9f0a0f87b5c9935f18b05007 Mon Sep 17 00:00:00 2001 From: Meryem Esa Date: Wed, 10 Feb 2016 20:35:02 -0800 Subject: [PATCH] add comments for DriveForTime --- .../frc/team3501/robot/commands/DriveForTime.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/org/usfirst/frc/team3501/robot/commands/DriveForTime.java b/src/org/usfirst/frc/team3501/robot/commands/DriveForTime.java index c44590af..004b912e 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/DriveForTime.java +++ b/src/org/usfirst/frc/team3501/robot/commands/DriveForTime.java @@ -6,7 +6,15 @@ import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.command.Command; /** - * This command + * This command drives the robot for the specified time and specified speed. (If + * a speed is not specified, a default speed is used + * + * + * dependency on subsystems: drivetrain + * + * pre-condition: robot is on + * + * post condition: robot has driven for the specified amount of time */ public class DriveForTime extends Command { -- 2.30.2