CS325 Project 2 - Wall Following
You are to write a program which allows Otto to follow a wall using the
bumpers. In order to accomplish this you will want to go until you bump
into a wall and then turn clockwise until you no longer bump. After that
you will follow the wall by moving forward a small amount, turning slightly into
the wall and checking that the wall is still there, then turning back and moving
some more. If the wall is not there any more, you will need to make a turn
counter-clockwise until you find the wall again.
You will use the
BumperProxy class and remember that you have to do a blocking read each time
you check the bumpers.
Demo your program for me and email your code to jill.zimmerman@goucher.edu