Hello all,
I was doing some research to figure out how Flight Gear 2.6.0 could output the X-Plane format to OzRunways so that the simulation could drive the moving map.
I didn't figure that out (yet) but I'm confident I have the right approach.
What I did figure out was that the protocol to drive ForeFlight is dead simple (link here). So I did that and tried it out on ForeFlight. Following the instructions in the link, it worked!
Here are the basic steps:
FGFS start up wizard should not be running
Determine the IP address of the iPad (OzRunways displays this on its simulation settings page or ask a grown up)
Go to the /data/protocol folder in FGFS and create a new XML file. See the text below for the contents of the file I used. Save the file as ForeFlightGPS.xml or whatever you want to appear on the screen
Go to the advanced settings in the FGFS start up wizard, select input/output and create a new generic output entry which must be port 49002 and UDP. The host IP address should be the iPad as per step 2 above. See screen grab
Ensure the settings appear as-expected in the command line output in the wizard as per the second screen grab
Click the Run button on FGFS start up wizard
Start ForeFlight, enter simulation mode. It should have identified that a device is feeding it valid data
To Test
Find the current location of the simulation on the ForeFlight map
At the simulation, move the current location to another place
On ForeFlight, watch the current location dot move around. it will move if everything is happy
Below is the protocol definition I authored