From 80970a36b5fc6fac2ae8e61c9f5a15a48ca7ab02 Mon Sep 17 00:00:00 2001 From: Meryem Esa Date: Sat, 30 Jan 2016 12:37:35 -0800 Subject: [PATCH] add pre and post condition comments for DriveForDistance() --- .../robot/commands/DriveForDistance.java | 45 +++++++++++-------- 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/src/org/usfirst/frc/team3501/robot/commands/DriveForDistance.java b/src/org/usfirst/frc/team3501/robot/commands/DriveForDistance.java index 2bf15b81..719e1662 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/DriveForDistance.java +++ b/src/org/usfirst/frc/team3501/robot/commands/DriveForDistance.java @@ -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() { + } } -- 2.30.2