On Mon, 2006-04-03 at 11:29 -0500, Curtis L. Olson wrote: > Ron Jensen wrote: > > >At the risk of repeating myself, TACAN is broken for everything but the > >carriers. Replacing the two files below makes it work perfectly. > > > >Can someone submit them to CVS before the 0.9.10 release _please!_ > > > >Last month I suggested a change[1] to TACAN_freq.dat and carrier_nav.dat > >to enable TACAN to work on the proper channels. > > > >I'd like to see this go in so the F4E I'm working on can use the TACAN. > > > >Since it seems the sourceforge list stripped the attachments they are on > >my webserver: http://www.jentronics.com/fgfs/TACAN_freq.dat.gz and > >http://www.jentronics.com/fgfs/carrier_nav.dat.gz > > > > > >[1] > >http://sourceforge.net/mailarchive/forum.php?thread_id=9643858&forum_id=1919 > > > > > I don't know anything about the TACAN's, hopefully someone who does know > something about these can take a look today. > > Thanks, > > Curt.
Thanks for the reply! Vivian Meazza responded on the thread mentioned above: "However, much as I hate to fix one hack with another, this does seem to be a good fix for the problem." Basically, FGFS TACAN works by looking up the tuned channel number in TACAN_freq.dat, getting the assciated frequency and looking that up in carrier_nav.dat and nav.dat. Each TACAN channel has several frequencies associated with it; DME, VOR/ILS, Airborne, and Ground. The current TACAN_freq.dat uses numbers derived from the TACAN Ground frequencies, however they don't jibe with the numbers used in nav.dat. My change makes TACAN_freq.dat use the numbers we associate with VOR/ILS so when the lookup into nav.dat occurs the correct stations are returned. Example: HIF uses TACAN channel 49X ( http://www.airnav.com/navaids ) Old system gets it wrong: Navaids$ zgrep 49X TACAN_freq.bak.gz 049X 10100 Navaids$ zgrep 10100 nav.dat.gz 3 02.910944 104.101000 89 11400 130 0.000 VPT Pulau Tioman VOR-DME 12 02.910944 104.101000 89 11400 130 0.000 VPT Pulau Tioman VOR-DME New system gets it right: Navaids$ zgrep 49X TACAN_freq.dat.gz 049X 11120 Navaids$ zgrep 11120 nav.dat.gz | grep HIF 12 41.120503 -111.963681 4806 11120 40 0.000 HIF Hill TACAN Thanks again, Ron ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel