public class ObstacleDetectorRobot extends BaseRobot
Basically, when an obstacle is detected in the front or in the back, the robot rotates and moves forwards, until no new obstacle is detected.
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Command-line interface.
|
void |
start()
Start the robot.
|