Torsten wrote in Wed Jul 19, 2017 6:43 pm:would you mind working with and patching the code in the
FGAddon?
It would make my life easier if there was just one location for the code.
Sorry, Torsten, you are right. I must learn to work with git (and certainly I will).
clm76 wrote in Wed Jul 19, 2017 5:02 pm:Cruising and trying to call LFPG tower (Paris Charles de Gaulle) with the frequency 120.650 (actual frequency but not recognized by FG), it happens a nasal error instead of « Check comm. freq »
Wow, that was hard to find but finally this is what happened:
You tunned EHSE (Bosschenhoofd, Netherlands) just near your range border.
Worst,
airportinfo("EHSE").comms returns a hash which unique key is "Seppe Radio" (instead of "Seppe TWR") !!
We can fix it inserting:
- Code: Select all
if(size(comms)==1) { freqs["TWR"] = freqs[keys(freqs)[0]];}
into the getfreqs() function (just before the return).
But I dont like that, We will have other similar problems eg. at LFPC where we have a "Creil sol" instead of "Creil GND"
I think we should "normalize" in some way the keys returned by
airportinfo().comms. Donno how.