|
Re: Built in distance calculations?
I don't believe there is. The way I did it last year was to use the angle of the camera (either fixed or based of the servo or some sensor to measure that angle), the use trig to calculate the distance to the target.
Like this:
Target
|
----------- Robot camera
Find the hypotenuse
Last edited by Luke Pike : 20-02-2010 at 08:22.
Reason: ASCII art failed
|