On Tue, Nov 27, 2012 at 1:03 PM, Adrian Musceac wrote:

> Hi,
>
> I've seen a couple of external radar clients for Flightgear being developed
> right now.
> I think that these days, with the advent of Canvas and other improvements,
> it
> should be possible and desirable to have a realistic radar station inside
> Flightgear.
>

I recently implemented a vertical terrain clearance radar for the Douglas
A4F Skyhawkd (a4f) using a combination of Canvas and Nasal terrain
lookups.  The code is checked into git if you are interested.

My main concern when writing it was minimizing the number of terrain
lookups per radar sweep.  For the vertical mode this is quite
straightforward as I've simplified the sampling to getting the elevation of
points every 1nm ahead.

I've still to look at the horizontal modes, but I suspect it would need a
Nasal enhancement to perform terrain intersection tests based on a
lat/lon/heading/pitch combination. I haven't looked into how much effort it
would be to add that yet, though I suspect it should be fairly
straightforward given that we already have similar function handling
mouse-clicks for the ufo.

-Stuart
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to