}
/***
- * This method allows you to set the speed of the motor(s). The range of speed
- * is from [-1, 1]. A negative speed changes the direction of the motors.
- *
+ * This method allows you to set the speed of the motor. The range of speed
+ * is from [-1, 1]. A negative speed changes the direction of the motors,
+ * making it run backwards.
+ *
* @param speed
* The speed of the motors that control the rollers. The range of
* these motors go from [-1,1]. A negative speed changes the
- * direction of the motors.
+ * direction of the motors, making it run backwards.
*/
public void setRollerSpeed(double speed) {
}
/***
+ * This method gets you the current speed of the motor that controls the
+ * motor. The range of speed is from [-1,1]. A negative speed changes the
+ * direction of the motor, making it run backwards.
*
- * @return
+ * @return Returns the speed of the motor that controls the roller. The range
+ * of the motor goes from [-1,1]. A negative speed changes the
+ * direction of the motor, making it go backwards.
*/
public double getRollerSpeed() {
}
/***
+ * This method checks to see if the motors controlling the rollers are
+ * currently working.
*
- * @return
- */
-
- public boolean isBallInside() {
- return true;
- }
-
- /***
- *
- * @return
+ * @return Returns whether the motors are currently running, and returns the
+ * state of the condition (true or false).
*/
public boolean areRollersRolling() {