Optical positioning system for automated navigation