Debian Codegraph @

Aircraft/c172p/Tutorials/landing.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <name>Straight-in Landing</name>
6
7 <description>Landings are not optional...
8
9 Land the aircraft from an altitude of 1700 ft on runway 21 at Hilo (PHTO) on a calm morning.
10
11 Unlike normal flight, when landing you use power alone to control descent rate. The runway should stay in the same position throughout the descent - about a third of the distance above the glare-shield.
12
13 You start the tutorial cruising at around 1000 ft and 90 kts. To begin your descent, you will need to reduce power and drop one notch flaps. You are aiming to approach at 60-70 kts and 300 fpm. As you get closer, you will need to reduce power further and drop more flaps, aiming to touch down "on the numbers" at 65 kts.
14 </description>
15
16 <nasal>
17 <script>
18 c172p.repair_damage();
19 electrical.reset_battery_and_circuit_breakers();
20 c172p.click("engine-repair", 6.0);
21 c172p.dialog_battery_reload();
22 setprop("/engines/active-engine/oil-level", sim/model/c172p/engine_flag_0 ? 7 : 8);
23 setprop("/engines/active-engine/carb_ice", 0.0);
24 setprop("/fdm/jsbsim/engine/damage-level", 0.0);
25 </script>
26 </nasal>
27
28 <timeofday>morning</timeofday>
29 <presets>
30 <airport-id></airport-id>
31 <on-ground>0</on-ground>
32 <altitude-ft>1300</altitude-ft>
33 <latitude-deg>19.76209725536232</latitude-deg>
34 <longitude-deg>-155.017574109008</longitude-deg>
35 <heading-deg>220</heading-deg>
36 <airspeed-kt>90.0</airspeed-kt>
37 <glideslope-deg>3</glideslope-deg>
38 <offset-azimuth-deg>0</offset-azimuth-deg>
39 <offset-distance-nm>0</offset-distance-nm>
40 <ndb-id>0</ndb-id>
41 <vor-id>0</vor-id>
42 <fix>0</fix>
43 </presets>
44
45 <step>
46 <set>
47 <property>/sim/model/c172p/securing/chock</property>
48 <value>false</value>
49 </set>
50 <set>
51 <property>/sim/model/c172p/securing/cowl-plugs-visible</property>
52 <value>false</value>
53 </set>
54 <set>
55 <property>/sim/model/c172p/securing/tiedownL-visible</property>
56 <value>false</value>
57 </set>
58 <set>
59 <property>/sim/model/c172p/securing/tiedownR-visible</property>
60 <value>false</value>
61 </set>
62 <set>
63 <property>/sim/model/c172p/securing/tiedownT-visible</property>
64 <value>false</value>
65 </set>
66 <set>
67 <property>/sim/model/c172p/securing/pitot-cover-visible</property>
68 <value>false</value>
69 </set>
70 <set>
71 <property>/controls/flight/elevator-trim</property>
72 <value>0.05</value>
73 </set>
74 <set>
75 <property>/environment/weather-scenario</property>
76 <value>Fair weather</value>
77 </set>
78 <set>
79 <property>instrumentation/altimeter/setting-inhg</property>
80 <value>29.95</value>
81 </set>
82 <set>
83 <property>sim/model/c172p/engine_flag_0</property>
84 <value>1</value>
85 </set>
86 <set>
87 <property>sim/model/c172p/engine_flag_1</property>
88 <value>0</value>
89 </set>
90 <set>
91 <property>/controls/engines/active-engine</property>
92 <value>0</value>
93 </set>
94 <set>
95 <property>sim/model/c172p/bushkit_flag_0</property>
96 <value>1</value>
97 </set>
98 <set>
99 <property>sim/model/c172p/bushkit_flag_1</property>
100 <value>0</value>
101 </set>
102 <set>
103 <property>sim/model/c172p/bushkit_flag_2</property>
104 <value>0</value>
105 </set>
106 <set>
107 <property>sim/model/c172p/bushkit_flag_3</property>
108 <value>0</value>
109 </set>
110 <set>
111 <property>sim/model/c172p/bushkit_flag_4</property>
112 <value>0</value>
113 </set>
114 <set>
115 <property>fdm/jsbsim/bushkit</property>
116 <value>0</value>
117 </set>
118 <set>
119 <property>/controls/switches/starter</property>
120 <value>true</value>
121 </set>
122 <set>
123 <property>/instrumentation/adf/frequencies/selected-khz</property>
124 <value>367</value>
125 </set>
126 <set>
127 <property>/environment/weather-scenario</property>
128 <value>Fair weather</value>
129 </set>
130 <set>
131 <property>/controls/gear/brake-parking</property>
132 <value>0</value>
133 </set>
134 <set>
135 <property>/controls/switches/master-bat</property>
136 <value>true</value>
137 </set>
138 <set>
139 <property>/controls/switches/master-alt</property>
140 <value>true</value>
141 </set>
142 <set>
143 <property>/controls/switches/master-avionics</property>
144 <value>true</value>
145 </set>
146 <set>
147 <property>/controls/flight/flaps</property>
148 <value>0.0</value>
149 </set>
150 <set>
151 <property>/controls/switches/magnetos</property>
152 <value>3</value>
153 </set>
154 <set>
155 <property>/controls/engines/engine[0]/throttle</property>
156 <value>0.2</value>
157 </set>
158 <set>
159 <property>/controls/engines/engine[1]/throttle</property>
160 <value>0.2</value>
161 </set>
162 <set>
163 <property>/controls/engines/engine/primer</property>
164 <value>4</value>
165 </set>
166 <set>
167 <property>/sim/model/c172p/cockpit/control-lock-placed</property>
168 <value>false</value>
169 </set>
170 <set>
171 <property>/sim/model/c172p/cockpit/control-lock-visible</property>
172 <value>false</value>
173 </set>
174 <nasal>
175 <script>
176 setprop("/controls/engines/current-engine/mixture", 1.0);
177 setprop("/controls/switches/starter", 1);
178 </script>
179 </nasal>
180 <message></message>
181 <view>
182 <heading-offset-deg>0.0</heading-offset-deg>
183 <pitch-offset-deg>-12</pitch-offset-deg>
184 <roll-offset-deg>0.0</roll-offset-deg>
185 <x-offset-m>-0.21</x-offset-m>
186 <y-offset-m>0.19</y-offset-m>
187 <field-of-view>73.6</field-of-view>
188 </view>
189 <wait>1</wait>
190 </step>
191
192 <step>
193 <message></message>
194 <nasal>
195 <script>
196 var listeners = std.Vector.new();
197
198 listeners.append(setlistener("/engines/active-engine/running", func (node) {
199 if (node.getBoolValue()) {
200 setprop("/controls/switches/starter", 0);
201 foreach (var listener; listeners.vector) {
202 removelistener(listener);
203 }
204 listeners.clear();
205 }
206 }, 1, 0));
207 </script>
208 </nasal>
209 <set>
210 <property>/controls/engines/current-engine/throttle</property>
211 <value>0.5</value>
212 </set>
213 <wait>1</wait>
214 </step>
215
216 <step>
217 <message>The runway is straight ahead. Reduce throttle to 50% and apply one degree of flaps.
218 Stay in line with the runway about a hands-width above the glare-shield.
219 You are aiming to descend at around 300 feet per minute and 60 knots.
220 </message>
221
222 <error>
223 <message>You are going too fast. Reduce power and pitch up to reduce your airspeed to 80 knots.</message>
224 <condition>
225 <greater-than>
226 <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
227 <value>100.0</value>
228 </greater-than>
229 </condition>
230 </error>
231
232 <error>
233 <message>Reduce throttle to 50%</message>
234 <condition>
235 <greater-than>
236 <property>/controls/engines/current-engine/throttle</property>
237 <value>0.5</value>
238 </greater-than>
239 </condition>
240 </error>
241
242 <error>
243 <message>Set one step of flaps by pressing ]</message>
244 <condition>
245 <less-than>
246 <property>/controls/flight/flaps</property>
247 <value>0.3</value>
248 </less-than>
249 </condition>
250 </error>
251
252 <exit>
253 <condition>
254 <less-than>
255 <property>/position/latitude-deg</property>
256 <value>19.74</value>
257 </less-than>
258 </condition>
259 </exit>
260 </step>
261
262 <step>
263 <set>
264 <property>/controls/switches/starter</property>
265 <value>false</value>
266 </set>
267 <message>Let down the second step of flaps and aim at the beginning of the runway.
268 Use throttle to control your descent rate rather than attitude.
269 </message>
270
271 <error>
272 <message>Set your second set of flaps by pressing ]</message>
273 <condition>
274 <less-than>
275 <property>/controls/flight/flaps</property>
276 <value>0.6</value>
277 </less-than>
278 </condition>
279 </error>
280
281 <exit>
282 <condition>
283 <less-than>
284 <property>/position/latitude-deg</property>
285 <value>19.73</value>
286 </less-than>
287 </condition>
288 </exit>
289 </step>
290
291 <step>
292 <message>Let down your final set of flaps and continue to descend.
293 Stay lined up with the middle of the runway.
294 </message>
295
296 <error>
297 <message>Set your final set of flaps by pressing ]</message>
298 <condition>
299 <less-than>
300 <property>/controls/flight/flaps</property>
301 <value>0.9</value>
302 </less-than>
303 </condition>
304 </error>
305
306 <exit>
307 <condition>
308 <greater-than>
309 <property>/position/latitude-deg</property>
310 <value>19.7263</value>
311 </greater-than>
312 </condition>
313 </exit>
314 </step>
315
316 <step>
317 <message>Adjust power and pitch, so that you descend with about 65 knots. When you are about 10 feet above the ground,
318 smoothly bring the nose up so it is level with the horizon and set throttle to idle.
319 </message>
320
321 <error>
322 <message>You're going too fast! Reduce speed!</message>
323 <condition>
324 <greater-than>
325 <property>/velocities/airspeed-kt</property>
326 <value>90</value>
327 </greater-than>
328 </condition>
329 </error>
330
331 <exit>
332 <condition>
333 <less-than>
334 <property>/position/altitude-agl-ft</property>
335 <value>7.0</value>
336 </less-than>
337 </condition>
338 </exit>
339 </step>
340
341 <step>
342 <message>Keep tracking straight down the runway and let the aircraft land on the main gear.</message>
343 <exit>
344 <condition>
345 <less-than>
346 <property>/velocities/airspeed-kt</property>
347 <value>45.0</value>
348 </less-than>
349 </condition>
350 </exit>
351 </step>
352
353 <step>
354 <message>Lower the nose wheel, continue to track down the runway and gently brake to a stop. Use
355 the mouse with the left button held down to steer.
356 </message>
357 <exit>
358 <condition>
359 <less-than>
360 <property>/velocities/groundspeed-kt</property>
361 <value>5.0</value>
362 </less-than>
363 </condition>
364 </exit>
365 </step>
366
367 <step>
368 <message>Set the parking brake with Shift-B.</message>
369 <exit>
370 <condition>
371 <equals>
372 <property>/controls/gear/brake-parking</property>
373 <value>1</value>
374 </equals>
375 </condition>
376 </exit>
377 </step>
378
379 <step>
380 <message>Congratulations on a successful landing.</message>
381 </step>
382
383 </PropertyList>