This was a very basic assignment. However, we probably spent more time here trying to perfect our results than we needed to.
The basic goal was to get the robot to follow the wall, turning away from the wall if it was too close, and turning toward the wall if it was too far away.
Here, starting at 25 cm from the wall, the robot drifted toward the wall, away from the wall, and then over corrected and smashed into the wall. The most we could get was one oscillation before the robot veered of course.
Here the robot again performed about one oscillation before losing the wall and crashing into it.
Here we followed an edge of the wall until there was a sudden change in distance. The robot was not able to handle this well. and behaved erratically.