From f9d294b65f1121a0eb9232e6087f844e7c241343 Mon Sep 17 00:00:00 2001 From: Meryem Esa Date: Sat, 14 Jan 2017 11:36:41 -0800 Subject: [PATCH] add comments for TimeDrive command --- .../frc/team3501/robot/commands/driving/TimeDrive.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/org/usfirst/frc/team3501/robot/commands/driving/TimeDrive.java b/src/org/usfirst/frc/team3501/robot/commands/driving/TimeDrive.java index 1fb991e..6280541 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/driving/TimeDrive.java +++ b/src/org/usfirst/frc/team3501/robot/commands/driving/TimeDrive.java @@ -6,7 +6,12 @@ import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.command.Command; /** + * This commands make the robot drive for a specified time with the motors set + * at a specified value between 1 and -1 * + * parameters: + * time: how long the robot should drive for - in seconds + * motorVal: the motor input to set the motors to */ public class TimeDrive extends Command { Timer timer; -- 2.30.2