|
Re: Distance Measurements to Target
We had this problem too with our vision measurements. We solved it by adjusting the viewing angle in our algorithm.
Take measurements from varying distances and plot them on a graph (actual distance on x axis, measured distance of y axis). It should be fairly linear. Find the slope of the line. Our slope was about 0.91.
tan(theta)/tan(current viewing angle) = slope
Theta is the viewing angle you should use in your algorithm.
After calibrating the viewing angle, our measurements are consistently with in 1-3 inches of the actual distance. I hope this works for you too!
|