add javadoc style comments to ToggleBall commands
authorLauren Meier <meier.lauren@gmail.com>
Sat, 13 Feb 2016 22:58:14 +0000 (14:58 -0800)
committerLauren Meier <meier.lauren@gmail.com>
Sat, 13 Feb 2016 22:58:14 +0000 (14:58 -0800)
src/org/usfirst/frc/team3501/robot/commands/ToggleBallRollerExpel.java
src/org/usfirst/frc/team3501/robot/commands/ToggleBallRollerIntake.java

index 060498212ffb0b6269497822afc92c0f2a3b6790..70a1dc945bc6f960f9b7c4b6d021f4f544dcf8f8 100644 (file)
@@ -2,11 +2,20 @@ package org.usfirst.frc.team3501.robot.commands;
 
 import org.usfirst.frc.team3501.robot.Robot;
 
+/***
+ * This command will continually roll the rollers of the intake arm in the
+ * outwards direction and stop the rollers once the command is canceled.
+ *
+ * pre-condition: This command must be called by a button with the method .whileHeld() in OI
+ *
+ * @author Lauren and Niyati
+ *
+ */
+
 import edu.wpi.first.wpilibj.command.Command;
 
 public class ToggleBallRollerExpel extends Command {
 
-  // Must be called with whileHeld in oi
   public ToggleBallRollerExpel() {
     requires(Robot.intakeArm);
   }
index 8a2caada692c3b5b787cd6f2cd7f280bf157f0aa..8299bf607412f2b7d25b335e30e34d27f2b889a6 100644 (file)
@@ -2,11 +2,20 @@ package org.usfirst.frc.team3501.robot.commands;
 
 import org.usfirst.frc.team3501.robot.Robot;
 
+/***
+ * This command will continually roll the rollers of the intake arm in the
+ * inwards direction and stop the rollers once the command is canceled.
+ *
+ * pre-condition: This command must be called by a button with the method .whileHeld() in OI
+ *
+ * @author Lauren and Niyati
+ *
+ */
+
 import edu.wpi.first.wpilibj.command.Command;
 
 public class ToggleBallRollerIntake extends Command {
 
-  // Must be called with whileHeld in oi
   public ToggleBallRollerIntake() {
     requires(Robot.intakeArm);
   }