Debian Codegraph @

Aircraft/Instruments/aoa-indexer.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!-- Angle of Attack indexer, as used on US Navy carrier aircraft. The
3 operation of these things is simple. When the AoA is too low, the
4 bottom arrow glows red. This indicates to the pilot that they
5 should pull back on the stick to raise the nose and slow down.
6 When the AoA is too high, the pilot gets a green, downward
7 pointing top arrow telling him to push the stick forward, lower
8 the nose, and speed up.
9
10 This instrument needs its angle thresholds supplied externally
11 (probably from the aircraft -set file), in these four properties:
12 /sim/aoa-indexer/too-slow-deg (usually target +1.5 deg)
13 /sim/aoa-indexer/slow-deg (target +0.5 deg)
14 /sim/aoa-indexer/fast-deg (target -0.5 deg)
15 /sim/aoa-indexer/too-fast-deg (target -1.5 deg)
16
17 Note that there is no instrument background texture. This just
18 applies alpha-blended "lights" to something else in the 3D
19 cockpit.
20 -->
21
22 <PropertyList>
23
24 <name>Angle of Attack Indexer</name>
25 <w-base>2.0</w-base>
26 <h-base>5.0</h-base>
27
28 <layers>
29
30 <layer>
31 <name>too slow</name>
32 <w>2</w>
33 <h>5</h>
34 <texture>
35 <path>Aircraft/Instruments/Textures/aoa-indexer.rgb</path>
36 <x1>0.0</x1>
37 <y1>0.0</y1>
38 <x2>0.2</x2>
39 <y2>1.0</y2>
40 </texture>
41 <condition>
42 <greater-than>
43 <property>/orientation/alpha-deg</property>
44 <property>/sim/aoa-indexer/too-slow-deg</property>
45 </greater-than>
46 </condition>
47 </layer>
48
49 <layer>
50 <name>slow</name>
51 <w>2</w>
52 <h>5</h>
53 <texture>
54 <path>Aircraft/Instruments/Textures/aoa-indexer.rgb</path>
55 <x1>0.2</x1>
56 <y1>0.0</y1>
57 <x2>0.4</x2>
58 <y2>1.0</y2>
59 </texture>
60 <condition>
61 <less-than>
62 <property>/orientation/alpha-deg</property>
63 <property>/sim/aoa-indexer/too-slow-deg</property>
64 </less-than>
65 <greater-than>
66 <property>/orientation/alpha-deg</property>
67 <property>/sim/aoa-indexer/slow-deg</property>
68 </greater-than>
69 </condition>
70 </layer>
71
72 <layer>
73 <name>on-speed</name>
74 <w>2</w>
75 <h>5</h>
76 <texture>
77 <path>Aircraft/Instruments/Textures/aoa-indexer.rgb</path>
78 <x1>0.4</x1>
79 <y1>0.0</y1>
80 <x2>0.6</x2>
81 <y2>1.0</y2>
82 </texture>
83 <condition>
84 <less-than>
85 <property>/orientation/alpha-deg</property>
86 <property>/sim/aoa-indexer/slow-deg</property>
87 </less-than>
88 <greater-than>
89 <property>/orientation/alpha-deg</property>
90 <property>/sim/aoa-indexer/fast-deg</property>
91 </greater-than>
92 </condition>
93 </layer>
94
95 <layer>
96 <name>fast</name>
97 <w>2</w>
98 <h>5</h>
99 <texture>
100 <path>Aircraft/Instruments/Textures/aoa-indexer.rgb</path>
101 <x1>0.6</x1>
102 <y1>0.0</y1>
103 <x2>0.8</x2>
104 <y2>1.0</y2>
105 </texture>
106 <condition>
107 <less-than>
108 <property>/orientation/alpha-deg</property>
109 <property>/sim/aoa-indexer/fast-deg</property>
110 </less-than>
111 <greater-than>
112 <property>/orientation/alpha-deg</property>
113 <property>/sim/aoa-indexer/too-fast-deg</property>
114 </greater-than>
115 </condition>
116 </layer>
117
118 <layer>
119 <name>too fast</name>
120 <w>2</w>
121 <h>5</h>
122 <texture>
123 <path>Aircraft/Instruments/Textures/aoa-indexer.rgb</path>
124 <x1>0.8</x1>
125 <y1>0.0</y1>
126 <x2>1.0</x2>
127 <y2>1.0</y2>
128 </texture>
129 <condition>
130 <less-than>
131 <property>/orientation/alpha-deg</property>
132 <property>/sim/aoa-indexer/too-fast-deg</property>
133 </less-than>
134 </condition>
135 </layer>
136
137 </layers>
138 </PropertyList>
139
140