|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Vision - Calculating Distance
I have been reading this screensteps article http://wpilib.screenstepslive.com/s/...ng-the-targets under the Distance section and I was confused by some things.
In particular, this: Quote:
|
|
#2
|
|||
|
|||
|
Re: Vision - Calculating Distance
In the formula, the 2.66 is Tft, or the size of the target in feet. The length of the target is 32 inches. 32/12= 2 2/3 feet, or 2.66 (or 2.67).
|
|
#3
|
|||
|
|||
|
Re: Vision - Calculating Distance
Okay, thank you. So then what is the 30 they are dividing by?
Edit: Are they just saying the Tpixel is 30? They go on to divide by 2 and then by tan |
|
#4
|
|||
|
|||
|
Re: Vision - Calculating Distance
(2*Tpixel*tanΘ)
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|