|
Measuring distance with cameria
If the cameria on your robot measures that the hieght of a marker is " p " pixels at an distance of " c ", then if you are to move this item, and the item is " p' " pixels tall, then the distance of the object would be
d=c+ [(p-p')*(sec 1.79)]
if 1.79 is degrees, rounded (1 degrees, 47 minutes, 23.68 seconds to 1 degree, 47 minutes, 24 seconds)
right?
__________________
Is now an engineer thanks to FIRST.
Last edited by XXShadowXX : 04-01-2009 at 17:34.
|