Quote:
Originally Posted by eagle33199
In order to tell distance to target, you want the camera to be low, looking up towards the vision target (giving you an angle, from which you can compute distance easily). with a low camera and a high target, colored robots can easily get in the way.
|
This is one way of telling distance with a single camera.
Another is: As a target moves away, it becomes smaller in your field of vision. Because we know the size of the target, you can tell the distance by how much of your field of vision the target takes.