Debian Codegraph @

Aircraft/c172p/Tutorials/pattern.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <name>Flying the Pattern</name>
6
7 <description>
8 The traffic pattern is used as a method to stop aircraft crashing into each other when near an airport.
9
10 The pattern is a rectangular flight path with the runway forming one of the long sides.
11
12 We will be flying at Hilo (PHTO) from runway 21, on a clear day.
13
14 It consists of the following sections:
15 - Upwind. Once we've taken off, we fly straight ahead on the runway heading (220 deg) to 1000 ft.
16 - Crosswind. At 500 ft, we turn right 90 degrees to 310 deg and continue climbing until we get to 1500 ft.
17 - Downwind. When we reach 1500 ft, we turn right again so we are parallel to the runway, which is 40 deg, reduce power and fly at 100 kts. When we are "abeam the numbers" (opposite the number on the runway we intend to land on), we reduce power to 60 %, drop one notch of flaps and descend 100 ft at 90 kts.
18 - Base. We now make another right-hand turn to 130 deg, add another notch of flaps, and let speed continue to dissipate to 70 knots.
19 - Final. At the correct moment (based on visual queues), we make a final left turn to line up with the runway. Maks sure to stay a safe altitude above ground! We drop our final lot of flaps, descend and land.
20 </description>
21
22 <nasal>
23 <script>
24 c172p.repair_damage();
25 electrical.reset_battery_and_circuit_breakers();
26 c172p.click("engine-repair", 6.0);
27 c172p.dialog_battery_reload();
28 setprop("/engines/active-engine/oil-level", sim/model/c172p/engine_flag_0 ? 7 : 8);
29 setprop("/engines/active-engine/carb_ice", 0.0);
30 setprop("/fdm/jsbsim/engine/damage-level", 0.0);
31 </script>
32 </nasal>
33
34 <audio-dir>Tutorials/pattern</audio-dir>
35 <timeofday>noon</timeofday>
36 <presets>
37 <airport-id></airport-id>
38 <on-ground>1</on-ground>
39 <altitude-ft>-9999</altitude-ft>
40 <latitude-deg>19.72415017471669</latitude-deg>
41 <longitude-deg>-155.0518970894882</longitude-deg>
42 <heading-deg>220</heading-deg>
43 <airspeed-kt>0</airspeed-kt>
44 <glideslope-deg>0</glideslope-deg>
45 <offset-azimuth-deg>0</offset-azimuth-deg>
46 <offset-distance-nm>0</offset-distance-nm>
47 <airport-requested>true</airport-requested>
48 <runway-requested>false</runway-requested>
49 <parking-requested>false</parking-requested>
50 </presets>
51
52 <step>
53 <set>
54 <property>/sim/model/door-positions/baggageDoor/position-norm</property>
55 <value>0</value>
56 </set>
57 <set>
58 <property>/sim/model/door-positions/leftDoor/position-norm</property>
59 <value>0</value>
60 </set>
61 <set>
62 <property>/sim/model/door-positions/rightDoor/position-norm</property>
63 <value>0</value>
64 </set>
65 <set>
66 <property>/sim/model/c172p/securing/chock</property>
67 <value>false</value>
68 </set>
69 <set>
70 <property>/sim/model/c172p/securing/cowl-plugs-visible</property>
71 <value>false</value>
72 </set>
73 <set>
74 <property>/sim/model/c172p/securing/tiedownL-visible</property>
75 <value>false</value>
76 </set>
77 <set>
78 <property>/sim/model/c172p/securing/tiedownR-visible</property>
79 <value>false</value>
80 </set>
81 <set>
82 <property>/sim/model/c172p/securing/tiedownT-visible</property>
83 <value>false</value>
84 </set>
85 <set>
86 <property>/sim/model/c172p/securing/pitot-cover-visible</property>
87 <value>false</value>
88 </set>
89 <set>
90 <property>sim/model/c172p/engine_flag_0</property>
91 <value>1</value>
92 </set>
93 <set>
94 <property>sim/model/c172p/engine_flag_1</property>
95 <value>0</value>
96 </set>
97 <set>
98 <property>/controls/engines/active-engine</property>
99 <value>0</value>
100 </set>
101 <set>
102 <property>instrumentation/altimeter/setting-inhg</property>
103 <value>29.95</value>
104 </set>
105 <set>
106 <property>/controls/engines/engine/primer</property>
107 <value>4</value>
108 </set>
109 <set>
110 <property>/controls/engines/engine[0]/throttle</property>
111 <value>0.2</value>
112 </set>
113 <set>
114 <property>/controls/engines/engine[1]/throttle</property>
115 <value>0.2</value>
116 </set>
117 <set>
118 <property>/controls/flight/flaps</property>
119 <value>0.0</value>
120 </set>
121 <set>
122 <property>/controls/switches/master-bat</property>
123 <value>true</value>
124 </set>
125 <set>
126 <property>/controls/switches/master-alt</property>
127 <value>true</value>
128 </set>
129 <set>
130 <property>/controls/gear/brake-parking</property>
131 <value>1</value>
132 </set>
133 <set>
134 <property>/controls/switches/magnetos</property>
135 <value>3</value>
136 </set>
137 <set>
138 <property>/instrumentation/adf/frequencies/selected-khz</property>
139 <value>367</value>
140 </set>
141 <set>
142 <property>/environment/weather-scenario</property>
143 <value>Fair weather</value>
144 </set>
145 <set>
146 <property>/controls/flight/elevator-trim</property>
147 <value>0.17</value>
148 </set>
149 <set>
150 <property>/sim/model/c172p/cockpit/control-lock-placed</property>
151 <value>false</value>
152 </set>
153 <set>
154 <property>/sim/model/c172p/cockpit/control-lock-visible</property>
155 <value>false</value>
156 </set>
157 <nasal>
158 <script>
159 setprop("/controls/engines/current-engine/mixture", 1.0);
160 setprop("/controls/switches/starter", 1);
161 </script>
162 </nasal>
163 <message></message>
164 <view>
165 <heading-offset-deg>0.0</heading-offset-deg>
166 <pitch-offset-deg>-12</pitch-offset-deg>
167 <roll-offset-deg>0.0</roll-offset-deg>
168 <x-offset-m>-0.21</x-offset-m>
169 <y-offset-m>0.19</y-offset-m>
170 <field-of-view>73.6</field-of-view>
171 </view>
172 </step>
173
174 <step>
175 <message>Release the parking brakes, smoothly apply full power and start your take-off.</message>
176
177 <nasal>
178 <script>
179 var listeners = std.Vector.new();
180
181 listeners.append(setlistener("/engines/active-engine/running", func (node) {
182 if (node.getBoolValue()) {
183 setprop("/controls/switches/starter", 0);
184 foreach (var listener; listeners.vector) {
185 removelistener(listener);
186 }
187 listeners.clear();
188 }
189 }, 1, 0));
190 </script>
191 </nasal>
192
193 <error>
194 <message>Release the parking brake using Shift B</message>
195 <condition>
196 <equals>
197 <property>/controls/gear/brake-parking</property>
198 <value>1</value>
199 </equals>
200 </condition>
201 </error>
202 <error>
203 <message>Apply full throttle for take-off</message>
204 <condition>
205 <less-than>
206 <property>/controls/engines/current-engine/throttle</property>
207 <value>0.95</value>
208 </less-than>
209 </condition>
210 </error>
211
212 <exit>
213 <condition>
214 <greater-than>
215 <property>/velocities/airspeed-kt</property>
216 <value>5.0</value>
217 </greater-than>
218 </condition>
219 </exit>
220 </step>
221
222 <step>
223 <message>Stay on the center-line of the runway using the rudder.</message>
224
225 <set>
226 <property>/controls/switches/starter</property>
227 <value>false</value>
228 </set>
229
230 <exit>
231 <condition>
232 <greater-than>
233 <property>/velocities/airspeed-kt</property>
234 <value>45.0</value>
235 </greater-than>
236 </condition>
237 </exit>
238 </step>
239
240 <step>
241 <message>Take-off at 65 knots and climb straight out on heading 220 at 600 feet per minute (about 70 knots).</message>
242 <exit>
243 <condition>
244 <greater-than>
245 <property>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
246 <value>300</value>
247 </greater-than>
248 </condition>
249 </exit>
250 </step>
251
252 <step>
253 <message>Continue your climb on heading 220 at 600 feet per minute to 1000 feet.</message>
254
255 <error>
256 <message>Your climb angle is too shallow - raise the nose slightly to increase your climb rate.</message>
257 <condition>
258 <less-than>
259 <property>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
260 <value>400</value>
261 </less-than>
262 </condition>
263 </error>
264 <error>
265 <message>Your climb angle is too great - lower the nose slightly to decrease your climb rate.</message>
266 <condition>
267 <greater-than>
268 <property>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
269 <value>900</value>
270 </greater-than>
271 </condition>
272 </error>
273 <error>
274 <message>You are heading too far left, Turn right slightly to heading 220.</message>
275 <condition>
276 <less-than>
277 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
278 <value>210</value>
279 </less-than>
280 </condition>
281 </error>
282 <error>
283 <message>You are heading too far right, Turn left slightly to heading 220.</message>
284 <condition>
285 <greater-than>
286 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
287 <value>230</value>
288 </greater-than>
289 </condition>
290 </error>
291 <error>
292 <message>You are in danger of being "behind the power curve". Drop the nose to speed up to 70 knots.</message>
293 <condition>
294 <less-than>
295 <property>/velocities/airspeed-kt</property>
296 <value>60</value>
297 </less-than>
298 </condition>
299 </error>
300
301 <exit>
302 <condition>
303 <greater-than>
304 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
305 <value>900</value>
306 </greater-than>
307 </condition>
308 </exit>
309 </step>
310
311 <step>
312 <message>Make a right turn to crosswind (heading 310) and continue climbing to 1500 feet.</message>
313
314 <error>
315 <message>You're too far right. Turn left to heading 310!</message>
316 <condition>
317 <greater-than>
318 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
319 <value>320</value>
320 </greater-than>
321 </condition>
322 </error>
323
324 <error>
325 <message>You're too far left. Turn right to heading 310!</message>
326 <condition>
327 <less-than>
328 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
329 <value>300</value>
330 </less-than>
331 </condition>
332 </error>
333
334 <exit>
335 <condition>
336 <and>
337 <greater-than>
338 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
339 <value>1400</value>
340 </greater-than>
341 <greater-than>
342 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
343 <value>300</value>
344 </greater-than>
345 <less-than>
346 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
347 <value>320</value>
348 </less-than>
349 </and>
350 </condition>
351 </exit>
352 </step>
353
354 <step>
355 <message>Level off the aircraft at 1500 ft and maintain heading and altitude for a few more seconds</message>
356 <wait>10</wait>
357 </step>
358
359 <step>
360 <message>Now make another 90 degree right turn to downwind (heading 40).</message>
361
362 <error>
363 <message>You're getting too low. Climb to 1500 ft!</message>
364 <condition>
365 <less-than>
366 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
367 <value>1400</value>
368 </less-than>
369 </condition>
370 </error>
371
372 <error>
373 <message>You're getting too high. Descent to 1500 ft!</message>
374 <condition>
375 <greater-than>
376 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
377 <value>1600</value>
378 </greater-than>
379 </condition>
380 </error>
381
382 <error>
383 <message>You're too far right. Turn left to heading 40!</message>
384 <condition>
385 <greater-than>
386 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
387 <value>50</value>
388 </greater-than>
389 </condition>
390 </error>
391
392 <error>
393 <message>You're too far left. Turn right to heading 40!</message>
394 <condition>
395 <less-than>
396 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
397 <value>30</value>
398 </less-than>
399 </condition>
400 </error>
401
402 <exit>
403 <condition>
404 <and>
405 <less-than>
406 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
407 <value>1600</value>
408 </less-than>
409 <greater-than>
410 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
411 <value>1400</value>
412 </greater-than>
413 <greater-than>
414 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
415 <value>30</value>
416 </greater-than>
417 <less-than>
418 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
419 <value>50</value>
420 </less-than>
421 </and>
422 </condition>
423 </exit>
424 </step>
425
426 <step>
427 <message>Reduce power to 80-85%, and trim for level flight. Continue flying parallel to the runway.</message>
428 <error>
429 <message>You are heading too far left, Turn right slightly to heading 40.</message>
430 <condition>
431 <less-than>
432 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
433 <value>30</value>
434 </less-than>
435 </condition>
436 </error>
437 <error>
438 <message>You are heading too far right, Turn left slightly to heading 40.</message>
439 <condition>
440 <greater-than>
441 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
442 <value>50</value>
443 </greater-than>
444 </condition>
445 </error>
446 <error>
447 <message>You are too high. Pattern altitude is 1500 feet.</message>
448 <condition>
449 <greater-than>
450 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
451 <value>1600</value>
452 </greater-than>
453 </condition>
454 </error>
455 <error>
456 <message>You are too low. Pattern altitude is 1500 feet.</message>
457 <condition>
458 <less-than>
459 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
460 <value>1400</value>
461 </less-than>
462 </condition>
463 </error>
464
465 <exit>
466 <condition>
467 <greater-than>
468 <property>/position/latitude-deg</property>
469 <value>19.74</value>
470 </greater-than>
471 </condition>
472 </exit>
473 </step>
474
475 <step>
476 <message>You are now opposite the end of the runway. Reduce power to 70%, set flaps to 10.</message>
477
478 <exit>
479 <condition>
480 <and>
481 <greater-than>
482 <property>/controls/flight/flaps</property>
483 <value>0.3</value>
484 </greater-than>
485 <less-than>
486 <property>/controls/engines/current-engine/throttle</property>
487 <value>0.75</value>
488 </less-than>
489 </and>
490 </condition>
491 </exit>
492 </step>
493
494 <step>
495 <message>Let the aircraft descend and slow down. Continue flying a heading of 40.</message>
496
497 <error>
498 <message>You are heading too far left, Turn right slightly to heading 40.</message>
499 <condition>
500 <less-than>
501 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
502 <value>30</value>
503 </less-than>
504 </condition>
505 </error>
506 <error>
507 <message>You are heading too far right, Turn left slightly to heading 40.</message>
508 <condition>
509 <greater-than>
510 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
511 <value>50</value>
512 </greater-than>
513 </condition>
514 </error>
515 <error>
516 <message>You are too high. You should be descending to around 1300 feet.</message>
517 <condition>
518 <greater-than>
519 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
520 <value>1350</value>
521 </greater-than>
522 </condition>
523 </error>
524
525 <exit>
526 <condition>
527 <less-than>
528 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
529 <value>1350</value>
530 </less-than>
531 </condition>
532 </exit>
533 </step>
534
535 <step>
536 <set>
537 <property>/instrumentation/nav/frequencies/selected-mhz</property>
538 <value>112</value>
539 </set>
540 <set>
541 <property>/instrumentation/nav[0]/radials/selected-deg</property>
542 <value>127</value>
543 </set>
544 <message>Turn left to base (heading 130), and set flaps to 20.
545 Continue descending, but make sure to maintain a safe altitude above the ground!
546 </message>
547
548 <exit>
549 <condition>
550 <less-than>
551 <property>/instrumentation/nav[0]/filtered-cdiNAV0-deflection</property>
552 <value>4</value>
553 </less-than>
554 </condition>
555 </exit>
556 </step>
557
558 <step>
559 <message>Turn onto final (heading 220), and line up with the runway.</message>
560
561 <exit>
562 <condition>
563 <and>
564 <greater-than>
565 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
566 <value>200</value>
567 </greater-than>
568 <less-than>
569 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
570 <value>240</value>
571 </less-than>
572 <less-than>
573 <property>/position/latitude-deg</property>
574 <value>19.74</value>
575 </less-than>
576 </and>
577 </condition>
578 </exit>
579 </step>
580
581 <step>
582 <message>Set flaps to 30. Control your descent rate using the throttle.</message>
583
584 <exit>
585 <condition>
586 <less-than>
587 <property>/position/latitude-deg</property>
588 <value>19.72</value>
589 </less-than>
590 </condition>
591 </exit>
592 </step>
593
594 <step>
595 <message>Slowly reduce power to idle. When you are about 10 feet above the ground,
596 smoothly bring the nose up so it is just above the horizon.
597 </message>
598 <exit>
599 <condition>
600 <less-than>
601 <property>/position/altitude-agl-ft</property>
602 <value>10.0</value>
603 </less-than>
604 </condition>
605 </exit>
606 </step>
607
608 <step>
609 <message>Keep tracking straight down the runway using the rudder
610 and let the aircraft land on the main gear.
611 </message>
612
613 <exit>
614 <condition>
615 <less-than>
616 <property>/velocities/airspeed-kt</property>
617 <value>45.0</value>
618 </less-than>
619 </condition>
620 </exit>
621 </step>
622
623 <step>
624 <message>Lower the nose wheel, continue to track down the runway and gently brake to a stop.</message>
625
626 <exit>
627 <condition>
628 <less-than>
629 <property>/velocities/airspeed-kt</property>
630 <value>5.0</value>
631 </less-than>
632 </condition>
633 </exit>
634 </step>
635
636 <step>
637 <message>Congratulations on successfully following the pattern.
638 If you want to practice more landings, you can take off again immediately.
639 Don't forget to lift your flaps though! This is known as a Touch and Go.
640 </message>
641 </step>
642
643 </PropertyList>