Debian Codegraph @

Aircraft/c172p/Tutorials/altimeter.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <name>Setting the Altimeter</name>
6
7 <description>
8 The Altimeter on an aircraft works using air pressure. This varies due to weather conditions, so the altimeter must be set regularly to a known value.
9
10 Having the correct altimeter setting is important. As well as helping pilots to avoid any high terrain, it means that aircraft can be separated by altitude and not hit each other. This is particular important in busy airspace.
11
12 The source of this altimeter setting varies. At high altitudes, a standard pressure is used. At lower levels, and area setting is used, and around airports, the current airport setting is used.
13
14 This tutorial will teach you how to set the altimeter based on the ATIS (Automatic Terminal Information Service) for Hilo Intl Airport
15 </description>
16
17 <nasal>
18 <script>
19 c172p.repair_damage();
20 electrical.reset_battery_and_circuit_breakers();
21 c172p.click("engine-repair", 6.0);
22 c172p.dialog_battery_reload();
23 setprop("/engines/active-engine/oil-level", sim/model/c172p/engine_flag_0 ? 7 : 8);
24 setprop("/engines/active-engine/carb_ice", 0.0);
25 setprop("/fdm/jsbsim/engine/damage-level", 0.0);
26 </script>
27 </nasal>
28
29 <audio-dir>Tutorials/altimeter</audio-dir>
30 <timeofday>morning</timeofday>
31 <presets>
32 <airport-id></airport-id>
33 <on-ground>1</on-ground>
34 <altitude-ft>-9999</altitude-ft>
35 <latitude-deg>19.71731272</latitude-deg>
36 <longitude-deg>-155.0597483</longitude-deg>
37 <heading-deg>125</heading-deg>
38 <airspeed-kt>0</airspeed-kt>
39 <glideslope-deg>0</glideslope-deg>
40 <offset-azimuth-deg>0</offset-azimuth-deg>
41 <offset-distance-nm>0</offset-distance-nm>
42 <airport-requested>true</airport-requested>
43 <runway-requested>false</runway-requested>
44 <parking-requested>false</parking-requested>
45 </presets>
46
47 <step>
48 <set>
49 <property>/controls/gear/brake-parking</property>
50 <value>1</value>
51 </set>
52 <set>
53 <property>/controls/flight/flaps</property>
54 <value>0.0</value>
55 </set>
56 <set>
57 <property>/controls/switches/magnetos</property>
58 <value>0</value>
59 </set>
60 <set>
61 <property>/controls/engines/engine[0]/throttle</property>
62 <value>0.0</value>
63 </set>
64 <set>
65 <property>/controls/engines/engine[1]/throttle</property>
66 <value>0.0</value>
67 </set>
68 <set>
69 <property>/engines/active-engine/running</property>
70 <value>false</value>
71 </set>
72 <set>
73 <property>/instrumentation/adf/frequencies/selected-khz</property>
74 <value>332</value> <!-- PAHOA NDB -->
75 </set>
76 <set>
77 <property>/environment/weather-scenario</property>
78 <value>Fair weather</value>
79 </set>
80 <set>
81 <property>/controls/flight/elevator-trim</property>
82 <value>0.17</value>
83 </set>
84 <set>
85 <property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
86 <value>126.4</value> <!-- HILO ATIS -->
87 </set>
88 <set>
89 <property>/sim/model/c172p/cockpit/control-lock-placed</property>
90 <value>false</value>
91 </set>
92 <set>
93 <property>/sim/model/c172p/cockpit/control-lock-visible</property>
94 <value>false</value>
95 </set>
96 <message></message>
97 <view>
98 <heading-offset-deg>0.0</heading-offset-deg>
99 <pitch-offset-deg>-12</pitch-offset-deg>
100 <roll-offset-deg>0.0</roll-offset-deg>
101 <x-offset-m>-0.21</x-offset-m>
102 <y-offset-m>0.19</y-offset-m>
103 <field-of-view>73.6</field-of-view>
104 </view>
105 </step>
106
107 <step>
108 <message>In this lesson, you'll learn how to set the altimeter to the Hilo ATIS. I've already
109 set the radio to the correct frequency - 126.4</message>
110 <wait>10</wait>
111 </step>
112
113 <step>
114 <message>Listen to the ATIS message. If you cannot hear it, check the Sound Configuration item in the File menu.</message>
115 <wait>20</wait>
116 <set>
117 <property>/instrumentation/kma20/com1</property>
118 <value>-1</value>
119 </set>
120 </step>
121
122 <step>
123 <message>The ATIS message said the altimeter setting was 29.97.
124 We can set this on the altimeter by using the small insert window on the right side.
125 Alternatively we can adjust the altimeter so that it matches the altitude of Hilo - 37ft.
126 </message>
127 <wait>10</wait>
128 <view>
129 <heading-offset-deg>353.8</heading-offset-deg>
130 <pitch-offset-deg>-20.3</pitch-offset-deg>
131 <roll-offset-deg>0.0</roll-offset-deg>
132 <x-offset-m>-0.2</x-offset-m>
133 <y-offset-m>0.3</y-offset-m>
134 <z-offset-m>0.4</z-offset-m>
135 <field-of-view>15.1</field-of-view>
136 </view>
137 </step>
138
139 <step>
140 <message>To adjust the altimeter directly, use the knob on the bottom left. Click on the right
141 side to increase the altitude, and left to decrease. Alternatively, use your mouse scroll wheel.
142 </message>
143 <wait>10</wait>
144 <view>
145 <heading-offset-deg>353.8</heading-offset-deg>
146 <pitch-offset-deg>-20.3</pitch-offset-deg>
147 <roll-offset-deg>0.0</roll-offset-deg>
148 <x-offset-m>-0.2</x-offset-m>
149 <y-offset-m>0.3</y-offset-m>
150 <z-offset-m>0.4</z-offset-m>
151 <field-of-view>15.1</field-of-view>
152 </view>
153
154 <marker>
155 <x-m>-0.3578</x-m>
156 <y-m>-0.1611</y-m>
157 <z-m>0.0661</z-m>
158 <scale>0.8</scale>
159 </marker>
160 </step>
161
162 <step>
163 <message>Set the altimeter to 37 feet, or the pressure setting to 29.97 inHG.</message>
164 <wait>10</wait>
165 <view>
166 <heading-offset-deg>353.8</heading-offset-deg>
167 <pitch-offset-deg>-20.3</pitch-offset-deg>
168 <roll-offset-deg>0.0</roll-offset-deg>
169 <x-offset-m>-0.2</x-offset-m>
170 <y-offset-m>0.3</y-offset-m>
171 <z-offset-m>0.4</z-offset-m>
172 <field-of-view>15.1</field-of-view>
173 </view>
174
175 <marker>
176 <x-m>-0.3578</x-m>
177 <y-m>-0.1611</y-m>
178 <z-m>0.0661</z-m>
179 <scale>0.8</scale>
180 </marker>
181
182 <error>
183 <message>That's too low. Increase the altimeter setting or altitude.</message>
184 <condition>
185 <less-than>
186 <property>/instrumentation/altimeter/setting-inhg</property>
187 <value>29.965</value>
188 </less-than>
189 </condition>
190 </error>
191
192 <error>
193 <message>That's too high. Decrease the altimeter setting or altitude.</message>
194 <condition>
195 <greater-than>
196 <property>/instrumentation/altimeter/setting-inhg</property>
197 <value>29.975</value>
198 </greater-than>
199 </condition>
200 </error>
201
202 <exit>
203 <condition>
204 <and>
205 <greater-than>
206 <property>/instrumentation/altimeter/setting-inhg</property>
207 <value>29.965</value>
208 </greater-than>
209 <less-than>
210 <property>/instrumentation/altimeter/setting-inhg</property>
211 <value>29.975</value>
212 </less-than>
213 </and>
214 </condition>
215 </exit>
216 </step>
217
218 <step>
219 <message>Tutorial complete. If you set the pressure setting directly,
220 you can double-check you've set the correct value by checking the current altitude.</message>
221 </step>
222
223 </PropertyList>