Debian Codegraph @

Aircraft/Instruments/kra-10a.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!--
3
4 This is the BENDIX/KING Radar Altimeter KRA-10A
5
6 Started July 2005 by Torsten Dreyer [email protected]
7
8 To use it, place the following xml snippet in your panel definition file
9
10 <instrument include="../Instruments/kra-10a.xml">
11 <name>Radio Altimeter</name>
12 <x>100</x>
13 <y>100</y>
14 <w>90</w>
15 <h>90</h>
16 </instrument>
17
18 for more information, see the README.xmlpanel in the FlightGear base package.
19
20 This is an instrument configuration file for the open-source flight
21 simulator FlightGear (www.flightgear.org). The file is an XML-encoded
22 FlightGear property list defining the instrument's layers and actions.
23
24 -->
25 <PropertyList>
26 <name>Radar Altimeter</name>
27 <w-base>512</w-base>
28 <h-base>512</h-base>
29 <params>
30 <height>/position/altitude-agl-ft</height>
31 <decision-height>/instrumentation/radar-altimeter/decision-height</decision-height>
32 </params>
33 <layers>
34 <layer>
35 <name>background</name>
36 <texture>
37 <path>Aircraft/Instruments/Textures/kra-10a-1.rgb</path>
38 <x1>0.0</x1>
39 <y1>0.0</y1>
40 <x2>1.0</x2>
41 <y2>1.0</y2>
42 </texture>
43 <w>512</w>
44 <h>512</h>
45 </layer>
46 <layer>
47 <name>DH Bug</name>
48 <texture>
49 <path>Aircraft/Instruments/Textures/kra-10a-2.rgb</path>
50 <x1>0.419921875</x1>
51 <y1>0.0</y1>
52 <x2>0.489746093</x2>
53 <y2>0.049238281</y2>
54 </texture>
55 <w>42</w>
56 <h>42</h>
57 <transformations>
58 <transformation>
59 <type>rotation</type>
60 <property alias="../../../../../params/decision-height"/>
61 <min>0</min>
62 <max>2500</max>
63 <scale>1.00</scale>
64 <offset>0</offset>
65 <interpolation>
66 <entry><ind> 0</ind><dep> 0.0</dep></entry>
67 <entry><ind> 50</ind><dep> 16.0</dep></entry>
68 <entry><ind> 100</ind><dep> 32.0</dep></entry>
69 <entry><ind> 200</ind><dep> 64.0</dep></entry>
70 <entry><ind> 300</ind><dep> 95.0</dep></entry>
71 <entry><ind> 400</ind><dep>129.0</dep></entry>
72 <entry><ind> 500</ind><dep>160.0</dep></entry>
73 <entry><ind>1000</ind><dep>182.0</dep></entry>
74 <entry><ind>1500</ind><dep>202.0</dep></entry>
75 <entry><ind>2000</ind><dep>222.0</dep></entry>
76 <entry><ind>2500</ind><dep>241.0</dep></entry>
77 </interpolation>
78 </transformation>
79 <transformation>
80 <type>y-shift</type>
81 <offset>204</offset>
82 </transformation>
83 <transformation>
84 <type>x-shift</type>
85 <offset>-5</offset>
86 </transformation>
87 </transformations>
88 </layer>
89 <layer>
90 <name>Needle</name>
91 <texture>
92 <path>Aircraft/Instruments/Textures/kra-10a-2.rgb</path>
93 <x1>0.1953125</x1>
94 <y1>0.0</y1>
95 <x2>0.2308789</x2>
96 <y2>0.22546875</y2>
97 </texture>
98 <w>32</w>
99 <h>176</h>
100 <transformations>
101 <transformation>
102 <type>rotation</type>
103 <property alias="../../../../../params/height"/>
104 <min>0</min>
105 <max>3000</max>
106 <scale>1.00</scale>
107 <offset>0</offset>
108 <interpolation>
109 <entry><ind> 0</ind><dep>270.0</dep></entry>
110 <entry><ind> 20</ind><dep>270.0</dep></entry>
111 <entry><ind> 30</ind><dep> 10.0</dep></entry>
112 <entry><ind> 50</ind><dep> 16.0</dep></entry>
113 <entry><ind> 100</ind><dep> 30.0</dep></entry>
114 <entry><ind> 200</ind><dep> 62.0</dep></entry>
115 <entry><ind> 300</ind><dep> 93.0</dep></entry>
116 <entry><ind> 400</ind><dep>127.0</dep></entry>
117 <entry><ind> 500</ind><dep>160.0</dep></entry>
118 <entry><ind>1000</ind><dep>180.0</dep></entry>
119 <entry><ind>1500</ind><dep>200.0</dep></entry>
120 <entry><ind>2000</ind><dep>220.0</dep></entry>
121 <entry><ind>2500</ind><dep>240.0</dep></entry>
122 <entry><ind>2700</ind><dep>270.0</dep></entry>
123 </interpolation>
124 </transformation>
125 <transformation>
126 <type>y-shift</type>
127 <offset>100</offset>
128 </transformation>
129 </transformations>
130 </layer>
131 <layer>
132 <name>DH Light on</name>
133 <condition>
134 <and>
135 <greater-than>
136 <property alias="../../../../../../params/decision-height"/>
137 <property alias="../../../../../../params/height"/>
138 </greater-than>
139 <greater-than>
140 <property alias="../../../../../../params/height"/>
141 <value>30</value>
142 </greater-than>
143 </and>
144 </condition>
145 <texture>
146 <path>Aircraft/Instruments/Textures/kra-10a-2.rgb</path>
147 <x1>0.234375</x1>
148 <y1>0.0</y1>
149 <x2>0.32226563</x2>
150 <y2>0.087890625</y2>
151 </texture>
152 <w>45</w>
153 <h>45</h>
154 <transformations>
155 <transformation>
156 <type>y-shift</type>
157 <offset>140</offset>
158 </transformation>
159 <transformation>
160 <type>x-shift</type>
161 <offset>-60</offset>
162 </transformation>
163 </transformations>
164 </layer>
165 <layer>
166 <name>DH Light off</name>
167 <condition>
168 <or>
169 <less-than-equals>
170 <property alias="../../../../../../params/decision-height"/>
171 <property alias="../../../../../../params/height"/>
172 </less-than-equals>
173 <less-than-equals>
174 <property alias="../../../../../../params/height"/>
175 <value>30</value>
176 </less-than-equals>
177 </or>
178 </condition>
179 <texture>
180 <path>Aircraft/Instruments/Textures/kra-10a-2.rgb</path>
181 <x1>0.322265625</x1>
182 <y1>0.0</y1>
183 <x2>0.41015625</x2>
184 <y2>0.087890625</y2>
185 </texture>
186 <w>45</w>
187 <h>45</h>
188 <transformations>
189 <transformation>
190 <type>y-shift</type>
191 <offset>140</offset>
192 </transformation>
193 <transformation>
194 <type>x-shift</type>
195 <offset>-60</offset>
196 </transformation>
197 </transformations>
198 </layer>
199 <layer>
200 <name>mask</name>
201 <texture>
202 <path>Aircraft/Instruments/Textures/kra-10a-2.rgb</path>
203 <x1>0.0</x1>
204 <y1>0.41796875</y1>
205 <x2>0.57390625</x2>
206 <y2>0.856269531</y2>
207 </texture>
208 <w>293</w>
209 <h>224</h>
210 <transformations>
211 <transformation>
212 <type>y-shift</type>
213 <offset>34</offset>
214 </transformation>
215 <transformation>
216 <type>x-shift</type>
217 <offset>-78</offset>
218 </transformation>
219 </transformations>
220 </layer>
221 <layer>
222 <name>DH Knob</name>
223 <texture>
224 <path>Aircraft/Instruments/Textures/kra-10a-2.rgb</path>
225 <x1>0.0</x1>
226 <y1>0.0</y1>
227 <x2>0.189453125</x2>
228 <y2>0.189453125</y2>
229 </texture>
230 <w>90</w>
231 <h>90</h>
232 <transformations>
233 <transformation>
234 <type>y-shift</type>
235 <offset>-180</offset>
236 </transformation>
237 <transformation>
238 <type>x-shift</type>
239 <offset>-180</offset>
240 </transformation>
241 <transformation>
242 <type>rotation</type>
243 <property alias="../../../../../params/decision-height"/>
244 <scale>-1</scale>
245 </transformation>
246 </transformations>
247 </layer>
248 </layers>
249 <!-- **************** ACTIONS **************** -->
250 <actions>
251 <action>
252 <name>DH small clockwise rotation</name>
253 <button>0</button>
254 <x>-225</x>
255 <y>-225</y>
256 <w>45</w>
257 <h>90</h>
258 <binding>
259 <!-- do steps of 10 above 500ft -->
260 <condition>
261 <greater-than-equals>
262 <property alias="../../../../../../params/decision-height"/>
263 <value>500</value>
264 </greater-than-equals>
265 </condition>
266 <command>property-adjust</command>
267 <property alias="../../../../params/decision-height"/>
268 <step>10.0</step>
269 <min>0</min>
270 <max>2500</max>
271 <wrap>false</wrap>
272 </binding>
273 <binding>
274 <!-- do steps of 1 below 500ft -->
275 <condition>
276 <less-than>
277 <property alias="../../../../../../params/decision-height"/>
278 <value>500</value>
279 </less-than>
280 </condition>
281 <command>property-adjust</command>
282 <property alias="../../../../params/decision-height"/>
283 <step>1.0</step>
284 <min>0</min>
285 <max>2500</max>
286 <wrap>false</wrap>
287 </binding>
288 </action>
289 <action>
290 <name>DH small counter clockwise rotation</name>
291 <button>0</button>
292 <x>-180</x>
293 <y>-225</y>
294 <w>45</w>
295 <h>90</h>
296 <binding>
297 <!-- do steps of -10 above 510ft -->
298 <condition>
299 <greater-than-equals>
300 <property alias="../../../../../../params/decision-height"/>
301 <value>510</value>
302 </greater-than-equals>
303 </condition>
304 <command>property-adjust</command>
305 <property alias="../../../../params/decision-height"/>
306 <step>-10.0</step>
307 <min>0</min>
308 <max>2500</max>
309 <wrap>false</wrap>
310 </binding>
311 <binding>
312 <!-- do steps of -1 below 510 -->
313 <condition>
314 <less-than>
315 <property alias="../../../../../../params/decision-height"/>
316 <value>510</value>
317 </less-than>
318 </condition>
319 <command>property-adjust</command>
320 <property alias="../../../../params/decision-height"/>
321 <step>-1.0</step>
322 <min>0</min>
323 <max>2500</max>
324 <wrap>false</wrap>
325 </binding>
326 </action>
327 <action>
328 <name>DH large clockwise rotation</name>
329 <button>1</button>
330 <x>-225</x>
331 <y>-225</y>
332 <w>45</w>
333 <h>90</h>
334 <binding>
335 <!-- do steps of 100 above 500ft -->
336 <condition>
337 <greater-than-equals>
338 <property alias="../../../../../../params/decision-height"/>
339 <value>500</value>
340 </greater-than-equals>
341 </condition>
342 <command>property-adjust</command>
343 <property alias="../../../../params/decision-height"/>
344 <step>100.0</step>
345 <min>0</min>
346 <max>2500</max>
347 <wrap>false</wrap>
348 </binding>
349 <binding>
350 <!-- do steps of 10 below 500ft -->
351 <condition>
352 <less-than>
353 <property alias="../../../../../../params/decision-height"/>
354 <value>500</value>
355 </less-than>
356 </condition>
357 <command>property-adjust</command>
358 <property alias="../../../../params/decision-height"/>
359 <step>10.0</step>
360 <min>0</min>
361 <max>2500</max>
362 <wrap>false</wrap>
363 </binding>
364 </action>
365 <action>
366 <name>DH large counter clockwise rotation</name>
367 <button>1</button>
368 <x>-180</x>
369 <y>-225</y>
370 <w>45</w>
371 <h>90</h>
372 <binding>
373 <!-- do steps of -100 above 600ft -->
374 <condition>
375 <greater-than-equals>
376 <property alias="../../../../../../params/decision-height"/>
377 <value>600</value>
378 </greater-than-equals>
379 </condition>
380 <command>property-adjust</command>
381 <property alias="../../../../params/decision-height"/>
382 <step>-100.0</step>
383 <min>0</min>
384 <max>2500</max>
385 <wrap>false</wrap>
386 </binding>
387 <binding>
388 <!-- do steps of -10 below 600ft -->
389 <condition>
390 <less-than>
391 <property alias="../../../../../../params/decision-height"/>
392 <value>600</value>
393 </less-than>
394 </condition>
395 <command>property-adjust</command>
396 <property alias="../../../../params/decision-height"/>
397 <step>-10.0</step>
398 <min>0</min>
399 <max>2500</max>
400 <wrap>false</wrap>
401 </binding>
402 </action>
403 </actions>
404 </PropertyList>