Here's a quick mock-up with a turret motor and a limit switch.

You can do similar simple things with ultrasonics, pots, gyros, etc. Drive forward till you reach a certain distance, then turn motor off. Rotate until you reach a certain measurement. You get the idea. Much easier (and simpler) than a PID loop in many cases.