In the previous chapter we computed a trajectory of the expected flight path all the way from the departure waypoint to the arrival waypoint. The trajectory was stored into a pandas dataframe that looks like this:
In this section we show how to export our navigation log to X-Plane so that we can load the flight plan into the 737 FMS. The file format is .fms, and the created file should be written to this directory:
C:\...\X-Plane 11\Output\FMS plans
The X-Plane developer documentation contains details on how this format works. The process to write the file looks like this:
The content written to file is shown below. We have highlighted the airport rows for clarity:
I1100 VersionCYCLE 1802ADEP PACDADES PAVDNUMENR 151 PACD ADEP 98.0 55.205261 -162.72452211 WETSI DRCT 5000.0 55.392681 -162.58230628 TOC DRCT 30000.0 56.004961 -161.65342811 DAYVU DRCT 30000.0 56.395278 -161.03973911 CRACK DRCT 30000.0 57.346619 -159.40521911 TANIE DRCT 30000.0 57.969736 -158.21280611 ICADI DRCT 30000.0 58.612133 -156.17623911 BATTY DRCT 30000.0 59.065722 -155.07829411 AUGEY DRCT 30000.0 59.469711 -152.88872211 KECKI DRCT 30000.0 59.772222 -151.11624211 60N50 DRCT 30000.0 60.000000 -150.00000028 TOD DRCT 30000.0 60.452090 -148.57838811 NOWEL DRCT 28346.7 60.483919 -148.47520311 OLLEO DRCT 10000.0 61.055403 -146.8868611 PAVD ADES 118.0 61.134217 -146.244761In X-Plane 11 the flight plan can now be selected in the FMS:
And the EHSI will give navigation guidance from start to finish; note the resolution is small in the image, but the next waypoint after PACD reads WETSI:
In the next section we will show how to check for terrain along the planned route.