Adjust path by detecting path, line with a photosensor