First time here? Check out the FAQ!
I am working on something else that also requires laser line tracking. Dynamic programming is a pretty good way to solve