* This command runs the fly wheel at a given speed for a given time. The fly
* wheel is intended to shoot balls fed by the intake wheel.
*
- * @param motorVal
- * value range from -1 to 1
- * @param time
- * in seconds
* @author Shaina
*/
public class RunFlyWheel extends Command {
private double motorVal;
private double time;
+ /**
+ * See JavaDoc comment in class for details
+ *
+ * @param motorVal
+ * value range from -1 to 1
+ * @param time
+ * in seconds, amount of time to run fly wheel motor
+ */
public RunFlyWheel(double motorVal, double time) {
this.motorVal = motorVal;
this.time = time;
* pre-condition: This command must be run by a button in OI, with
* button.whileHeld(...).
*
- * @param motorVal
- * value range from -1 to 1
* @author Shaina
*/
public class RunFlyWheelContinuous extends Command {
private double motorVal;
+ /**
+ * See JavaDoc comment in class for details
+ *
+ * @param motorVal
+ * value range from -1 to 1
+ */
public RunFlyWheelContinuous(double motorVal) {
this.motorVal = motorVal;
}
* pre-condition: fly wheel is running at full speed to prepare for shooting
* fuel
*
- * @param motorVal
- * value range is from -1 to 1
- * @param time
- * in seconds
* @author Shaina
*/
public class RunIndexWheel extends Command {
private double time;
private double motorVal;
+ /**
+ * See JavaDoc comment in class for details
+ *
+ * @param motorVal
+ * value range from -1 to 1
+ * @param time
+ * in seconds, amount of time to run index wheel motor
+ */
public RunIndexWheel(double motorVal, double time) {
this.motorVal = motorVal;
this.time = time;
* pre-condition: This command must be run by a button in OI with
* button.whileHeld(...).
*
- * @param motorVal
- * value range is from -1 to 1
* @author Shaina
*/
public class RunIndexWheelContinuous extends Command {
private double motorVal;
+ /**
+ * See JavaDoc comment in class for details
+ *
+ * @param motorVal
+ * value range from -1 to 1
+ */
public RunIndexWheelContinuous(double motorVal) {
this.motorVal = motorVal;
}
* This command stops the fly wheel. Do not call unless the trigger button has
* been released.
*
- *
+ *
* @author Shaina
*/
public class StopFlyWheel extends Command {
+ /**
+ * This command stops the fly wheel.
+ */
public StopFlyWheel() {
}
* @author Shaina
*/
public class StopIndexWheel extends Command {
+ /**
+ * This command stops the index wheel.
+ */
public StopIndexWheel() {
}