- usePhotoGate = false;
- }
-
- /***
- * This method checks to see if the ball has successfully passed through the
- * intake rollers and is inside.
- *
- * @return whether the presence of the ball is true or false and returns the
- * state of the condition (true or false).
- */
-
- public boolean isBallInside() {
- if (usePhotogate())
- return photogate.isBallPresent();
- else
- return true;