Debian Codegraph @

Protocol/foreflight-xgps.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4 <comment>
5 GPS information for ForeFlight or Garmin Pilot.
6
7 Example: Broadcast via UDP on the WiFi network 192.168.0.0/24 port 49002 at 1 Hz:
8 --generic=socket,broadcast,1,192.168.0.255,49002,udp,foreflight-xgps
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 (XGPS) and simulator name</name>
18 <format>XGPSFlightGear</format>
19 </chunk>
20 <chunk>
21 <name>Longitude (deg)</name>
22 <type>float</type>
23 <format>%.3f</format>
24 <node>/position/longitude-deg</node>
25 </chunk>
26 <chunk>
27 <name>Latitude (deg)</name>
28 <type>float</type>
29 <format>%.3f</format>
30 <node>/position/latitude-deg</node>
31 </chunk>
32 <chunk>
33 <name>Altitude MSL (m)</name>
34 <type>float</type>
35 <format>%.1f</format>
36 <node>/position/altitude-ft</node>
37 <factor>0.3038</factor>
38 </chunk>
39 <chunk>
40 <name>Track (deg true)</name>
41 <type>float</type>
42 <format>%.3f</format>
43 <node>/orientation/track-deg</node>
44 </chunk>
45 <chunk>
46 <name>Ground speed (m/sec)</name>
47 <type>float</type>
48 <format>%.1lf</format>
49 <node>/velocities/groundspeed-kt</node>
50 <factor>0.50277</factor>
51 </chunk>
52 </output>
53 </generic>
54 </PropertyList>