Adjust path and attitude tool by detecting path, line with a photosensor, laser