Bender the robot moves the motors with some power proportional to the distance away from some reference (30cm). This maintains the distance away from an obstacle like a wall, and moves the robot to that reference faster when further away, and slower when closer, allowing for more precise positioning.
The students are tasked with "controlling something" with an Arduino board in MECH 350 at UNL. Here is a sampling of those efforts from Fall 2013.