Merge commit 'refs/merge-requests/44' of git://gitorious.org/fg/fgdata into integration
[fg:toms-fgdata.git] / Huds / Sets / gps.xml
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5         <!-- GPS waypoint -->
6         
7         <label>
8                 <width>2</width>
9                 <height>2</height>
10                 <format>GPS OBS:%5s</format>
11                 <halign>left</halign>
12                 <input>
13                         <property>/instrumentation/gps/wp/wp[1]/ID</property>
14                 </input>
15
16         <condition>
17             <equals>
18                 <property>/instrumentation/gps/mode</property>
19                 <value>obs</value>
20             </equals>
21         </condition>
22         </label>
23         
24         <label>
25                 <width>2</width>
26                 <height>2</height>
27                 <x>80</x>
28                 <format>(TO)</format>
29                 <halign>left</halign>
30
31         <condition>
32             <and>
33                 <equals>
34                     <property>/instrumentation/gps/mode</property>
35                     <value>obs</value>
36                 </equals>
37                 <not><property>/instrumentation/gps/from-flag</property></not>
38             </and>
39         </condition>
40         </label>
41         
42         <label>
43                 <width>2</width>
44                 <height>2</height>
45                 <x>80</x>
46                 <format>(FROM)</format>
47                 <halign>left</halign>
48
49         <condition>
50             <and>
51                 <equals>
52                     <property>/instrumentation/gps/mode</property>
53                     <value>obs</value>
54                 </equals>
55                 <property>/instrumentation/gps/from-flag</property>
56             </and>
57         </condition>
58         </label>
59         
60         <label>
61                 <width>2</width>
62                 <height>2</height>
63                 <format>GPS DTO:%5s</format>
64                 <halign>left</halign>
65                 <input>
66                         <property>/instrumentation/gps/wp/wp[1]/ID</property>
67                 </input>
68
69         <condition>
70             <equals>
71                 <property>/instrumentation/gps/mode</property>
72                 <value>dto</value>
73             </equals>
74         </condition>
75         </label>
76         
77         <label>
78                 <width>2</width>
79                 <height>2</height>
80                 <format>GPS LEG:%5s</format>
81                 <halign>left</halign>
82                 <input>
83                         <property>/instrumentation/gps/wp/wp[0]/ID</property>
84                 </input>
85
86         <condition>
87             <equals>
88                 <property>/instrumentation/gps/mode</property>
89                 <value>leg</value>
90             </equals>
91         </condition>
92
93         </label>
94         
95         <label>
96                 <width>2</width>
97                 <height>2</height>
98                 <x>80</x>
99                 <format>-&gt;%5s</format>
100                 <halign>left</halign>
101                 <input>
102                         <property>/instrumentation/gps/wp/wp[1]/ID</property>
103                 </input>
104
105         <condition>
106             <equals>
107                 <property>/instrumentation/gps/mode</property>
108                 <value>leg</value>
109             </equals>
110         </condition>
111
112         </label>
113         
114         
115         
116         <label>
117                 <width>2</width>
118                 <height>2</height>
119                 <y>-10</y>
120                 <format>D: %4.1fnm</format>
121                 <halign>left</halign>
122                 <input>
123                         <property>/instrumentation/gps/wp/wp[1]/distance-nm</property>
124                 </input>
125         </label>
126         
127         <label>
128                 <width>2</width>
129                 <height>2</height>
130                 <x>60</x>
131                 <y>-10</y>
132                 <format>TTW:%s</format>
133                 <halign>left</halign>
134                 <input>
135                         <property>/instrumentation/gps/wp/wp[1]/TTW</property>
136                 </input>
137         </label>
138         
139         <label>
140                 <width>2</width>
141                 <height>2</height>
142                 <y>-20</y>
143                 <format>BRG:%03d</format>
144                 <halign>left</halign>
145                 <input>
146                         <property>/instrumentation/gps/wp/wp[1]/bearing-mag-deg</property>
147                 </input>
148         </label>
149         
150         <label>
151                 <width>2</width>
152                 <height>2</height>
153                 <y>-20</y>
154                 <x>60</x>
155                 <format>XTK: %2.1fnm</format>
156                 <halign>left</halign>
157                 <input>
158                         <property>/instrumentation/gps/wp/wp[1]/course-error-nm</property>
159                 </input>
160                 
161                 <condition>
162                 <greater-than>
163                     <expression>
164                         <abs><property>/instrumentation/gps/wp/wp[1]/course-error-nm</property></abs>
165                     </expression>
166                     <value>0.1</value>
167                 </greater-than>
168         </condition>
169         </label>
170         
171     <label>
172                 <width>2</width>
173                 <height>2</height>
174                 <y>-30</y>
175                 <format>GS:%3dkts</format>
176                 <halign>left</halign>
177                 <input>
178                         <property>/instrumentation/gps/indicated-ground-speed-kt</property>
179                 </input>
180         </label>
181 </PropertyList>
182