diff --git a/Protocol/foreflight-xatt.xml b/Protocol/foreflight-xatt.xml new file mode 100644 index 000000000..9512c24dd --- /dev/null +++ b/Protocol/foreflight-xatt.xml @@ -0,0 +1,41 @@ + + + + + Attitude information for ForeFlight or Garmin Pilot. + + Broadcast (or send to specific IP) via UDP on port 49002 at 4-10 Hz: + + --generic=socket,out,10,255.255.255.255,49002,udp,foreflight-xatt + + See https://www.foreflight.com/support/network-gps/ + + + + newline + , + + Record type (XATT) and simulator name + XATTFlightGear + + + Heading (degrees true) + float + %.1f + /orientation/heading-deg + + + Pitch (degrees up) + float + %.1f + /orientation/pitch-deg + + + Roll (degrees up) + float + %.1f + /orientation/roll-deg + + + + diff --git a/Protocol/foreflight-xgps.xml b/Protocol/foreflight-xgps.xml new file mode 100644 index 000000000..4a660dd59 --- /dev/null +++ b/Protocol/foreflight-xgps.xml @@ -0,0 +1,55 @@ + + + + + GPS information for ForeFlight or Garmin Pilot. + + Broadcast (or send to specific IP) via UDP on port 49002 at 1 Hz: + + --generic=socket,out,1,255.255.255.255,49002,udp,foreflight-xgps + + See https://www.foreflight.com/support/network-gps/ + + + + newline + , + + Record type (XGPS) and simulator name + XGPSFlightGear + + + Longitude (deg) + float + %.3f + /position/longitude-deg + + + Latitude (deg) + float + %.3f + /position/latitude-deg + + + Altitude MSL (m) + float + %.1f + /position/altitude-ft + 0.3038 + + + Track (deg true) + float + %.3f + /orientation/track-deg + + + Ground speed (m/sec) + float + %.1lf + /velocities/groundspeed-kt + 0.50277 + + + +