Simple wall follower built with a Mindstorms NXT kit, it uses one touch sensor for the bumper, and the ultrasonic sensor. It works fairly well despite being pretty simple, copes with obstacles well, as well as corners, and on the (very) rare occasion it gets confused, it can pick up the wall again automatically.
This is running the more advanced version of our code which attempts to correct its path if it detects that it is moving away from the wall, and tries to move away if it is getting too close (the wheels sometimes get stuck on the corners if you turn around a corner while right next to the wall).
Probably could've done it with just two touch sensors, but this works very nicely - better than anybody else's that I've seen and it only took about 7 hours! :D
Link to this comment:
All Comments (0)