Vision-Aided Path Planning Using Low-Cost Gene Encoding for a Mobile Robot