Quote:
Originally Posted by Scimor5
We used the particle analysis function to find the height of the box after filtering it out with HSL comparison. after finding data for every foot from 3-23 feet and applying a regression with my TI-84 (equation came to something like 470/x^(.89)) our camera is accurate at predicting distance from any angle to a little more than an inch. sweet spot for distance measurement is 8 ft or so. comparing the same measurement using the width to the measurement from height gives us what angle we are at compared to the target.
|
Okay, that makes a lot more sense to me than trying to find distances based on targets. I'll have to try that later today with our test robot. It's a linear regression, right? (as opposed to a polynomial regression).
Thanks a lot!