Debian Codegraph @

Aircraft/c172p/Tutorials/amphibious-landing.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <name>Amphibious Landing</name>
6
7 <description>
8 This tutorial starts from Daniel K. Inouye International Airport (PHNL) and finishes at the seaplane airfield located in Oahu's Keehi Lagoon, Honolulu, Hawaii in clear, still, weather.
9
10 By now you should be proficient in the preflight checklist, startup proceedures, determining the appropriate taxiing route to the desired runway, takeoff, flying a pattern and landing.
11
12 You will start lined up on runway 22R, takeoff on heading 223, climb at 600 feet per minute leveling off at 1000 ft., turn left 180 degree onto final heading 043 and landing on water runway 4W at PHNL.
13
14 Water runway 4W/22W is parallel and immediately adjacent to land based runway 4R/22L.
15
16 Pay attention to the heading bug on landing it will approximate the mooring position.
17 </description>
18
19 <nasal>
20 <script>
21 c172p.repair_damage();
22 electrical.reset_battery_and_circuit_breakers();
23 c172p.click("engine-repair", 6.0);
24 c172p.dialog_battery_reload();
25 setprop("/engines/active-engine/oil-level", sim/model/c172p/engine_flag_0 ? 7 : 8);
26 setprop("/engines/active-engine/carb_ice", 0.0);
27 setprop("/fdm/jsbsim/engine/damage-level", 0.0);
28 </script>
29 </nasal>
30
31 <audio-dir>Tutorials/amphibious</audio-dir>
32 <timeofday>morning</timeofday>
33
34 <presets>
35 <airport-id></airport-id>
36 <on-ground>1</on-ground>
37 <altitude-ft>-9999</altitude-ft>
38 <latitude-deg type="double">21.32982026</latitude-deg>
39 <longitude-deg type="double">-157.907044</longitude-deg>
40 <heading-deg type="double">223</heading-deg>
41 <airspeed-kt>0</airspeed-kt>
42 <glideslope-deg>0</glideslope-deg>
43 <offset-azimuth-deg>0</offset-azimuth-deg>
44 <offset-distance-nm>0</offset-distance-nm>
45 <airport-requested>true</airport-requested>
46 <runway-requested>false</runway-requested>
47 <parking-requested>false</parking-requested>
48 </presets>
49
50 <targets>
51 <mooring>
52 <!-- Mooring location -->
53 <latitude-deg>21.31670172</latitude-deg>
54 <longitude-deg>-157.9124451</longitude-deg>
55 </mooring>
56 </targets>
57
58 <step>
59 <message>If damage is off, you may turn it on now for more realism.</message>
60 <set>
61 <property>/instrumentation/adf/frequencies/selected-khz</property>
62 <value>242</value> <!-- EWABE NDB -->
63 </set>
64 <set>
65 <property>/autopilot/settings/heading-bug-deg</property>
66 <value>223</value>
67 </set>
68 <set>
69 <property>/environment/weather-scenario</property>
70 <value>Fair weather</value>
71 </set>
72 <set>
73 <property>instrumentation/altimeter/setting-inhg</property>
74 <value>29.92</value>
75 </set>
76 <set>
77 <property>/controls/gear/brake-parking</property>
78 <value>1</value>
79 </set>
80 <set>
81 <property>/controls/switches/master-bat</property>
82 <value>true</value>
83 </set>
84 <set>
85 <property>/controls/switches/master-alt</property>
86 <value>true</value>
87 </set>
88 <set>
89 <property>/controls/switches/master-avionics</property>
90 <value>true</value>
91 </set>
92 <set>
93 <property>/controls/flight/flaps</property>
94 <value>0.0</value>
95 </set>
96 <set>
97 <property>/controls/flight/elevator-trim</property>
98 <value>-0.17</value>
99 </set>
100 <set>
101 <property>/controls/switches/magnetos</property>
102 <value>3</value>
103 </set>
104 <set>
105 <property>/controls/engines/engine[0]/throttle</property>
106 <value>0.2</value>
107 </set>
108 <set>
109 <property>/controls/engines/engine[1]/throttle</property>
110 <value>0.2</value>
111 </set>
112 <set>
113 <property>/controls/engines/engine/primer</property>
114 <value>4</value>
115 </set>
116 <set>
117 <property>/controls/lighting/taxi-light</property>
118 <value>false</value>
119 </set>
120 <set>
121 <property>/controls/lighting/landing-lights</property>
122 <value>false</value>
123 </set>
124 <set>
125 <property>/controls/anti-ice/pitot-heat</property>
126 <value>false</value>
127 </set>
128 <set>
129 <property>/controls/lighting/nav-lights</property>
130 <value>false</value>
131 </set>
132 <set>
133 <property>/controls/lighting/beacon</property>
134 <value>false</value>
135 </set>
136 <set>
137 <property>/controls/lighting/strobe</property>
138 <value>false</value>
139 </set>
140 <set>
141 <property>/controls/lighting/instruments-norm</property>
142 <value>0</value>
143 </set>
144 <set>
145 <property>/sim/model/door-positions/baggageDoor/position-norm</property>
146 <value>0</value>
147 </set>
148 <set>
149 <property>/sim/model/door-positions/leftDoor/position-norm</property>
150 <value>0</value>
151 </set>
152 <set>
153 <property>/sim/model/door-positions/rightDoor/position-norm</property>
154 <value>0</value>
155 </set>
156 <set>
157 <property>/sim/model/c172p/securing/chock</property>
158 <value>false</value>
159 </set>
160 <set>
161 <property>/sim/model/c172p/securing/cowl-plugs-visible</property>
162 <value>false</value>
163 </set>
164 <set>
165 <property>/sim/model/c172p/securing/tiedownL-visible</property>
166 <value>false</value>
167 </set>
168 <set>
169 <property>/sim/model/c172p/securing/tiedownR-visible</property>
170 <value>false</value>
171 </set>
172 <set>
173 <property>/sim/model/c172p/securing/tiedownT-visible</property>
174 <value>false</value>
175 </set>
176 <set>
177 <property>/sim/model/c172p/securing/pitot-cover-visible</property>
178 <value>false</value>
179 </set>
180 <set>
181 <property>sim/model/c172p/engine_flag_0</property>
182 <value>0</value>
183 </set>
184 <set>
185 <property>sim/model/c172p/engine_flag_1</property>
186 <value>1</value>
187 </set>
188 <set>
189 <property>/controls/engines/active-engine</property>
190 <value>1</value>
191 </set>
192 <set>
193 <property>sim/model/c172p/bushkit_flag_0</property>
194 <value>0</value>
195 </set>
196 <set>
197 <property>sim/model/c172p/bushkit_flag_1</property>
198 <value>0</value>
199 </set>
200 <set>
201 <property>sim/model/c172p/bushkit_flag_2</property>
202 <value>0</value>
203 </set>
204 <set>
205 <property>sim/model/c172p/bushkit_flag_3</property>
206 <value>1</value>
207 </set>
208 <set>
209 <property>sim/model/c172p/bushkit_flag_4</property>
210 <value>0</value>
211 </set>
212 <set>
213 <property>fdm/jsbsim/bushkit</property>
214 <value>4</value>
215 </set>
216 <set>
217 <property>/sim/model/c172p/cockpit/control-lock-placed</property>
218 <value>false</value>
219 </set>
220 <set>
221 <property>/sim/model/c172p/cockpit/control-lock-visible</property>
222 <value>false</value>
223 </set>
224 <set>
225 <property>/sim/model/c172p/securing/cowl-plugs-visible</property>
226 <value>false</value>
227 </set>
228 <set>
229 <property>/controls/switches/master-gear</property>
230 <value>true</value>
231 </set>
232 <set>
233 <property>/controls/gear/water-rudder</property>
234 <value>false</value>
235 </set>
236
237 <view>
238 <heading-offset-deg>0.0</heading-offset-deg>
239 <pitch-offset-deg>-12</pitch-offset-deg>
240 <roll-offset-deg>0.0</roll-offset-deg>
241 <x-offset-m>-0.21</x-offset-m>
242 <y-offset-m>0.23</y-offset-m>
243 <field-of-view>73.6</field-of-view>
244 </view>
245 </step>
246
247 <step>
248 <message>You are lined up ready for takeoff</message>
249
250 <nasal>
251 <script>
252 setprop("/controls/engines/current-engine/mixture", 1.0);
253 setprop("/controls/switches/starter", 1);
254 </script>
255 </nasal>
256 <wait>15</wait>
257 </step>
258
259 <step>
260 <message>Release the parking brakes and takeoff</message>
261 <set>
262 <property>/controls/switches/starter</property>
263 <value>false</value>
264 </set>
265
266 <error>
267 <message>Release the parking brake.</message>
268 <condition>
269 <equals>
270 <property>/controls/gear/brake-parking</property>
271 <value>1</value>
272 </equals>
273 </condition>
274 </error>
275 </step>
276
277 <step>
278 <message>Takeoff course of 223, smoothly apply full power, control direction using rudder or differential braking.</message>
279
280 <error>
281 <message>Turn avionics system power switch on.</message>
282 <condition>
283 <equals>
284 <property>/controls/switches/master-avionics</property>
285 <value>0</value>
286 </equals>
287 </condition>
288 </error>
289 <error>
290 <message>Your gear must be down to take off Shift+[g].</message>
291 <condition>
292 <equals>
293 <property>/controls/gear/gear-down</property>
294 <value>0</value>
295 </equals>
296 </condition>
297 </error>
298 <error>
299 <message>Apply full throttle for takeoff.</message>
300 <condition>
301 <less-than>
302 <property>/controls/engines/current-engine/throttle</property>
303 <value>0.95</value>
304 </less-than>
305 </condition>
306 </error>
307
308 <exit>
309 <condition>
310 <greater-than>
311 <property>/velocities/airspeed-kt</property>
312 <value>5.0</value>
313 </greater-than>
314 </condition>
315 </exit>
316 </step>
317
318 <step>
319 <message>Let the aircraft lift off at 65 knots, climb straight out on heading 223, 600 feet per minute.</message>
320
321 <exit>
322 <condition>
323 <and>
324 <greater-than>
325 <property>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
326 <value>300</value>
327 </greater-than>
328 <less-than>
329 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
330 <value>238</value>
331 </less-than>
332 <greater-than>
333 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
334 <value>208</value>
335 </greater-than>
336 </and>
337 </condition>
338 </exit>
339 </step>
340
341 <step>
342 <message>Continue your climb on heading 223 at 600 feet per minute to 1000 feet.</message>
343
344 <error>
345 <message>You are heading too far left, turn right slightly to heading 223.</message>
346 <condition>
347 <less-than>
348 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
349 <value>208</value>
350 </less-than>
351 </condition>
352 </error>
353 <error>
354 <message>You are heading too far right, turn left slightly to heading 223.</message>
355 <condition>
356 <greater-than>
357 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
358 <value>238</value>
359 </greater-than>
360 </condition>
361 </error>
362 <error>
363 <message>Turn avionics system power switch on.</message>
364 <condition>
365 <equals>
366 <property>/controls/switches/master-avionics</property>
367 <value>0</value>
368 </equals>
369 </condition>
370 </error>
371 <error>
372 <message>Raise your landing gear now [g].</message>
373 <condition>
374 <equals>
375 <property>/controls/gear/gear-down</property>
376 <value>1</value>
377 </equals>
378 </condition>
379 </error>
380
381 <exit>
382 <condition>
383 <and>
384 <greater-than>
385 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
386 <value>900</value>
387 </greater-than>
388 <less-than>
389 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
390 <value>1100</value>
391 </less-than>
392 <less-than>
393 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
394 <value>238</value>
395 </less-than>
396 <greater-than>
397 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
398 <value>208</value>
399 </greater-than>
400 <equals>
401 <property>/controls/gear/gear-down</property>
402 <value>0</value>
403 </equals>
404 </and>
405 </condition>
406 </exit>
407 </step>
408
409 <step>
410 <message>Level off between 900 and 1100 feet.</message>
411
412 <error>
413 <message>You are too low</message>
414 <condition>
415 <less-than>
416 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
417 <value>900</value>
418 </less-than>
419 </condition>
420 </error>
421 <error>
422 <message>You are too high</message>
423 <condition>
424 <greater-than>
425 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
426 <value>1100</value>
427 </greater-than>
428 </condition>
429 </error>
430 <error>
431 <message>You are heading too far left, turn right slightly to heading 223.</message>
432 <condition>
433 <less-than>
434 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
435 <value>208</value>
436 </less-than>
437 </condition>
438 </error>
439 <error>
440 <message>You are heading too far right, turn left slightly to heading 223.</message>
441 <condition>
442 <greater-than>
443 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
444 <value>238</value>
445 </greater-than>
446 </condition>
447 </error>
448
449 <exit>
450 <condition>
451 <and>
452 <greater-than>
453 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
454 <value>900</value>
455 </greater-than>
456 <less-than>
457 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
458 <value>1100</value>
459 </less-than>
460 <less-than>
461 <property>instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
462 <value>300</value>
463 </less-than>
464 <greater-than>
465 <property>instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
466 <value>-300</value>
467 </greater-than>
468 <greater-than>
469 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
470 <value>207</value>
471 </greater-than>
472 <less-than>
473 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
474 <value>247</value>
475 </less-than>
476 </and>
477
478 </condition>
479 </exit>
480 </step>
481 <step>
482 <message>Continue outbound heading 223 at 1000 feet.</message>
483
484 <exit>
485 <condition>
486 <or>
487 <greater-than>
488 <property>/position/longitude-deg</property>
489 <value>-157.9550502</value>
490 </greater-than>
491 <greater-than>
492 <property>/sim/tutorials/targets/mooring/distance-m</property>
493 <value>5240</value>
494 </greater-than>
495 </or>
496 </condition>
497 </exit>
498 </step>
499
500 <step>
501 <message>Execute a 180 degree left turn onto final heading 043, line up with water runway 4W at PHNL in Keehi Lagoon.</message>
502
503 <set>
504 <property>/autopilot/settings/heading-bug-deg</property>
505 <value>50</value>
506 </set>
507
508 <exit>
509 <condition>
510 <and>
511 <greater-than>
512 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
513 <value>28</value>
514 </greater-than>
515 <less-than>
516 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
517 <value>58</value>
518 </less-than>
519 </and>
520 </condition>
521 </exit>
522 </step>
523
524 <step>
525 <message>Execute power and flap regime for landing.</message>
526
527 <error>
528 <message>Check throttle.</message>
529 <condition>
530 <greater-than>
531 <property>/controls/engines/current-engine/throttle</property>
532 <value>0.85</value>
533 </greater-than>
534 </condition>
535 </error>
536 <error>
537 <message>Set some flaps at appropriate speed.</message>
538 <condition>
539 <and>
540 <less-than>
541 <property>/controls/flight/flaps</property>
542 <value>0.3</value>
543 </less-than>
544 <less-than>
545 <property>/velocities/airspeed-kt</property>
546 <value>110</value>
547 </less-than>
548 </and>
549 </condition>
550 </error>
551
552 <exit>
553 <condition>
554 <and>
555 <less-than>
556 <property>/controls/engines/current-engine/throttle</property>
557 <value>0.9</value>
558 </less-than>
559 <greater-than>
560 <property>/controls/flight/flaps</property>
561 <value>0</value>
562 </greater-than>
563 <less-than>
564 <property>/velocities/groundspeed-kt</property>
565 <value>70</value>
566 </less-than>
567 </and>
568 </condition>
569 </exit>
570 </step>
571
572 <step>
573 <message>Check gear advisory.</message>
574
575 <error>
576 <message>Turn avionics system power switch on.</message>
577 <condition>
578 <equals>
579 <property>/controls/switches/master-avionics</property>
580 <value>0</value>
581 </equals>
582 </condition>
583 </error>
584 <error>
585 <message>Raise pontoon landing gear [g].</message>
586 <condition>
587 <and>
588 <less-than>
589 <property>/velocities/groundspeed-kt</property>
590 <value>70</value>
591 </less-than>
592 <equals>
593 <property>/controls/gear/gear-down</property>
594 <value>1</value>
595 </equals>
596 </and>
597 </condition>
598 </error>
599 <exit>
600 <condition>
601 <equals>
602 <property>/controls/gear/gear-down</property>
603 <value>0</value>
604 </equals>
605 </condition>
606 </exit>
607 </step>
608
609 <step>
610 <message>Execute landing.</message>
611
612 <error>
613 <message>Check throttle.</message>
614 <condition>
615 <greater-than>
616 <property>/controls/engines/current-engine/throttle</property>
617 <value>0.65</value>
618 </greater-than>
619 </condition>
620 </error>
621 <error>
622 <message>Continue approach then gently touch down in the water.</message>
623 <condition>
624 <equals>
625 <property>/fdm/jsbsim/hydro/active-norm</property>
626 <value>0</value>
627 </equals>
628 </condition>
629 </error>
630
631 <exit>
632 <condition>
633 <equals>
634 <property>/fdm/jsbsim/hydro/active-norm</property>
635 <value>1</value>
636 </equals>
637 </condition>
638 </exit>
639 </step>
640
641 <step>
642 <message>Lower water rudders for better control Shift+[r].</message>
643
644 <error>
645 <message>Lower water rudders Shift+[r].</message>
646 <condition>
647 <equals>
648 <property>/controls/gear/water-rudder</property>
649 <value>0</value>
650 </equals>
651 </condition>
652 </error>
653 <error>
654 <message>Settle back into the water.</message>
655 <condition>
656 <equals>
657 <property>/fdm/jsbsim/hydro/active-norm</property>
658 <value>0</value>
659 </equals>
660 </condition>
661 </error>
662
663 <exit>
664 <and>
665 <condition>
666 <less-than>
667 <property>/velocities/groundspeed-kt</property>
668 <value>20.0</value>
669 </less-than>
670 </condition>
671 <condition>
672 <equals>
673 <property>/controls/gear/water-rudder</property>
674 <value>1</value>
675 </equals>
676 </condition>
677 <condition>
678 <equals>
679 <property>/fdm/jsbsim/hydro/active-norm</property>
680 <value>1</value>
681 </equals>
682 </condition>
683 </and>
684 </exit>
685 </step>
686
687 <step>
688 <message>Taxi off of runway following your heading bug towards the mooring location.</message>
689
690 <nasal>
691 <script>
692 setprop("/autopilot/settings/heading-bug-deg", getprop("/sim/tutorials/targets/mooring/heading-deg"));
693 </script>
694 </nasal>
695
696 <error>
697 <message>You're off course. To reach the mooring location turn to the left following your heading bug.</message>
698 <nasal>
699 <script>
700 setprop("/autopilot/settings/heading-bug-deg", getprop("/sim/tutorials/targets/mooring/heading-deg"));
701 </script>
702 </nasal>
703 <condition>
704 <less-than>
705 <property>/sim/tutorials/targets/mooring/direction-deg</property>
706 <value>-20</value>
707 </less-than>
708 </condition>
709 </error>
710 <error>
711 <message>You're off course. To reach the mooring location turn to the right following your heading bug.</message>
712 <nasal>
713 <script>
714 setprop("/autopilot/settings/heading-bug-deg", getprop("/sim/tutorials/targets/mooring/heading-deg"));
715 </script>
716 </nasal>
717 <condition>
718 <greater-than>
719 <property>/sim/tutorials/targets/mooring/direction-deg</property>
720 <value>20</value>
721 </greater-than>
722 </condition>
723 </error>
724
725 <exit>
726 <condition>
727 <and>
728 <less-than>
729 <property>/sim/tutorials/targets/mooring/direction-deg</property>
730 <value>20</value>
731 </less-than>
732 <greater-than>
733 <property>/sim/tutorials/targets/mooring/direction-deg</property>
734 <value>-20</value>
735 </greater-than>
736 </and>
737 </condition>
738 </exit>
739 </step>
740
741 <step>
742 <message>Continue taxiing towards mooring location following your heading bug.</message>
743
744 <exit>
745 <condition>
746 <less-than>
747 <property>/sim/tutorials/targets/mooring/distance-m</property>
748 <value>120.0</value>
749 </less-than>
750 </condition>
751 </exit>
752 </step>
753
754 <step>
755 <message>Prepare to set mooring anchor by immediately turning into the wind by following the heading bug, shut off the engine and open the "Mooring Parameters" menu.</message>
756
757 <nasal>
758 <script>
759 setprop("/autopilot/settings/heading-bug-deg", getprop("/environment/wind-from-heading-deg"));
760 </script>
761 </nasal>
762
763 <error>
764 <message>Face into the wind (follow the heading bug) and shut off your engine.</message>
765 <nasal>
766 <script>
767 setprop("/autopilot/settings/heading-bug-deg", getprop("/environment/wind-from-heading-deg"));
768 </script>
769 </nasal>
770 <condition>
771 <equals>
772 <property>/engines/active-engine/running</property>
773 <value>1</value>
774 </equals>
775 </condition>
776 </error>
777
778 <exit>
779 <condition>
780 <equals>
781 <property>/engines/active-engine/running</property>
782 <value>0</value>
783 </equals>
784 </condition>
785 </exit>
786 </step>
787
788 <step>
789 <message>Get ready to drop the mooring anchor.</message>
790
791 <nasal>
792 <script>
793 setprop("/autopilot/settings/heading-bug-deg", getprop("/environment/wind-from-heading-deg"));
794 </script>
795 </nasal>
796
797 <error>
798 <message>Face into the wind following your heading bug or using info from the "Mooring Parameters" menu, [Set] the mooring anchor under "Mooring Parameters".</message>
799 <condition>
800 <equals>
801 <property>/controls/mooring/anchor</property>
802 <value>0</value>
803 </equals>
804 </condition>
805 </error>
806 <error>
807 <message>Can't anchor with with forward speed greater than 7.</message>
808 <condition>
809 <greater-than>
810 <property>/fdm/jsbsim/hydro/vbx-fps</property>
811 <value>7</value>
812 </greater-than>
813 </condition>
814 </error>
815 <error>
816 <message>If needed start engine briefly to gain momentum.</message>
817 <condition>
818 <less-than>
819 <property>/fdm/jsbsim/hydro/vbx-fps</property>
820 <value>3</value>
821 </less-than>
822 </condition>
823 </error>
824 <error>
825 <message>Kill engine and face into the wind using momentum.</message>
826 <nasal>
827 <script>
828 setprop("/autopilot/settings/heading-bug-deg", getprop("/environment/wind-from-heading-deg"));
829 </script>
830 </nasal>
831 <condition>
832 <equals>
833 <property>/engines/active-engine/running</property>
834 <value>1</value>
835 </equals>
836 </condition>
837 </error>
838 <error>
839 <message>Wind speed is too great to set mooring anchor.</message>
840 <condition>
841 <greater-than>
842 <property>/environment/windsock/wind-speed-kt</property>
843 <value>40</value>
844 </greater-than>
845 </condition>
846 </error>
847
848 <exit>
849 <condition>
850 <or>
851 <greater-than>
852 <property>/environment/windsock/wind-speed-kt</property>
853 <value>40</value>
854 </greater-than>
855 <equals>
856 <property>/controls/mooring/anchor</property>
857 <value>1</value>
858 </equals>
859 </or>
860 </condition>
861 </exit>
862 </step>
863
864 <step>
865 <message>Congratulations on successfully executing a ground take off, following a pattern to a water landing and then setting the mooring anchor.</message>
866 </step>
867
868 </PropertyList>