From: Lauren Meier Date: Fri, 12 Feb 2016 04:24:59 +0000 (-0800) Subject: add javadoc style comments to ExpellBall and IntakeBall commands X-Git-Url: http://challenge-bot.com/repos/?a=commitdiff_plain;ds=sidebyside;h=d034d78f15b077a823078a3c648546d325734fc6;p=3501%2Fstronghold-2016 add javadoc style comments to ExpellBall and IntakeBall commands --- diff --git a/src/org/usfirst/frc/team3501/robot/commands/ExpelBall.java b/src/org/usfirst/frc/team3501/robot/commands/ExpelBall.java index 19ff6279..804ce7ae 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/ExpelBall.java +++ b/src/org/usfirst/frc/team3501/robot/commands/ExpelBall.java @@ -4,6 +4,19 @@ import org.usfirst.frc.team3501.robot.Robot; import edu.wpi.first.wpilibj.command.Command; +/*** + * This command will expel a boulder from the robot, if it is even present to + * begin with. + * + * pre-condition: A boulder is present inside the robot. + * + * post-condition: A boulder is expelled from inside the robot to the field + * outside of the robot. + * + * @author Lauren and Niyati + * + */ + public class ExpelBall extends Command { public ExpelBall() { diff --git a/src/org/usfirst/frc/team3501/robot/commands/IntakeBall.java b/src/org/usfirst/frc/team3501/robot/commands/IntakeBall.java index 37b55bc6..c90a0801 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/IntakeBall.java +++ b/src/org/usfirst/frc/team3501/robot/commands/IntakeBall.java @@ -4,6 +4,19 @@ import org.usfirst.frc.team3501.robot.Robot; import edu.wpi.first.wpilibj.command.Command; +/*** + * This command will take a boulder into the robot if there is not a boulder + * present inside already. + * + * pre-condition: A boulder is not present inside the robot. + * + * post-condition: A boulder is taken in from the field outside of the robot + * into the robot. + * + * @author Lauren and Niyati + * + */ + public class IntakeBall extends Command { public IntakeBall() {