From: Meryem Esa Date: Sat, 30 Jan 2016 20:37:35 +0000 (-0800) Subject: add pre and post condition comments for DriveForDistance() X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=80970a36b5fc6fac2ae8e61c9f5a15a48ca7ab02 add pre and post condition comments for DriveForDistance() --- 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() { + } }