<PropertyList>
  <name>Radio Tuning</name>
  <description>
    Radios are used both for communication, and also for navigation.
    
This tutorial will teach you how to tune the radio of the aircraft to pick up
the ATIS - Automatic Terminal Information Service. This is broadcast by all
but the smallest airports and provides information on the current ground-level
weather, the altimeter setting and the runway in use.
  </description>
  <audio-dir>Aircraft/c172p/tutorial/radio</audio-dir>
  <timeofday>morning</timeofday>
  <presets>
    <airport-id>KLVK</airport-id>
    <on-ground>1</on-ground>
    <runway>12</runway>
    <altitude-ft>-9999</altitude-ft>
    <latitude-deg>37.6952</latitude-deg>
    <longitude-deg>-121.8167</longitude-deg>
    <heading-deg>175.0</heading-deg>
    <airspeed-kt>0</airspeed-kt>
    <glideslope-deg>0</glideslope-deg>
    <offset-azimuth-deg>0</offset-azimuth-deg>
    <offset-distance-nm>0</offset-distance-nm>
  </presets>
  
  <init>
    <set>
      <property>/controls/gear/brake-parking</property>
      <value>1</value>
    </set>
    <set>
      <property>/controls/flight/flaps</property>
      <value>0.0</value>
    </set>
    <set>
      <property>/controls/engines/engine/magnetos</property>
      <value>0</value>
    </set>
    <set>
      <property>/controls/engines/engine/throttle</property>
      <value>0.0</value>
    </set>
    <set>
      <property>/engines/engine/running</property>
      <value>false</value>
    </set>
    <set>
      <property>/instrumentation/adf/frequencies/selected-khz</property>
      <value>340</value>
    </set>
    <set>
      <property>/environment/weather-scenario</property>
      <value>Fair weather</value>
    </set>
    <set>
      <property>/controls/flight/elevator-trim</property>
      <value>0.17</value>
    </set>
  </init>
  
  <step>
    <message>In this lesson, you'll learn how to tune the radio to the Livermore ATIS.
      The radio is in the middle of the center console.</message>
    <wait>10</wait>
  </step>
  
  <step>
    <message>There are 4 radios on this aircraft - two for communication (COMM1, COMM2) and two for navigation (NAV1, NAV2).
      Each radio has an active frequency and a standby frequency.
      We tune the radio by changing the standby frequency, and then swapping the active and standby. </message>
    <wait>10</wait>
  </step>
  <step>
    <message>To change the standby frequency, you can click on the left side of the knob to decrease it, and the right side to increase it. </message>
    <view>
      <field-of-view>14.0</field-of-view>
      <heading-offset-deg>336</heading-offset-deg>
      <pitch-offset-deg>-20</pitch-offset-deg>
    </view>
    <marker>
      <x-m>-0.3444</x-m>
      <y-m>0.0907</y-m>
      <z-m>0.0053</z-m>
      <scale>1.0000</scale>
    </marker>
  </step>
  <step>
    <message>Using the middle mouse button changes the number on the left of the decimal place, while the left mouse button changes the number after the decimal place.</message>
    <view>
      <field-of-view>14.0</field-of-view>
      <heading-offset-deg>336</heading-offset-deg>
      <pitch-offset-deg>-20</pitch-offset-deg>
    </view>
    <marker>
      <x-m>-0.3444</x-m>
      <y-m>0.0907</y-m>
      <z-m>0.0053</z-m>
      <scale>1.0000</scale>
    </marker>
  </step>
  <step>
    <message>Set the standby frequency to 119.65 MHz. This is the ATIS frequency for Livermore, and is printed on sectional charts.</message>
    <view>
      <field-of-view>14.0</field-of-view>
      <heading-offset-deg>336</heading-offset-deg>
      <pitch-offset-deg>-20</pitch-offset-deg>
    </view>
    <marker>
      <x-m>-0.3444</x-m>
      <y-m>0.0907</y-m>
      <z-m>0.0053</z-m>
      <scale>1.0000</scale>
    </marker>
    <exit>
      <condition>
        <and>
          <greater-than>
            <property>/instrumentation/comm[0]/frequencies/standby-mhz</property>
            <value>119.64</value>
          </greater-than>
          <less-than>
            <property>/instrumentation/comm[0]/frequencies/standby-mhz</property>
            <value>119.66</value>
          </less-than>
        </and>
      </condition>
    </exit>
  </step>
  <step>
    <message>Now, switch the active and standby frequencies by pressing the swap button so the active frequency is 119.650MHz.</message>
    <view>
      <field-of-view>14.0</field-of-view>
      <heading-offset-deg>336</heading-offset-deg>
      <pitch-offset-deg>-20</pitch-offset-deg>
    </view>
    <marker>
      <x-m>-0.3444</x-m>
      <y-m>0.0684</y-m>
      <z-m>0.0142</z-m>
      <scale>1.0000</scale>
    </marker>
    <exit>
      <condition>
        <and>
          <greater-than>
            <property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
            <value>119.64</value>
          </greater-than>
          <less-than>
            <property>/instrumentation/comm[0]/frequencies/selected-mhz</property>
            <value>119.66</value>
          </less-than>
        </and>
      </condition>
    </exit>
  </step>
  
  <step>
    <message>Listen to the ATIS message. If you cannot hear it,
      look at the Sound Configuration dialog on the File menu.
      It will tell you the current weather conditions, the runway in use, and the altimeter setting.</message>
  </step>
  
  <step>
    <message>Once you've heard it, you can switch it off by swapping the frequency back to standby. Do that now.</message>
    <view>
      <field-of-view>14.0</field-of-view>
      <heading-offset-deg>336</heading-offset-deg>
      <pitch-offset-deg>-20</pitch-offset-deg>
    </view>
    <marker>
      <x-m>-0.3444</x-m>
      <y-m>0.0684</y-m>
      <z-m>0.0142</z-m>
      <scale>1.0000</scale>
    </marker>
    <exit>
      <condition>
        <and>
          <greater-than>
            <property>/instrumentation/comm[0]/frequencies/standby-mhz</property>
            <value>119.64</value>
          </greater-than>
          <less-than>
            <property>/instrumentation/comm[0]/frequencies/standby-mhz</property>
            <value>119.66</value>
          </less-than>
        </and>
      </condition>
    </exit>
  </step>
  
  <end>
    <message>Great job. COMM2 is located immediately below COMM1 in the radio stack, and is tuned in the same way.
      The NAV radios work in exactly the same way, except they use a different frequency
      range, and their output goes to the navigational instruments.</message>
  </end>
  
</PropertyList>
