![]() |
Distance calculations
We are looking for the complete code to calculate the distance from the camera to the light...
Thanks in advance. :confused: |
Re: Distance calculations
http://www.chiefdelphi.com/forums/sh...amera+distance
Specifically Quote:
This might also be helplful, but it is about how to calculate the angle to which one should fire. http://www.chiefdelphi.com/forums/sh...e ra+distance |
Re: Distance calculations
Then once you have an accurate tilt angle from the camera to the target it is normal trig (tangent) to use that angle and the vertical height between the camera and the target center.
The article Windward quoted I do not believe has any example code with it. I certainly never went that far since our team isn't using the enhanced accuracy values. |
Re: Distance calculations
We had a nice Distance_Function() in our program using the tan function and everything, but we found it to not be necessary, since it correlates directly to the tilt_angle so we mapped out distances using the tilt angle as a primary source of measure, works the same, it's just much simpler.
|
| All times are GMT -5. The time now is 01:33. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi