NearestWallBot1


1. Develop a workable algorithm to move a robot to the nearest wall. A robot can know the following data that can be used for this algorithm:

2. Implement the algorithm in NearestWallBot1.

3. Reimplement the algorithm in a void method called goNearestWall that can be called from the robot's main loop. Add goNearestWall to MethodBot1.

Link to algorithm

Link to source code