From: Meryem Esa Date: Thu, 11 Feb 2016 04:35:02 +0000 (-0800) Subject: add comments for DriveForTime X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=5e01b2eabdda4bad9f0a0f87b5c9935f18b05007 add comments for DriveForTime --- 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 {