2015-07-24 17:37:16 +00:00
<?xml version="1.0"?>
2008-12-31 16:25:45 +00:00
<PropertyList >
2015-07-24 17:37:16 +00:00
<name > Takeoff</name>
<description >
2018-09-02 19:58:05 +00:00
This tutorial starts from Hilo Intl Airport (PHTO), an airfield in the northeast of Hawaiʻ i, in clear, still, weather.
2019-05-15 18:14:04 +00:00
2018-09-02 19:58:05 +00:00
This tutorial will teach you how to take-off from runway 21, and climb at 600 feet per minute. You will level off at 2000 ft to complete the tutorial.
2015-07-24 17:37:16 +00:00
</description>
2021-09-14 18:34:27 +00:00
<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>
2015-07-24 17:37:16 +00:00
<audio-dir > Tutorials/takeoff</audio-dir>
<timeofday > morning</timeofday>
<presets >
2018-09-02 19:58:05 +00:00
<airport-id > PHTO</airport-id>
2015-07-24 17:37:16 +00:00
<on-ground > 1</on-ground>
<altitude-ft > -9999</altitude-ft>
2018-09-02 19:58:05 +00:00
<latitude-deg > 19.72415017471669</latitude-deg>
<longitude-deg > -155.0518970894882</longitude-deg>
<heading-deg > 220</heading-deg>
2015-07-24 17:37:16 +00:00
<airspeed-kt > 0</airspeed-kt>
<glideslope-deg > 0</glideslope-deg>
<offset-azimuth-deg > 0</offset-azimuth-deg>
<offset-distance-nm > 0</offset-distance-nm>
2018-09-02 19:58:05 +00:00
<airport-requested > true</airport-requested>
2021-09-14 18:34:27 +00:00
<runway-requested > false</runway-requested>
<parking-requested > false</parking-requested>
2015-07-24 17:37:16 +00:00
</presets>
2016-05-18 21:11:05 +00:00
<step >
2015-07-24 17:37:16 +00:00
<set >
2016-05-18 21:11:05 +00:00
<property > /instrumentation/adf/frequencies/selected-khz</property>
2018-09-02 19:58:05 +00:00
<value > 332</value> <!-- PAHOA NDB -->
2015-07-24 17:37:16 +00:00
</set>
<set >
2016-05-18 21:11:05 +00:00
<property > /environment/weather-scenario</property>
<value > Fair weather</value>
2015-07-24 17:37:16 +00:00
</set>
<set >
2016-05-18 21:11:05 +00:00
<property > instrumentation/altimeter/setting-inhg</property>
<value > 29.95</value>
2015-07-24 17:37:16 +00:00
</set>
<set >
2021-09-14 18:34:27 +00:00
<property > /controls/gear/brake-parking</property>
2016-05-18 21:11:05 +00:00
<value > 1</value>
2015-07-24 17:37:16 +00:00
</set>
<set >
2016-05-18 21:11:05 +00:00
<property > /controls/switches/master-bat</property>
2015-07-24 17:37:16 +00:00
<value > true</value>
</set>
<set >
2016-05-18 21:11:05 +00:00
<property > /controls/switches/master-alt</property>
<value > true</value>
2015-07-24 17:37:16 +00:00
</set>
<set >
2016-05-18 21:11:05 +00:00
<property > /controls/switches/master-avionics</property>
<value > true</value>
</set>
<set >
<property > /controls/flight/flaps</property>
<value > 0.0</value>
2015-07-24 17:37:16 +00:00
</set>
<set >
<property > /controls/flight/elevator-trim</property>
2016-05-18 21:11:05 +00:00
<value > -0.17</value>
2015-07-24 17:37:16 +00:00
</set>
2016-05-18 21:11:05 +00:00
<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>
2016-08-12 18:57:03 +00:00
<set >
<property > /sim/model/c172p/securing/chock</property>
<value > false</value>
</set>
2019-05-15 18:14:04 +00:00
<set >
<property > /sim/model/c172p/securing/cowl-plugs-visible</property>
<value > false</value>
</set>
2016-08-12 18:57:03 +00:00
<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>
2017-02-17 09:04:00 +00:00
<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>
2016-05-18 21:11:05 +00:00
<nasal >
<script >
setprop("/controls/engines/current-engine/mixture", 1.0);
setprop("/controls/switches/starter", 1);
</script>
</nasal>
2015-07-24 17:37:16 +00:00
<message > At the start of the take-off roll, you will control the direction of the aircraft using the
2008-12-31 16:25:45 +00:00
nose-wheel steering and rudder. As the aircraft takes off, you will use the ailerons and elevator
to control the direction and attitude of the aircraft.
2015-07-24 17:37:16 +00:00
</message>
2016-05-18 21:11:05 +00:00
<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 > 15</wait>
2015-07-24 17:37:16 +00:00
</step>
<step >
<message >
2008-12-31 16:25:45 +00:00
The nose-wheel and rudder is controlled using 0/Enter on the numeric keypad, or by using the mouse
in "yoke" mode with the left mouse button held down.
2016-05-18 21:11:05 +00:00
To switch the mouse to yoke mode, press either "TAB", or the right mouse button until it displays as a + sign.
2015-07-24 17:37:16 +00:00
</message>
2016-05-18 21:11:05 +00:00
<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>
2015-07-24 17:37:16 +00:00
<wait > 10</wait>
</step>
<step >
<message > Release the parking brakes using Shift-B</message>
<set >
<property > /controls/switches/starter</property>
<value > false</value>
</set>
<error >
<message > Release the parking brake using Shift B</message>
<condition >
<equals >
2021-09-14 18:34:27 +00:00
<property > /controls/gear/brake-parking</property>
2015-07-24 17:37:16 +00:00
<value > 1</value>
</equals>
</condition>
</error>
</step>
<step >
<message > Smoothly apply full power using PgUp, controlling the direction using the nosewheel.</message>
<error >
<message > Release the parking brake using Shift B</message>
<condition >
<equals >
2021-09-14 18:34:27 +00:00
<property > /controls/gear/brake-parking</property>
2015-07-24 17:37:16 +00:00
<value > 1</value>
</equals>
</condition>
</error>
<error >
<message > Apply full throttle for take-off.</message>
<condition >
<less-than >
<property > /controls/engines/current-engine/throttle</property>
<value > 0.95</value>
</less-than>
</condition>
</error>
<exit >
<condition >
<greater-than >
<property > /velocities/airspeed-kt</property>
<value > 5.0</value>
</greater-than>
</condition>
</exit>
</step>
<step >
<message > Stay on the center-line of the runway using the rudder. Steer using the mouse with the left button held down, or using 0/Enter on the numeric keypad</message>
<exit >
<condition >
<greater-than >
<property > /velocities/airspeed-kt</property>
<value > 45.0</value>
</greater-than>
</condition>
</exit>
</step>
<step >
2018-09-02 19:58:05 +00:00
<message > Let the aircraft lift off at 65 knots and climb straight out on heading 225 at 600 feet per minute.</message>
2015-07-24 17:37:16 +00:00
<error >
<message > Gently raise the nose, by pressing the down key on the keypad, or moving the mouse back slightly.</message>
<condition >
<equals >
<property > /gear/gear[0]/wow</property>
<value > 1</value>
</equals>
</condition>
</error>
<exit >
<condition >
<greater-than >
<property > /instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
<value > 300</value>
</greater-than>
</condition>
</exit>
</step>
<step >
2018-09-02 19:58:05 +00:00
<message > Continue your climb on heading 225 at 600 feet per minute to 1000 feet.</message>
2015-07-24 17:37:16 +00:00
<error >
<message > Your climb angle is too shallow - raise the nose very slightly to increase your climb rate.</message>
<condition >
<less-than >
<property > /instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
<value > 400</value>
</less-than>
</condition>
</error>
<error >
<message > Your climb angle is too great - lower the nose slightly to decrease your climb rate.</message>
<condition >
<greater-than >
<property > /instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
<value > 900</value>
</greater-than>
</condition>
</error>
<error >
2018-09-02 19:58:05 +00:00
<message > You are heading too far left, Turn right slightly to heading 210.</message>
2015-07-24 17:37:16 +00:00
<condition >
<less-than >
<property > /instrumentation/heading-indicator/indicated-heading-deg</property>
2018-09-02 19:58:05 +00:00
<value > 215</value>
2015-07-24 17:37:16 +00:00
</less-than>
</condition>
</error>
<error >
2018-09-02 19:58:05 +00:00
<message > You are heading too far right, Turn left slightly to heading 210.</message>
2015-07-24 17:37:16 +00:00
<condition >
<greater-than >
<property > /instrumentation/heading-indicator/indicated-heading-deg</property>
2018-09-02 19:58:05 +00:00
<value > 235</value>
2015-07-24 17:37:16 +00:00
</greater-than>
</condition>
</error>
<error >
<message > You are in danger of being "behind the power curve". Drop the nose to speed up to 70 knots.</message>
<condition >
<less-than >
<property > /velocities/airspeed-kt</property>
<value > 69.0</value>
</less-than>
</condition>
</error>
<exit >
<condition >
<greater-than >
<property > /instrumentation/altimeter/indicated-altitude-ft</property>
2016-05-18 21:11:05 +00:00
<value > 1900</value>
2015-07-24 17:37:16 +00:00
</greater-than>
</condition>
</exit>
</step>
<step >
2016-05-18 21:11:05 +00:00
<message > Level off at between 2000 and 2200 feet.</message>
2015-07-24 17:37:16 +00:00
<error >
<message > You are too low</message>
<condition >
<less-than >
<property > /instrumentation/altimeter/indicated-altitude-ft</property>
2016-05-18 21:11:05 +00:00
<value > 2000</value>
2015-07-24 17:37:16 +00:00
</less-than>
</condition>
</error>
<error >
<message > You are too high</message>
<condition >
<greater-than >
<property > /instrumentation/altimeter/indicated-altitude-ft</property>
2016-05-18 21:11:05 +00:00
<value > 2200</value>
</greater-than>
</condition>
</error>
<error >
2018-09-02 19:58:05 +00:00
<message > You are heading too far left, Turn right slightly to heading 210.</message>
2016-05-18 21:11:05 +00:00
<condition >
<less-than >
<property > /instrumentation/heading-indicator/indicated-heading-deg</property>
2018-09-02 19:58:05 +00:00
<value > 215</value>
2016-05-18 21:11:05 +00:00
</less-than>
</condition>
</error>
<error >
2018-09-02 19:58:05 +00:00
<message > You are heading too far right, Turn left slightly to heading 210.</message>
2016-05-18 21:11:05 +00:00
<condition >
<greater-than >
<property > /instrumentation/heading-indicator/indicated-heading-deg</property>
2018-09-02 19:58:05 +00:00
<value > 235</value>
2015-07-24 17:37:16 +00:00
</greater-than>
</condition>
</error>
<exit >
<condition >
<and >
<greater-than >
<property > /instrumentation/altimeter/indicated-altitude-ft</property>
2016-05-18 21:11:05 +00:00
<value > 2000</value>
2015-07-24 17:37:16 +00:00
</greater-than>
<less-than >
<property > /instrumentation/altimeter/indicated-altitude-ft</property>
2016-05-18 21:11:05 +00:00
<value > 2200</value>
2015-07-24 17:37:16 +00:00
</less-than>
<less-than >
<property > instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
<value > 150</value>
</less-than>
<greater-than >
<property > instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
<value > -150</value>
</greater-than>
2016-05-18 21:11:05 +00:00
<greater-than >
<property > /instrumentation/heading-indicator/indicated-heading-deg</property>
2018-09-02 19:58:05 +00:00
<value > 215</value>
2016-05-18 21:11:05 +00:00
</greater-than>
<less-than >
<property > /instrumentation/heading-indicator/indicated-heading-deg</property>
2018-09-02 19:58:05 +00:00
<value > 235</value>
2016-05-18 21:11:05 +00:00
</less-than>
2015-07-24 17:37:16 +00:00
</and>
</condition>
</exit>
</step>
2016-05-18 21:11:05 +00:00
<step >
2015-07-24 17:37:16 +00:00
<message > Congratulations, you've successfully taken off. Now try landing!</message>
2016-05-18 21:11:05 +00:00
</step>
2015-07-24 17:37:16 +00:00
2008-12-31 16:25:45 +00:00
</PropertyList>