| 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <PropertyList> |
| 4 | <comment> |
| 5 | Attitude information for ForeFlight or Garmin Pilot. |
| 6 | |
| 7 | Example: Broadcast via UDP on the WiFi network 192.168.0.0/24 port 49002 at 4-10 Hz: |
| 8 | --generic=socket,broadcast,10,192.168.0.255,49002,udp,foreflight-xatt |
| 9 | |
| 10 | See https://www.foreflight.com/support/network-gps/ |
| 11 | </comment> |
| 12 | <generic> |
| 13 | <output> |
| 14 | <line_separator>newline</line_separator> |
| 15 | <var_separator>,</var_separator> |
| 16 | <chunk> |
| 17 | <name>Record type (XATT) and simulator name</name> |
| 18 | <format>XATTFlightGear</format> |
| 19 | </chunk> |
| 20 | <chunk> |
| 21 | <name>Heading (degrees true)</name> |
| 22 | <type>float</type> |
| 23 | <format>%.1f</format> |
| 24 | <node>/orientation/heading-deg</node> |
| 25 | </chunk> |
| 26 | <chunk> |
| 27 | <name>Pitch (degrees up)</name> |
| 28 | <type>float</type> |
| 29 | <format>%.1f</format> |
| 30 | <node>/orientation/pitch-deg</node> |
| 31 | </chunk> |
| 32 | <chunk> |
| 33 | <name>Roll (degrees up)</name> |
| 34 | <type>float</type> |
| 35 | <format>%.1f</format> |
| 36 | <node>/orientation/roll-deg</node> |
| 37 | </chunk> |
| 38 | </output> |
| 39 | </generic> |
| 40 | </PropertyList> |