Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airline FMC Database #51

Open
SP-NTX opened this issue Mar 13, 2021 · 3 comments
Open

Airline FMC Database #51

SP-NTX opened this issue Mar 13, 2021 · 3 comments
Labels
question Further information is requested

Comments

@SP-NTX
Copy link

SP-NTX commented Mar 13, 2021

On the flightgear wiki page https://wiki.flightgear.org/Boeing_787-8_Dreamliner:_Flightplan_and_Procedures_Tutorial I read about the flight plan database of virtual airlines.
I know that I need to make such flight plans, that is xml files for my airline in /FMC-DB/FMC-Flights.xml directory. Neither on the wiki page, nor in the readme or anywhere in the aircraft files I could find how such a file should look like. I did not find such a file either. Maybe I searched wrongly. Drealiner on FGwiki screenshots looks like old version, so this feature may not exist, but it would be very useful not only for virtual airlines, but also for regular users. It definitely improves the realism.

@IskenderWang IskenderWang added the question Further information is requested label Mar 14, 2021
@IskenderWang
Copy link
Owner

I would assume it's just in the standard format for FG? You may know that any flight plan for FG (.fgfp file) is basically just an xml file, so it's probably evaluating it in the exact same way, that said I'd need to check the code myself to know for certain

@SP-NTX
Copy link
Author

SP-NTX commented Mar 14, 2021

Inferring from what you can read on the wiki, it is about something completely different

@MarcinListkowski
Copy link
Contributor

Hi @SP-NTX, a few pointers that might be of use, from a passer-by.

  1. The code to read FMC-Flights.xml is here in the repo:

    787-family/Nasal/fmc.nas

    Lines 334 to 340 in 32e5384

    parse_flightsDB: func {
    io.read_properties(getprop("/sim/aircraft-dir") ~ "/FMC-DB/FMC_Flights.xml", "/instrumentation/b787-fmc");
    sysinfo.log_msg("[FMC] Database Check ..... OK", 0);
    },

    It doesn't mean it works 😄 but there is a chance that this feature exists, and by reading the code you can infer something about this XML structure.
  2. Running git/svn blame a few times shows how this XML file looked like 9 years ago:grin: :
    https://github.com/omega95-aircraft/fg-boeing-787-8/blob/aa3bdefc5b69a1c2a88206d18e0cc81a557005a9/FMC-DB/FMC_Flights.xml

Hope this helps, it would be great to hear if it worked for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants