1
0
Fork 0
fgdata/Aircraft/c172p/Tutorials/landing.xml
2021-09-14 19:34:27 +01:00

379 lines
12 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>Straight-in Landing</name>
<description>Landings are not optional...
Land the aircraft from an altitude of 1700 ft on runway 21 at Hilo (PHTO) on a calm morning.
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.
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.
</description>
<nasal>
<script>
c172p.repair_damage();
electrical.reset_battery_and_circuit_breakers();
c172p.click("engine-repair", 6.0);
c172p.dialog_battery_reload();
setprop("/engines/active-engine/oil-level", sim/model/c172p/engine_flag_0 ? 7 : 8);
setprop("/engines/active-engine/carb_ice", 0.0);
setprop("/fdm/jsbsim/engine/damage-level", 0.0);
</script>
</nasal>
<timeofday>morning</timeofday>
<presets>
<airport-id>PHTO</airport-id>
<on-ground>0</on-ground>
<altitude-ft>1300</altitude-ft>
<latitude-deg>19.76209725536232</latitude-deg>
<longitude-deg>-155.017574109008</longitude-deg>
<heading-deg>220</heading-deg>
<airspeed-kt>90.0</airspeed-kt>
<glideslope-deg>3</glideslope-deg>
<offset-azimuth-deg>0</offset-azimuth-deg>
<offset-distance-nm>0</offset-distance-nm>
<ndb-id>0</ndb-id>
<vor-id>0</vor-id>
<fix>0</fix>
</presets>
<step>
<set>
<property>/sim/model/c172p/securing/chock</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/cowl-plugs-visible</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/tiedownL-visible</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/tiedownR-visible</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/tiedownT-visible</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/securing/pitot-cover-visible</property>
<value>false</value>
</set>
<set>
<property>/controls/flight/elevator-trim</property>
<value>0.05</value>
</set>
<set>
<property>/environment/weather-scenario</property>
<value>Fair weather</value>
</set>
<set>
<property>instrumentation/altimeter/setting-inhg</property>
<value>29.95</value>
</set>
<set>
<property>sim/model/c172p/engine_flag_0</property>
<value>1</value>
</set>
<set>
<property>sim/model/c172p/engine_flag_1</property>
<value>0</value>
</set>
<set>
<property>/controls/engines/active-engine</property>
<value>0</value>
</set>
<set>
<property>sim/model/c172p/bushkit_flag_0</property>
<value>1</value>
</set>
<set>
<property>sim/model/c172p/bushkit_flag_1</property>
<value>0</value>
</set>
<set>
<property>sim/model/c172p/bushkit_flag_2</property>
<value>0</value>
</set>
<set>
<property>sim/model/c172p/bushkit_flag_3</property>
<value>0</value>
</set>
<set>
<property>sim/model/c172p/bushkit_flag_4</property>
<value>0</value>
</set>
<set>
<property>fdm/jsbsim/bushkit</property>
<value>0</value>
</set>
<set>
<property>/controls/switches/starter</property>
<value>true</value>
</set>
<set>
<property>/instrumentation/adf/frequencies/selected-khz</property>
<value>367</value>
</set>
<set>
<property>/environment/weather-scenario</property>
<value>Fair weather</value>
</set>
<set>
<property>/controls/gear/brake-parking</property>
<value>0</value>
</set>
<set>
<property>/controls/switches/master-bat</property>
<value>true</value>
</set>
<set>
<property>/controls/switches/master-alt</property>
<value>true</value>
</set>
<set>
<property>/controls/switches/master-avionics</property>
<value>true</value>
</set>
<set>
<property>/controls/flight/flaps</property>
<value>0.0</value>
</set>
<set>
<property>/controls/switches/magnetos</property>
<value>3</value>
</set>
<set>
<property>/controls/engines/current-engine/throttle</property>
<value>0.2</value>
</set>
<set>
<property>/controls/engines/engine/primer</property>
<value>4</value>
</set>
<set>
<property>/sim/model/c172p/cockpit/control-lock-placed</property>
<value>false</value>
</set>
<set>
<property>/sim/model/c172p/cockpit/control-lock-visible</property>
<value>false</value>
</set>
<nasal>
<script>
setprop("/controls/engines/current-engine/mixture", 1.0);
setprop("/controls/switches/starter", 1);
</script>
</nasal>
<message></message>
<view>
<heading-offset-deg>0.0</heading-offset-deg>
<pitch-offset-deg>-12</pitch-offset-deg>
<roll-offset-deg>0.0</roll-offset-deg>
<x-offset-m>-0.21</x-offset-m>
<y-offset-m>0.19</y-offset-m>
<field-of-view>73.6</field-of-view>
</view>
<wait>1</wait>
</step>
<step>
<message></message>
<nasal>
<script>
var listeners = std.Vector.new();
listeners.append(setlistener("/engines/active-engine/running", func (node) {
if (node.getBoolValue()) {
setprop("/controls/switches/starter", 0);
foreach (var listener; listeners.vector) {
removelistener(listener);
}
listeners.clear();
}
}, 1, 0));
</script>
</nasal>
<set>
<property>/controls/engines/current-engine/throttle</property>
<value>0.5</value>
</set>
<wait>1</wait>
</step>
<step>
<message>The runway is straight ahead. Reduce throttle to 50% and apply one degree of flaps.
Stay in line with the runway about a hands-width above the glare-shield.
You are aiming to descend at around 300 feet per minute and 60 knots.
</message>
<error>
<message>You are going too fast. Reduce power and pitch up to reduce your airspeed to 80 knots.</message>
<condition>
<greater-than>
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
<value>100.0</value>
</greater-than>
</condition>
</error>
<error>
<message>Reduce throttle to 50%</message>
<condition>
<greater-than>
<property>/controls/engines/current-engine/throttle</property>
<value>0.5</value>
</greater-than>
</condition>
</error>
<error>
<message>Set one step of flaps by pressing ]</message>
<condition>
<less-than>
<property>/controls/flight/flaps</property>
<value>0.3</value>
</less-than>
</condition>
</error>
<exit>
<condition>
<less-than>
<property>/position/latitude-deg</property>
<value>19.74</value>
</less-than>
</condition>
</exit>
</step>
<step>
<set>
<property>/controls/switches/starter</property>
<value>false</value>
</set>
<message>Let down the second step of flaps and aim at the beginning of the runway.
Use throttle to control your descent rate rather than attitude.
</message>
<error>
<message>Set your second set of flaps by pressing ]</message>
<condition>
<less-than>
<property>/controls/flight/flaps</property>
<value>0.6</value>
</less-than>
</condition>
</error>
<exit>
<condition>
<less-than>
<property>/position/latitude-deg</property>
<value>19.73</value>
</less-than>
</condition>
</exit>
</step>
<step>
<message>Let down your final set of flaps and continue to descend.
Stay lined up with the middle of the runway.
</message>
<error>
<message>Set your final set of flaps by pressing ]</message>
<condition>
<less-than>
<property>/controls/flight/flaps</property>
<value>0.9</value>
</less-than>
</condition>
</error>
<exit>
<condition>
<greater-than>
<property>/position/latitude-deg</property>
<value>19.7263</value>
</greater-than>
</condition>
</exit>
</step>
<step>
<message>Adjust power and pitch, so that you descend with about 65 knots. When you are about 10 feet above the ground,
smoothly bring the nose up so it is level with the horizon and set throttle to idle.
</message>
<error>
<message>You're going too fast! Reduce speed!</message>
<condition>
<greater-than>
<property>/velocities/airspeed-kt</property>
<value>90</value>
</greater-than>
</condition>
</error>
<exit>
<condition>
<less-than>
<property>/position/altitude-agl-ft</property>
<value>7.0</value>
</less-than>
</condition>
</exit>
</step>
<step>
<message>Keep tracking straight down the runway and let the aircraft land on the main gear.</message>
<exit>
<condition>
<less-than>
<property>/velocities/airspeed-kt</property>
<value>45.0</value>
</less-than>
</condition>
</exit>
</step>
<step>
<message>Lower the nose wheel, continue to track down the runway and gently brake to a stop. Use
the mouse with the left button held down to steer.
</message>
<exit>
<condition>
<less-than>
<property>/velocities/groundspeed-kt</property>
<value>5.0</value>
</less-than>
</condition>
</exit>
</step>
<step>
<message>Set the parking brake with Shift-B.</message>
<exit>
<condition>
<equals>
<property>/controls/gear/brake-parking</property>
<value>1</value>
</equals>
</condition>
</exit>
</step>
<step>
<message>Congratulations on a successful landing.</message>
</step>
</PropertyList>