Debian Codegraph @

Aircraft/c172p/Tutorials/amphibious-night.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <name>Amphibious Night</name>
6
7 <description>
8 This tutorial starts from Daniel K. Inouye International Airport (PHNL), a seaplane airfield located in Oahu's Keehi Lagoon, Honolulu, Hawaii in clear, still, weather at night.
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 taxi and takeoff from water runway 4W at PHNL on heading 043, climb at 600 feet per minute leveling off at 1000 ft., turn left 180 degree onto heading 223 to touch-n-go at PHNL 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 taxiing it will approximate the threshold position of runway 4W and 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>midnight</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.317</latitude-deg>
39 <longitude-deg type="double">-157.912</longitude-deg>
40 <heading-deg type="double">70</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 <runway>
52 <!-- Threashold runway 4W -->
53 <latitude-deg>21.31335723</latitude-deg>
54 <longitude-deg>-157.9157261</longitude-deg>
55 </runway>
56 <mooring>
57 <!-- Mooring location -->
58 <latitude-deg>21.31670172</latitude-deg>
59 <longitude-deg>-157.9124451</longitude-deg>
60 </mooring>
61 </targets>
62
63 <step>
64 <message>Damage has been turned off. You may turn it on now for more realism.</message>
65 <set>
66 <property>/fdm/jsbsim/settings/damage</property>
67 <value>0</value>
68 </set>
69 <nasal>
70 <script>
71 var listeners = std.Vector.new();
72
73 listeners.append(setlistener("/sim/signals/fdm-initialized", func (node) {
74 if (node.getBoolValue()) {
75 setprop("/controls/switches/starter", 0);
76 setprop("/controls/switches/master-bat", 1);
77 setprop("/controls/switches/master-alt", 1);
78 setprop("/controls/gear/gear-down", 0);
79 setprop("/fdm/jsbsim/gear/gear-pos-norm", 0);
80 setprop("/orientation/heading-deg", getprop("/environment/wind-from-heading-deg"));
81 setprop("/fdm/jsbsim/mooring/anchor-lon", getprop("/position/longitude-deg"));
82 setprop("/fdm/jsbsim/mooring/anchor-lat", getprop("/position/latitude-deg"));
83 setprop("sim/anchorbuoy/enable", 0);
84 setprop("/fdm/jsbsim/mooring/anchor-dist", 0);
85 setprop("/fdm/jsbsim/mooring/anchor-length", 0);
86 setprop("/fdm/jsbsim/mooring/mooring-connected", 0);
87 setprop("/controls/switches/master-bat", 0);
88 setprop("/controls/switches/master-alt", 0);
89 foreach (var listener; listeners.vector) {
90 removelistener(listener);
91 }
92 listeners.clear();
93 }
94 }, 1, 0));
95 </script>
96 </nasal>
97 <set>
98 <property>/controls/flight/flaps</property>
99 <value>0.0</value>
100 </set>
101 <set>
102 <property>/controls/switches/magnetos</property>
103 <value>0</value>
104 </set>
105 <set>
106 <property>/controls/engines/engine[0]/throttle</property>
107 <value>0.0</value>
108 </set>
109 <set>
110 <property>/controls/engines/engine[1]/throttle</property>
111 <value>0.0</value>
112 </set>
113 <set>
114 <property>/engines/active-engine/running</property>
115 <value>false</value>
116 </set>
117 <set>
118 <property>/instrumentation/adf/frequencies/selected-khz</property>
119 <value>242</value> <!-- EWABE NDB -->
120 </set>
121 <!--set>
122 <property>/environment/weather-scenario</property>
123 <value>Fair weather</value>
124 </set-->
125 <set>
126 <property>instrumentation/altimeter/setting-inhg</property>
127 <value>29.92</value>
128 </set>
129 <set>
130 <property>/controls/flight/elevator-trim</property>
131 <value>0.17</value>
132 </set>
133 <set>
134 <property>/consumables/fuel/tank[0]/selected</property>
135 <value>true</value>
136 </set>
137 <set>
138 <property>/consumables/fuel/tank[1]/selected</property>
139 <value>true</value>
140 </set>
141 <set>
142 <property>/controls/anti-ice/engine/carb-heat</property>
143 <value>false</value>
144 </set>
145 <set>
146 <property>/controls/switches/master-avionics</property>
147 <value>false</value>
148 </set>
149 <set>
150 <property>/controls/switches/master-bat</property>
151 <value>false</value>
152 </set>
153 <set>
154 <property>/controls/switches/master-alt</property>
155 <value>false</value>
156 </set>
157 <set>
158 <property>/controls/lighting/taxi-light</property>
159 <value>false</value>
160 </set>
161 <set>
162 <property>/controls/lighting/landing-lights</property>
163 <value>false</value>
164 </set>
165 <set>
166 <property>/controls/anti-ice/pitot-heat</property>
167 <value>false</value>
168 </set>
169 <set>
170 <property>/controls/lighting/nav-lights</property>
171 <value>false</value>
172 </set>
173 <set>
174 <property>/controls/lighting/beacon</property>
175 <value>false</value>
176 </set>
177 <set>
178 <property>/controls/lighting/strobe</property>
179 <value>false</value>
180 </set>
181 <set>
182 <property>/controls/lighting/instruments-norm</property>
183 <value>0</value>
184 </set>
185 <set>
186 <property>/controls/engines/engine/primer</property>
187 <value>0</value>
188 </set>
189 <set>
190 <property>/controls/engines/engine/primer-lever</property>
191 <value>false</value>
192 </set>
193 <set>
194 <property>/sim/model/door-positions/baggageDoor/position-norm</property>
195 <value>0</value>
196 </set>
197 <set>
198 <property>/sim/model/door-positions/leftDoor/position-norm</property>
199 <value>0</value>
200 </set>
201 <set>
202 <property>/sim/model/door-positions/rightDoor/position-norm</property>
203 <value>0</value>
204 </set>
205 <set>
206 <property>/sim/model/c172p/securing/chock</property>
207 <value>false</value>
208 </set>
209 <set>
210 <property>/sim/model/c172p/securing/cowl-plugs-visible</property>
211 <value>false</value>
212 </set>
213 <set>
214 <property>/sim/model/c172p/securing/tiedownL-visible</property>
215 <value>false</value>
216 </set>
217 <set>
218 <property>/sim/model/c172p/securing/tiedownR-visible</property>
219 <value>false</value>
220 </set>
221 <set>
222 <property>/sim/model/c172p/securing/tiedownT-visible</property>
223 <value>false</value>
224 </set>
225 <set>
226 <property>/sim/model/c172p/securing/pitot-cover-visible</property>
227 <value>false</value>
228 </set>
229 <set>
230 <property>sim/model/c172p/engine_flag_0</property>
231 <value>0</value>
232 </set>
233 <set>
234 <property>sim/model/c172p/engine_flag_1</property>
235 <value>1</value>
236 </set>
237 <set>
238 <property>/controls/engines/active-engine</property>
239 <value>1</value>
240 </set>
241 <set>
242 <property>sim/model/c172p/bushkit_flag_0</property>
243 <value>0</value>
244 </set>
245 <set>
246 <property>sim/model/c172p/bushkit_flag_1</property>
247 <value>0</value>
248 </set>
249 <set>
250 <property>sim/model/c172p/bushkit_flag_2</property>
251 <value>0</value>
252 </set>
253 <set>
254 <property>sim/model/c172p/bushkit_flag_3</property>
255 <value>1</value>
256 </set>
257 <set>
258 <property>sim/model/c172p/bushkit_flag_4</property>
259 <value>0</value>
260 </set>
261 <set>
262 <property>fdm/jsbsim/bushkit</property>
263 <value>4</value>
264 </set>
265 <set>
266 <property>/sim/model/c172p/cockpit/control-lock-placed</property>
267 <value>false</value>
268 </set>
269 <set>
270 <property>/sim/model/c172p/cockpit/control-lock-visible</property>
271 <value>false</value>
272 </set>
273 <set>
274 <property>/sim/model/c172p/securing/cowl-plugs-visible</property>
275 <value>false</value>
276 </set>
277 <set>
278 <property>/controls/gear/brake-parking</property>
279 <value>0</value>
280 </set>
281 <set>
282 <property>/controls/mooring/anchor</property>
283 <value>1</value>
284 </set>
285 <set>
286 <property>/controls/switches/master-gear</property>
287 <value>false</value>
288 </set>
289 <set>
290 <property>/controls/gear/water-rudder</property>
291 <value>false</value>
292 </set>
293
294 <view>
295 <heading-offset-deg>0.0</heading-offset-deg>
296 <pitch-offset-deg>-12</pitch-offset-deg>
297 <roll-offset-deg>0.0</roll-offset-deg>
298 <x-offset-m>-0.21</x-offset-m>
299 <y-offset-m>0.23</y-offset-m>
300 <field-of-view>73.6</field-of-view>
301 </view>
302 </step>
303
304 <step>
305 <message>Please go through your preflight, determine taxi route to runway 4W then release the mooring anchor.</message>
306 <set>
307 <property>/controls/switches/starter</property>
308 <value>false</value>
309 </set>
310
311 <wait>10</wait>
312
313 <error>
314 <message>When ready release the mooring anchor under "Mooring Parameters".</message>
315 <condition>
316 <equals>
317 <property>/controls/mooring/anchor</property>
318 <value>1</value>
319 </equals>
320 </condition>
321 </error>
322 <error>
323 <message>Do not start engine until the mooring anchor has been released.
324 Turn it off or you will damage your aircraft.</message>
325 <condition>
326 <equals>
327 <property>/engines/active-engine/running</property>
328 <value>1</value>
329 </equals>
330 </condition>
331 </error>
332
333 <exit>
334 <condition>
335 <and>
336 <equals>
337 <property>/controls/mooring/anchor</property>
338 <value>0</value>
339 </equals>
340 <equals>
341 <property>/engines/active-engine/running</property>
342 <value>0</value>
343 </equals>
344 </and>
345 </condition>
346 </exit>
347 </step>
348
349 <step>
350 <message>Use your flashlight to help you see enough to power up your aircraf, press [f] key twice.</message>
351 </step>
352
353 <step>
354 <message>Click the battery master switch to turn it on.</message>
355
356 <exit>
357 <condition>
358 <property>controls/switches/master-bat</property>
359 </condition>
360 </exit>
361 </step>
362
363 <step>
364 <message>Start the engine.</message>
365
366 <wait>5</wait>
367
368 <error>
369 <message>Click the alternator master switch to turn it on.</message>
370 <condition>
371 <not>
372 <property>/controls/switches/master-alt</property>
373 </not>
374 </condition>
375 </error>
376
377 <exit>
378 <condition>
379 <and>
380 <property>/controls/switches/master-alt</property>
381 <equals>
382 <property>/engines/active-engine/running</property>
383 <value>1</value>
384 </equals>
385 </and>
386 </condition>
387 </exit>
388 </step>
389
390 <step>
391 <message>Lower water rudders for better control Shift+[r].</message>
392
393 <error>
394 <message>Lower water rudders now Shift+[r].</message>
395 <condition>
396 <equals>
397 <property>/controls/gear/water-rudder</property>
398 <value>0</value>
399 </equals>
400 </condition>
401 </error>
402 <error>
403 <message>Turn avionics system power switch on.</message>
404 <condition>
405 <equals>
406 <property>/controls/switches/master-avionics</property>
407 <value>0</value>
408 </equals>
409 </condition>
410 </error>
411 <error>
412 <message>Your gear must be up to take off [g].</message>
413 <condition>
414 <equals>
415 <property>/controls/gear/gear-down</property>
416 <value>1</value>
417 </equals>
418 </condition>
419 </error>
420
421 <exit>
422 <condition>
423 <and>
424 <equals>
425 <property>/controls/gear/water-rudder</property>
426 <value>1</value>
427 </equals>
428 <equals>
429 <property>/controls/switches/master-avionics</property>
430 <value>1</value>
431 </equals>
432 <equals>
433 <property>/controls/gear/gear-down</property>
434 <value>0</value>
435 </equals>
436 </and>
437 </condition>
438 </exit>
439 </step>
440
441 <step>
442 <message>Turn navagation lights on.</message>
443
444 <wait>10</wait>
445
446 <error>
447 <message>Turn taxi light on.</message>
448 <condition>
449 <not>
450 <property>/controls/lighting/taxi-light</property>
451 </not>
452 </condition>
453 </error>
454 <error>
455 <message>Turn landing light on.</message>
456 <condition>
457 <not>
458 <property>/controls/lighting/landing-lights</property>
459 </not>
460 </condition>
461 </error>
462 <error>
463 <message>Turn nav light on.</message>
464 <condition>
465 <not>
466 <property>/controls/lighting/nav-lights</property>
467 </not>
468 </condition>
469 </error>
470 <error>
471 <message>Turn beacon light on.</message>
472 <condition>
473 <not>
474 <property>/controls/lighting/beacon</property>
475 </not>
476 </condition>
477 </error>
478 <error>
479 <message>Turn strobe light on.</message>
480 <condition>
481 <not>
482 <property>/controls/lighting/strobe</property>
483 </not>
484 </condition>
485 </error>
486 <error>
487 <message>Turn off your flashlight, press [f] key until off.</message>
488 <condition>
489 <greater-than>
490 <property>/sim/walker/flashlight/mode</property>
491 <value>0</value>
492 </greater-than>
493 </condition>
494 </error>
495
496 <exit>
497 <condition>
498 <and>
499 <property>/controls/lighting/taxi-light</property>
500 <property>/controls/lighting/landing-lights</property>
501 <property>/controls/lighting/nav-lights</property>
502 <property>/controls/lighting/beacon</property>
503 <property>/controls/lighting/strobe</property>
504 <equals>
505 <property>/sim/walker/flashlight/mode</property>
506 <value>0</value>
507 </equals>
508 </and>
509 </condition>
510 </exit>
511 </step>
512
513 <step>
514 <message>Taxi towards water runway 4W following your heading bug until you reach the runway threshhold.</message>
515
516 <nasal>
517 <script>
518 setprop("/autopilot/settings/heading-bug-deg", getprop("/sim/tutorials/targets/runway/heading-deg"));
519 </script>
520 </nasal>
521
522 <error>
523 <message>You're off course. To reach the runway turn to the left following your heading bug.</message>
524 <nasal>
525 <script>
526 setprop("/autopilot/settings/heading-bug-deg", getprop("/sim/tutorials/targets/runway/heading-deg"));
527 </script>
528 </nasal>
529 <condition>
530 <less-than>
531 <property>/sim/tutorials/targets/runway/direction-deg</property>
532 <value>-20</value>
533 </less-than>
534 </condition>
535 </error>
536 <error>
537 <message>You're off course. To reach the runway turn to the right following your heading bug.</message>
538 <nasal>
539 <script>
540 setprop("/autopilot/settings/heading-bug-deg", getprop("/sim/tutorials/targets/runway/heading-deg"));
541 </script>
542 </nasal>
543 <condition>
544 <greater-than>
545 <property>/sim/tutorials/targets/runway/direction-deg</property>
546 <value>20</value>
547 </greater-than>
548 </condition>
549 </error>
550
551 <exit>
552 <condition>
553 <and>
554 <less-than>
555 <property>/sim/tutorials/targets/runway/direction-deg</property>
556 <value>20</value>
557 </less-than>
558 <greater-than>
559 <property>/sim/tutorials/targets/runway/direction-deg</property>
560 <value>-20</value>
561 </greater-than>
562 </and>
563 </condition>
564 </exit>
565 </step>
566
567 <step>
568 <message>Continue taxiing towards water runway 4W following your heading bug until you reach the runway threshhold.</message>
569
570 <exit>
571 <condition>
572 <less-than>
573 <property>/sim/tutorials/targets/runway/distance-m</property>
574 <value>120.0</value>
575 </less-than>
576 </condition>
577 </exit>
578 </step>
579
580 <step>
581 <message>Turn left to line up on a takeoff course of 043.</message>
582
583 <set>
584 <property>/autopilot/settings/heading-bug-deg</property>
585 <value>43.4</value>
586 </set>
587
588 <error>
589 <message>Your gear must be up to take off [g].</message>
590 <condition>
591 <equals>
592 <property>/controls/gear/gear-down</property>
593 <value>1</value>
594 </equals>
595 </condition>
596 </error>
597 <error>
598 <message>You are heading too far left, turn right slightly to heading 043.</message>
599 <condition>
600 <less-than>
601 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
602 <value>028</value>
603 </less-than>
604 </condition>
605 </error>
606 <error>
607 <message>You are heading too far right, turn left slightly to heading 043.</message>
608 <condition>
609 <greater-than>
610 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
611 <value>058</value>
612 </greater-than>
613 </condition>
614 </error>
615 <exit>
616 <condition>
617 <and>
618 <greater-than>
619 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
620 <value>028</value>
621 </greater-than>
622 <less-than>
623 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
624 <value>058</value>
625 </less-than>
626 </and>
627 </condition>
628 </exit>
629 </step>
630
631 <step>
632 <message>Ready for takeoff smoothly apply full power, control direction using rudder.</message>
633
634 <set>
635 <property>/autopilot/settings/heading-bug-deg</property>
636 <value>43.4</value>
637 </set>
638
639 <error>
640 <message>Your gear must be up to take off [g].</message>
641 <condition>
642 <equals>
643 <property>/controls/gear/gear-down</property>
644 <value>1</value>
645 </equals>
646 </condition>
647 </error>
648 <error>
649 <message>Apply full throttle for takeoff.</message>
650 <condition>
651 <less-than>
652 <property>/controls/engines/current-engine/throttle</property>
653 <value>0.95</value>
654 </less-than>
655 </condition>
656 </error>
657
658 <exit>
659 <condition>
660 <greater-than>
661 <property>/velocities/airspeed-kt</property>
662 <value>0.90</value>
663 </greater-than>
664 </condition>
665 </exit>
666 </step>
667
668 <step>
669 <message>Slight forward pressure to get on step, if you begin to bounce use slight back pressure.</message>
670
671 <error>
672 <message>You are heading too far left, turn right slightly to heading 043.</message>
673 <condition>
674 <less-than>
675 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
676 <value>28</value>
677 </less-than>
678 </condition>
679 </error>
680 <error>
681 <message>You are heading too far right, turn left slightly to heading 043.</message>
682 <condition>
683 <greater-than>
684 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
685 <value>58</value>
686 </greater-than>
687 </condition>
688 </error>
689
690 <exit>
691 <condition>
692 <and>
693 <greater-than>
694 <property>/velocities/airspeed-kt</property>
695 <value>45.0</value>
696 </greater-than>
697 <less-than>
698 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
699 <value>58</value>
700 </less-than>
701 <greater-than>
702 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
703 <value>28</value>
704 </greater-than>
705 </and>
706 </condition>
707 </exit>
708 </step>
709
710 <step>
711 <message>Let the aircraft lift off at 65 knots, climb straight out on heading 043, 600 feet per minute.</message>
712
713 <error>
714 <message>Gently raise the nose.</message>
715 <condition>
716 <equals>
717 <property>/fdm/jsbsim/hydro/active-norm</property>
718 <value>1</value>
719 </equals>
720 </condition>
721 </error>
722
723 <exit>
724 <condition>
725 <and>
726 <greater-than>
727 <property>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
728 <value>300</value>
729 </greater-than>
730 <equals>
731 <property>/fdm/jsbsim/hydro/active-norm</property>
732 <value>0</value>
733 </equals>
734 <less-than>
735 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
736 <value>58</value>
737 </less-than>
738 <greater-than>
739 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
740 <value>28</value>
741 </greater-than>
742 </and>
743 </condition>
744 </exit>
745 </step>
746
747 <step>
748 <message>Continue your climb on heading 043 at 600 feet per minute to 1000 feet.</message>
749
750 <error>
751 <message>You are heading too far left, turn right slightly to heading 043.</message>
752 <condition>
753 <less-than>
754 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
755 <value>28</value>
756 </less-than>
757 </condition>
758 </error>
759 <error>
760 <message>You are heading too far right, turn left slightly to heading 043.</message>
761 <condition>
762 <greater-than>
763 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
764 <value>58</value>
765 </greater-than>
766 </condition>
767 </error>
768 <error>
769 <message>Raise your pontoon rudders now [r].</message>
770 <condition>
771 <equals>
772 <property>/controls/gear/water-rudder</property>
773 <value>1</value>
774 </equals>
775 </condition>
776 </error>
777
778 <exit>
779 <condition>
780 <and>
781 <greater-than>
782 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
783 <value>900</value>
784 </greater-than>
785 <less-than>
786 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
787 <value>1100</value>
788 </less-than>
789 <less-than>
790 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
791 <value>58</value>
792 </less-than>
793 <greater-than>
794 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
795 <value>28</value>
796 </greater-than>
797 <equals>
798 <property>/controls/gear/water-rudder</property>
799 <value>0</value>
800 </equals>
801 </and>
802 </condition>
803 </exit>
804 </step>
805
806 <step>
807 <message>Level off between 900 and 1100 feet.</message>
808
809 <error>
810 <message>You are too low</message>
811 <condition>
812 <less-than>
813 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
814 <value>900</value>
815 </less-than>
816 </condition>
817 </error>
818 <error>
819 <message>You are too high</message>
820 <condition>
821 <greater-than>
822 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
823 <value>1100</value>
824 </greater-than>
825 </condition>
826 </error>
827 <error>
828 <message>You are heading too far left, turn right slightly to heading 043.</message>
829 <condition>
830 <less-than>
831 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
832 <value>28</value>
833 </less-than>
834 </condition>
835 </error>
836 <error>
837 <message>You are heading too far right, turn left slightly to heading 043.</message>
838 <condition>
839 <greater-than>
840 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
841 <value>58</value>
842 </greater-than>
843 </condition>
844 </error>
845
846 <exit>
847 <condition>
848 <or>
849 <and>
850 <greater-than>
851 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
852 <value>900</value>
853 </greater-than>
854 <less-than>
855 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
856 <value>1100</value>
857 </less-than>
858 <less-than>
859 <property>instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
860 <value>300</value>
861 </less-than>
862 <greater-than>
863 <property>instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
864 <value>-300</value>
865 </greater-than>
866 <greater-than>
867 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
868 <value>28</value>
869 </greater-than>
870 <less-than>
871 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
872 <value>58</value>
873 </less-than>
874 </and>
875 <greater-than>
876 <property>/sim/tutorials/targets/runway/distance-m</property>
877 <value>5690</value>
878 </greater-than>
879 </or>
880 </condition>
881 </exit>
882 </step>
883
884 <step>
885 <message>Continue outbound heading 043 at 1000 feet.</message>
886
887
888 <exit>
889 <condition>
890 <or>
891 <less-than>
892 <property>/position/longitude-deg</property>
893 <value>-157.8756975</value>
894 </less-than>
895 <greater-than>
896 <property>/sim/tutorials/targets/runway/distance-m</property>
897 <value>5690</value>
898 </greater-than>
899 </or>
900 </condition>
901 </exit>
902 </step>
903
904 <step>
905 <message>Execute a 180 degree left turn onto final heading 223, line up with the runway 22R at PHNL.</message>
906
907 <set>
908 <property>/autopilot/settings/heading-bug-deg</property>
909 <value>223</value>
910 </set>
911
912 <exit>
913 <condition>
914 <and>
915 <greater-than>
916 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
917 <value>208</value>
918 </greater-than>
919 <less-than>
920 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
921 <value>238</value>
922 </less-than>
923 </and>
924 </condition>
925 </exit>
926 </step>
927
928 <step>
929 <message>Execute power and flap regime for landing.</message>
930
931 <error>
932 <message>Check throttle.</message>
933 <condition>
934 <greater-than>
935 <property>/controls/engines/current-engine/throttle</property>
936 <value>0.85</value>
937 </greater-than>
938 </condition>
939 </error>
940 <error>
941 <message>Set some flaps at appropriate speed.</message>
942 <condition>
943 <and>
944 <less-than>
945 <property>/controls/flight/flaps</property>
946 <value>0.3</value>
947 </less-than>
948 <less-than>
949 <property>/velocities/airspeed-kt</property>
950 <value>110</value>
951 </less-than>
952 </and>
953 </condition>
954 </error>
955
956 <exit>
957 <condition>
958 <and>
959 <less-than>
960 <property>/controls/engines/current-engine/throttle</property>
961 <value>0.9</value>
962 </less-than>
963 <greater-than>
964 <property>/controls/flight/flaps</property>
965 <value>0</value>
966 </greater-than>
967 <less-than>
968 <property>/velocities/groundspeed-kt</property>
969 <value>70</value>
970 </less-than>
971 </and>
972 </condition>
973 </exit>
974 </step>
975
976 <step>
977 <message>Check gear advisory.</message>
978
979 <error>
980 <message>Lower pontoon landing gear Shift+[g].</message>
981 <condition>
982 <and>
983 <less-than>
984 <property>/velocities/groundspeed-kt</property>
985 <value>70</value>
986 </less-than>
987 <equals>
988 <property>/controls/gear/gear-down</property>
989 <value>0</value>
990 </equals>
991 </and>
992 </condition>
993 </error>
994 <exit>
995 <condition>
996 <equals>
997 <property>/controls/gear/gear-down</property>
998 <value>1</value>
999 </equals>
1000 </condition>
1001 </exit>
1002 </step>
1003
1004 <step>
1005 <message>Execute approach and touch-n-go.</message>
1006
1007 <exit>
1008 <condition>
1009 <and>
1010 <property>/fdm/jsbsim/gear/unit[19]/WOW</property>
1011 <property>/fdm/jsbsim/gear/unit[20]/WOW</property>
1012 <property>/fdm/jsbsim/gear/unit[21]/WOW</property>
1013 <property>/fdm/jsbsim/gear/unit[22]/WOW</property>
1014 </and>
1015 </condition>
1016 </exit>
1017 </step>
1018
1019 <step>
1020 <message>Takeoff course of 223, retact flaps, smoothly apply full power, control direction using rudder or differential braking.</message>
1021
1022 <error>
1023 <message>Retract flaps.</message>
1024 <condition>
1025 <greater-than>
1026 <property>/controls/flight/flaps</property>
1027 <value>0.0</value>
1028 </greater-than>
1029 </condition>
1030 </error>
1031 <error>
1032 <message>Apply full throttle for takeoff.</message>
1033 <condition>
1034 <less-than>
1035 <property>/controls/engines/current-engine/throttle</property>
1036 <value>0.95</value>
1037 </less-than>
1038 </condition>
1039 </error>
1040
1041 <property>/controls/flight/flaps</property>
1042 <value>0.0</value>
1043
1044 <exit>
1045 <condition>
1046 <greater-than>
1047 <property>/velocities/airspeed-kt</property>
1048 <value>5.0</value>
1049 </greater-than>
1050 <equals>
1051 <property>/controls/flight/flaps</property>
1052 <value>0.0</value>
1053 </equals>
1054 </condition>
1055 </exit>
1056 </step>
1057
1058 <step>
1059 <message>Let the aircraft lift off at 65 knots, climb straight out on heading 223, 600 feet per minute.</message>
1060
1061 <exit>
1062 <condition>
1063 <and>
1064 <greater-than>
1065 <property>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
1066 <value>300</value>
1067 </greater-than>
1068 <less-than>
1069 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
1070 <value>238</value>
1071 </less-than>
1072 <greater-than>
1073 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
1074 <value>208</value>
1075 </greater-than>
1076 </and>
1077 </condition>
1078 </exit>
1079 </step>
1080
1081 <step>
1082 <message>Continue your climb on heading 223 at 600 feet per minute to 1000 feet.</message>
1083
1084 <error>
1085 <message>You are heading too far left, turn right slightly to heading 223.</message>
1086 <condition>
1087 <less-than>
1088 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
1089 <value>208</value>
1090 </less-than>
1091 </condition>
1092 </error>
1093 <error>
1094 <message>You are heading too far right, turn left slightly to heading 223.</message>
1095 <condition>
1096 <greater-than>
1097 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
1098 <value>238</value>
1099 </greater-than>
1100 </condition>
1101 </error>
1102 <error>
1103 <message>Turn avionics system power switch on.</message>
1104 <condition>
1105 <equals>
1106 <property>/controls/switches/master-avionics</property>
1107 <value>0</value>
1108 </equals>
1109 </condition>
1110 </error>
1111 <error>
1112 <message>Raise your landing gear now [g].</message>
1113 <condition>
1114 <equals>
1115 <property>/controls/gear/gear-down</property>
1116 <value>1</value>
1117 </equals>
1118 </condition>
1119 </error>
1120
1121 <exit>
1122 <condition>
1123 <and>
1124 <greater-than>
1125 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
1126 <value>900</value>
1127 </greater-than>
1128 <less-than>
1129 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
1130 <value>1100</value>
1131 </less-than>
1132 <less-than>
1133 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
1134 <value>238</value>
1135 </less-than>
1136 <greater-than>
1137 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
1138 <value>208</value>
1139 </greater-than>
1140 <equals>
1141 <property>/controls/gear/gear-down</property>
1142 <value>0</value>
1143 </equals>
1144 </and>
1145 </condition>
1146 </exit>
1147 </step>
1148
1149 <step>
1150 <message>Level off between 900 and 1100 feet.</message>
1151
1152 <error>
1153 <message>You are too low</message>
1154 <condition>
1155 <less-than>
1156 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
1157 <value>900</value>
1158 </less-than>
1159 </condition>
1160 </error>
1161 <error>
1162 <message>You are too high</message>
1163 <condition>
1164 <greater-than>
1165 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
1166 <value>1100</value>
1167 </greater-than>
1168 </condition>
1169 </error>
1170 <error>
1171 <message>You are heading too far left, turn right slightly to heading 223.</message>
1172 <condition>
1173 <less-than>
1174 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
1175 <value>208</value>
1176 </less-than>
1177 </condition>
1178 </error>
1179 <error>
1180 <message>You are heading too far right, turn left slightly to heading 223.</message>
1181 <condition>
1182 <greater-than>
1183 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
1184 <value>238</value>
1185 </greater-than>
1186 </condition>
1187 </error>
1188
1189 <exit>
1190 <condition>
1191 <and>
1192 <greater-than>
1193 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
1194 <value>900</value>
1195 </greater-than>
1196 <less-than>
1197 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
1198 <value>1100</value>
1199 </less-than>
1200 <less-than>
1201 <property>instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
1202 <value>300</value>
1203 </less-than>
1204 <greater-than>
1205 <property>instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
1206 <value>-300</value>
1207 </greater-than>
1208 <greater-than>
1209 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
1210 <value>207</value>
1211 </greater-than>
1212 <less-than>
1213 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
1214 <value>247</value>
1215 </less-than>
1216 </and>
1217
1218 </condition>
1219 </exit>
1220 </step>
1221 <step>
1222 <message>Continue outbound heading 223 at 1000 feet.</message>
1223
1224 <exit>
1225 <condition>
1226 <or>
1227 <greater-than>
1228 <property>/position/longitude-deg</property>
1229 <value>-157.9550502</value>
1230 </greater-than>
1231 <greater-than>
1232 <property>/sim/tutorials/targets/mooring/distance-m</property>
1233 <value>5240</value>
1234 </greater-than>
1235 </or>
1236 </condition>
1237 </exit>
1238 </step>
1239
1240 <step>
1241 <message>Execute a 180 degree left turn onto final heading 043, line up with water runway 4W at PHNL in Keehi Lagoon.</message>
1242
1243 <set>
1244 <property>/autopilot/settings/heading-bug-deg</property>
1245 <value>50</value>
1246 </set>
1247
1248 <exit>
1249 <condition>
1250 <and>
1251 <greater-than>
1252 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
1253 <value>28</value>
1254 </greater-than>
1255 <less-than>
1256 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
1257 <value>58</value>
1258 </less-than>
1259 </and>
1260 </condition>
1261 </exit>
1262 </step>
1263
1264 <step>
1265 <message>Execute power and flap regime for landing.</message>
1266
1267 <error>
1268 <message>Check throttle.</message>
1269 <condition>
1270 <greater-than>
1271 <property>/controls/engines/current-engine/throttle</property>
1272 <value>0.85</value>
1273 </greater-than>
1274 </condition>
1275 </error>
1276 <error>
1277 <message>Set some flaps at appropriate speed.</message>
1278 <condition>
1279 <and>
1280 <less-than>
1281 <property>/controls/flight/flaps</property>
1282 <value>0.3</value>
1283 </less-than>
1284 <less-than>
1285 <property>/velocities/airspeed-kt</property>
1286 <value>110</value>
1287 </less-than>
1288 </and>
1289 </condition>
1290 </error>
1291
1292 <exit>
1293 <condition>
1294 <and>
1295 <less-than>
1296 <property>/controls/engines/current-engine/throttle</property>
1297 <value>0.9</value>
1298 </less-than>
1299 <greater-than>
1300 <property>/controls/flight/flaps</property>
1301 <value>0</value>
1302 </greater-than>
1303 <less-than>
1304 <property>/velocities/groundspeed-kt</property>
1305 <value>70</value>
1306 </less-than>
1307 </and>
1308 </condition>
1309 </exit>
1310 </step>
1311
1312 <step>
1313 <message>Check gear advisory.</message>
1314
1315 <error>
1316 <message>Turn avionics system power switch on.</message>
1317 <condition>
1318 <equals>
1319 <property>/controls/switches/master-avionics</property>
1320 <value>0</value>
1321 </equals>
1322 </condition>
1323 </error>
1324 <error>
1325 <message>Raise pontoon landing gear [g].</message>
1326 <condition>
1327 <and>
1328 <less-than>
1329 <property>/velocities/groundspeed-kt</property>
1330 <value>70</value>
1331 </less-than>
1332 <equals>
1333 <property>/controls/gear/gear-down</property>
1334 <value>1</value>
1335 </equals>
1336 </and>
1337 </condition>
1338 </error>
1339 <exit>
1340 <condition>
1341 <equals>
1342 <property>/controls/gear/gear-down</property>
1343 <value>0</value>
1344 </equals>
1345 </condition>
1346 </exit>
1347 </step>
1348
1349 <step>
1350 <message>Execute landing.</message>
1351
1352 <error>
1353 <message>Check throttle.</message>
1354 <condition>
1355 <greater-than>
1356 <property>/controls/engines/current-engine/throttle</property>
1357 <value>0.65</value>
1358 </greater-than>
1359 </condition>
1360 </error>
1361 <error>
1362 <message>Continue approach then gently touch down in the water.</message>
1363 <condition>
1364 <equals>
1365 <property>/fdm/jsbsim/hydro/active-norm</property>
1366 <value>0</value>
1367 </equals>
1368 </condition>
1369 </error>
1370
1371 <exit>
1372 <condition>
1373 <equals>
1374 <property>/fdm/jsbsim/hydro/active-norm</property>
1375 <value>1</value>
1376 </equals>
1377 </condition>
1378 </exit>
1379 </step>
1380
1381 <step>
1382 <message>Lower water rudders for better control Shift+[r].</message>
1383
1384 <error>
1385 <message>Lower water rudders Shift+[r].</message>
1386 <condition>
1387 <equals>
1388 <property>/controls/gear/water-rudder</property>
1389 <value>0</value>
1390 </equals>
1391 </condition>
1392 </error>
1393 <error>
1394 <message>Settle back into the water.</message>
1395 <condition>
1396 <equals>
1397 <property>/fdm/jsbsim/hydro/active-norm</property>
1398 <value>0</value>
1399 </equals>
1400 </condition>
1401 </error>
1402
1403 <exit>
1404 <and>
1405 <condition>
1406 <less-than>
1407 <property>/velocities/groundspeed-kt</property>
1408 <value>20.0</value>
1409 </less-than>
1410 </condition>
1411 <condition>
1412 <equals>
1413 <property>/controls/gear/water-rudder</property>
1414 <value>1</value>
1415 </equals>
1416 </condition>
1417 <condition>
1418 <equals>
1419 <property>/fdm/jsbsim/hydro/active-norm</property>
1420 <value>1</value>
1421 </equals>
1422 </condition>
1423 </and>
1424 </exit>
1425 </step>
1426
1427 <step>
1428 <message>Taxi off of runway following your heading bug towards the mooring location.</message>
1429
1430 <nasal>
1431 <script>
1432 setprop("/autopilot/settings/heading-bug-deg", getprop("/sim/tutorials/targets/mooring/heading-deg"));
1433 </script>
1434 </nasal>
1435
1436 <error>
1437 <message>You're off course. To reach the mooring location turn to the left following your heading bug.</message>
1438 <nasal>
1439 <script>
1440 setprop("/autopilot/settings/heading-bug-deg", getprop("/sim/tutorials/targets/mooring/heading-deg"));
1441 </script>
1442 </nasal>
1443 <condition>
1444 <less-than>
1445 <property>/sim/tutorials/targets/mooring/direction-deg</property>
1446 <value>-20</value>
1447 </less-than>
1448 </condition>
1449 </error>
1450 <error>
1451 <message>You're off course. To reach the mooring location turn to the right following your heading bug.</message>
1452 <nasal>
1453 <script>
1454 setprop("/autopilot/settings/heading-bug-deg", getprop("/sim/tutorials/targets/mooring/heading-deg"));
1455 </script>
1456 </nasal>
1457 <condition>
1458 <greater-than>
1459 <property>/sim/tutorials/targets/mooring/direction-deg</property>
1460 <value>20</value>
1461 </greater-than>
1462 </condition>
1463 </error>
1464
1465 <exit>
1466 <condition>
1467 <and>
1468 <less-than>
1469 <property>/sim/tutorials/targets/mooring/direction-deg</property>
1470 <value>20</value>
1471 </less-than>
1472 <greater-than>
1473 <property>/sim/tutorials/targets/mooring/direction-deg</property>
1474 <value>-20</value>
1475 </greater-than>
1476 </and>
1477 </condition>
1478 </exit>
1479 </step>
1480
1481 <step>
1482 <message>Continue taxiing towards mooring location following your heading bug.</message>
1483
1484 <exit>
1485 <condition>
1486 <less-than>
1487 <property>/sim/tutorials/targets/mooring/distance-m</property>
1488 <value>120.0</value>
1489 </less-than>
1490 </condition>
1491 </exit>
1492 </step>
1493
1494 <step>
1495 <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>
1496
1497 <nasal>
1498 <script>
1499 setprop("/autopilot/settings/heading-bug-deg", getprop("/environment/wind-from-heading-deg"));
1500 </script>
1501 </nasal>
1502
1503 <error>
1504 <message>Face into the wind (follow the heading bug) and shut off your engine.</message>
1505 <nasal>
1506 <script>
1507 setprop("/autopilot/settings/heading-bug-deg", getprop("/environment/wind-from-heading-deg"));
1508 </script>
1509 </nasal>
1510 <condition>
1511 <equals>
1512 <property>/engines/active-engine/running</property>
1513 <value>1</value>
1514 </equals>
1515 </condition>
1516 </error>
1517
1518 <exit>
1519 <condition>
1520 <equals>
1521 <property>/engines/active-engine/running</property>
1522 <value>0</value>
1523 </equals>
1524 </condition>
1525 </exit>
1526 </step>
1527
1528 <step>
1529 <message>Get ready to drop the mooring anchor.</message>
1530
1531 <nasal>
1532 <script>
1533 setprop("/autopilot/settings/heading-bug-deg", getprop("/environment/wind-from-heading-deg"));
1534 </script>
1535 </nasal>
1536
1537 <error>
1538 <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>
1539 <condition>
1540 <equals>
1541 <property>/controls/mooring/anchor</property>
1542 <value>0</value>
1543 </equals>
1544 </condition>
1545 </error>
1546 <error>
1547 <message>Can't anchor with with forward speed greater than 7.</message>
1548 <condition>
1549 <greater-than>
1550 <property>/fdm/jsbsim/hydro/vbx-fps</property>
1551 <value>7</value>
1552 </greater-than>
1553 </condition>
1554 </error>
1555 <error>
1556 <message>If needed start engine briefly to gain momentum.</message>
1557 <condition>
1558 <less-than>
1559 <property>/fdm/jsbsim/hydro/vbx-fps</property>
1560 <value>3</value>
1561 </less-than>
1562 </condition>
1563 </error>
1564 <error>
1565 <message>Kill engine and face into the wind using momentum.</message>
1566 <nasal>
1567 <script>
1568 setprop("/autopilot/settings/heading-bug-deg", getprop("/environment/wind-from-heading-deg"));
1569 </script>
1570 </nasal>
1571 <condition>
1572 <equals>
1573 <property>/engines/active-engine/running</property>
1574 <value>1</value>
1575 </equals>
1576 </condition>
1577 </error>
1578 <error>
1579 <message>Wind speed is too great to set mooring anchor.</message>
1580 <condition>
1581 <greater-than>
1582 <property>/environment/windsock/wind-speed-kt</property>
1583 <value>40</value>
1584 </greater-than>
1585 </condition>
1586 </error>
1587
1588 <exit>
1589 <condition>
1590 <or>
1591 <greater-than>
1592 <property>/environment/windsock/wind-speed-kt</property>
1593 <value>40</value>
1594 </greater-than>
1595 <equals>
1596 <property>/controls/mooring/anchor</property>
1597 <value>1</value>
1598 </equals>
1599 </or>
1600 </condition>
1601 </exit>
1602 </step>
1603
1604 <step>
1605 <message>Congratulations on successfully executing a water taxi and take off, ground touch and go, water landing and mooring anchor all at night.</message>
1606 </step>
1607
1608 </PropertyList>