<?xml version="1.0"?>
<!--
 This file is part of FlightGear, the free flight simulator
 http://www.flightgear.org/

 Copyright (C) 2009 Torsten Dreyer, Torsten (at) t3r _dot_ de

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as
 published by the Free Software Foundation; either version 2 of the
 License, or (at your option) any later version.

 This program is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 General Public License for more details.
-->
<PropertyList>
    <path>SenecaII.ac</path>

    <offsets>
        <z-m>0</z-m>
        <y-m>0</y-m>
        <x-m>0.83</x-m>
        <pitch-deg>0</pitch-deg>
    </offsets>

    <model>
        <path>Aircraft/SenecaII/Instruments-3d/SwitchPanel.xml</path>
        <name>SwitchPanel</name>
        <offsets>
            <x-m>-1.66353</x-m>
            <y-m>-0.602836</y-m>
            <z-m>1.28309</z-m>
            <!--
            <heading-deg>-2.5</heading-deg>
            -->
        </offsets>
    </model>

    <model>
        <path>Aircraft/SenecaII/Instruments-3d/OAT.xml</path>
        <name>oat</name>
        <offsets>
            <x-m>-1.43604</x-m>
            <y-m>-0.0860261</y-m>
            <z-m>1.94829</z-m>
            <pitch-deg>50</pitch-deg>
        </offsets>
    </model>

    <model>
        <path>Aircraft/SenecaII/Instruments-3d/DeiceControl.xml</path>
        <name>DeiceControl</name>
        <offsets>
            <x-m>-1.9099</x-m>
            <y-m>-0.024</y-m>
            <z-m>1.36</z-m>
        </offsets>
    </model>

    <!-- -->
    <model>
        <path>Aircraft/SenecaII/Models/Pedals.xml</path>
        <name>Pedals.L</name>
        <offsets>
            <x-m>-2.05</x-m>
            <y-m>0.348419</y-m>
            <z-m>0.911678</z-m>
        </offsets>
    </model>
    <model>
        <path>Aircraft/SenecaII/Models/Pedals.xml</path>
        <name>Pedals.R</name>
        <offsets>
            <x-m>-2.05</x-m>
            <y-m>-0.348419</y-m>
            <z-m>0.911678</z-m>
        </offsets>
    </model>
    <model>
        <path>Aircraft/SenecaII/Models/FuelOilAmps.xml</path>
        <name>FuelOilAmps.L</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.493693</y-m>
            <z-m>1.3594</z-m>
        </offsets>
        <overlay>
          <params>
            <amps>systems/electrical/bus[0]/element[1]/i</amps>
            <cht>engines/engine[0]/cht-degf</cht>
            <ot>engines/engine[0]/oil-temperature-degf</ot>
            <op>engines/engine[0]/oil-pressure-psi</op>
            <fuel>consumables/fuel/tank[0]/level-gal_us</fuel>
          </params>
        </overlay>
    </model>
    <model>
        <path>Aircraft/SenecaII/Models/FuelOilAmps.xml</path>
        <name>FuelOilAmps.R</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.219902</y-m>
            <z-m>1.3594</z-m>
        </offsets>
        <overlay>
          <params>
            <amps>systems/electrical/bus[0]/element[2]/i</amps>
            <cht>engines/engine[1]/cht-degf</cht>
            <ot>engines/engine[1]/oil-temperature-degf</ot>
            <op>engines/engine[1]/oil-pressure-psi</op>
            <fuel>consumables/fuel/tank[1]/level-gal_us</fuel>
          </params>
        </overlay>
    </model>
    <model>
        <path>Aircraft/SenecaII/Models/EGT.xml</path>
        <name>EGT.L</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>0.164448</y-m>
            <z-m>1.35942</z-m>
        </offsets>
        <overlay>
          <params>
            <value>engines/engine[0]/egt-degf-filtered</value>
            <bug>engines/engine[0]/egt-bug</bug>
          </params>
        </overlay>
    </model>
    <model>
        <path>Aircraft/SenecaII/Models/EGT.xml</path>
        <name>EGT.R</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>0.229532</y-m>
            <z-m>1.35942</z-m>
        </offsets>
        <overlay>
          <params>
            <value>engines/engine[1]/egt-degf-filtered</value>
            <bug>engines/engine[1]/egt-bug</bug>
          </params>
        </overlay>
    </model>
    <model>
        <path>Aircraft/SenecaII/Models/Vacuum.xml</path>
        <name>Vacuum</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>0.294616</y-m>
            <z-m>1.35942</z-m>
        </offsets>
    </model>

    <model>
        <path>Aircraft/SenecaII/Models/circuitbreaker.xml</path>
        <name>CBPanel</name>
        <offsets>
            <x-m>-1.9099</x-m>
            <y-m>0.43</y-m>
            <z-m>1.28235</z-m>
        </offsets>
    </model>
    <!-- 
        Radio Stack 
    -->
    <!-- 
        Audio Panel
    -->
    <model>
        <path>Aircraft/SenecaII/Models/gma340.xml</path>
        <name>gma340</name>
        <offsets>
            <x-m>-1.91</x-m>
            <y-m>-0.05</y-m>
            <z-m>1.580</z-m>
        </offsets>
    </model>
    <!--
        KX165 Comm/Nav 1
    -->
    <model>
        <name>kx165tso1</name>
        <path>Aircraft/Instruments-3d/kx165/kx165-1.xml</path>
        <offsets>
            <x-m>-1.91</x-m>
            <y-m>-0.05</y-m>
            <z-m>1.535</z-m>
        </offsets>
    </model>
    <!--
        KX165 Comm/Nav 2
    -->
    <model>
        <name>kx165tso2</name>
        <path>Aircraft/Instruments-3d/kx165/kx165-2.xml</path>
        <offsets>
            <x-m>-1.91</x-m>
            <y-m>-0.05</y-m>
            <z-m>1.48</z-m>
        </offsets>
    </model>
    <!-- 
        KR87 ADF Radio
    -->
    <model>
        <path>Aircraft/SenecaII/Instruments-3d/kr87.xml</path>
        <name>kr87</name>
        <offsets>
            <x-m>-1.91</x-m>
            <y-m>-0.05</y-m>
            <z-m>1.43</z-m>
        </offsets>
    </model>

    <model>
        <name>gps155 gps</name>
        <path>Aircraft/SenecaII/Models/gps155.xml</path>
        <offsets>
            <x-m>-1.91</x-m>
            <y-m>0.12</y-m>
            <z-m>1.48</z-m>
        </offsets>
    </model>

    <model>
        <name>gtx330 transponder</name>
        <path>Aircraft/SenecaII/Models/gtx330.xml</path>
        <offsets>
            <x-m>-1.91</x-m>
            <y-m>0.12</y-m>
            <z-m>1.43</z-m>
        </offsets>
    </model>

    <!--model>
        <name>moving map</name>
        <path>Aircraft/SenecaII/Models/Map.xml</path>
        <offsets>
            <x-m>-1.908</x-m>
            <y-m>0.32</y-m>
            <z-m>1.43</z-m>
        </offsets>
    </model-->

    <!-- ka51b slaving meter -->
    <model>
        <path>Aircraft/SenecaII/Models/kcs55/ka51b.xml</path>
        <name>ka51b</name>
        <offsets>
            <x-m>-1.9099</x-m>
            <y-m>0.05</y-m>
            <z-m>1.580</z-m>
        </offsets>
    </model>

    <!-- KI266 DME Indicator -->
    <model>
        <path>Aircraft/SenecaII/Models/dme.xml</path>
        <name>dme</name>
        <offsets>
            <x-m>-1.91</x-m>
            <y-m>0.12</y-m>
            <z-m>1.535</z-m>
        </offsets>
    </model>

    <!-- Altimatic IIIc Autopilot -->

    <model>
        <path>Aircraft/SenecaII/Systems/AltimaticIIIc.xml</path>
        <name>AltimaticIIIc</name>
        <offsets>
            <x-m>-1.9099</x-m>
            <y-m>-0.519391</y-m>
            <z-m>1.28459</z-m>
        </offsets>
    </model>

    <!-- Autopilot Mode -->

    <model>
        <path>Aircraft/SenecaII/Systems/AutopilotMode.xml</path>
        <name>AutopilotMode</name>
        <offsets>
            <x-m>-1.9099</x-m>
            <y-m>-0.398854</y-m>
            <z-m>1.29313</z-m>
        </offsets>
    </model>

    <!-- Registration (left) -->
    <model>
      <path>Aircraft/SenecaII/Models/registration.xml</path>
      <condition>
        <and>
          <equals>
            <property>sim/model/door-positions/pax-door/position-norm</property>
            <value>0</value>
          </equals>
          <equals>
            <property>sim/model/door-positions/baggage-door/position-norm</property>
            <value>0</value>
          </equals>
        </and>
      </condition>
      <offsets>
        <x-m>0.45</x-m>
        <y-m>-0.60</y-m>
        <z-m>0.92</z-m>
        <roll-deg>    1.0 </roll-deg>
        <pitch-deg>   3.0 </pitch-deg>
        <heading-deg> 6.0 </heading-deg>
      </offsets>
      <overlay>
        <params>
          <size>0.35</size>
          <alignment>xz-plane</alignment>
        </params>
      </overlay>
    </model>

    <!-- Registration (right) -->
    <model>
      <path>Aircraft/SenecaII/Models/registration.xml</path>
      <offsets>
        <x-m>0.45</x-m>
        <y-m>0.60</y-m>
        <z-m>0.92</z-m>
        <roll-deg>-1.0</roll-deg>
        <pitch-deg>3.0</pitch-deg>
        <heading-deg>-6.0</heading-deg>
      </offsets>
      <overlay>
        <params>
          <size>0.35</size>
          <alignment>reversed-xz-plane</alignment>
        </params>
      </overlay>
    </model>

    <!-- Registration (wing) -->
    <model>
      <path>Aircraft/SenecaII/Models/registration.xml</path>
      <offsets>
        <x-m>-0.87</x-m>
        <y-m>-3.63</y-m>
        <z-m>0.98</z-m>
        <roll-deg>1</roll-deg>
        <pitch-deg>7</pitch-deg>
        <heading-deg>90</heading-deg>
      </offsets>
      <overlay>
        <params>
          <size>0.50</size>
          <alignment>reversed-xy-plane</alignment>
        </params>
      </overlay>
    </model>

    <!-- Registration (cockpit panel) -->
    <model>
      <path>Aircraft/SenecaII/Models/registration.xml</path>
      <offsets>
        <x-m>-1.908</x-m>
        <y-m>0.12</y-m>
        <z-m>1.58</z-m>
      </offsets>
      <overlay>
        <params>
          <size>0.0150</size>
          <alignment>yz-plane</alignment>
          <color>
            <red>0.9</red>
            <green>0.9</green>
            <blue>0.9</blue>
          </color>
        </params>
      </overlay>
    </model>

    <!-- Hide the windows at view from inside -->
    <animation>
        <type>select</type>
        <object-name>Windows</object-name>
        <condition>
            <not-equals>
                <property>sim/current-view/view-number</property>
                <value>0</value>
            </not-equals>
        </condition>
    </animation>
    <animation>
        <type>noshadow</type>
        <object-name>Windows</object-name>
    </animation>

    <animation>
        <type>noshadow</type>
        <object-name>TANKASSY.L</object-name>
        <object-name>TANKASSY.R</object-name>
    </animation>

    <animation>
        <type>select</type>
        <object-name>WindshieldDeice</object-name>
        <condition>
            <not>
                <property>sim/model/hide-windshield-deice</property>
            </not>
        </condition>
    </animation>
    <animation>
        <type>noshadow</type>
        <object-name>WindshieldDeice</object-name>
    </animation>

    <!-- controls -->
    <animation>
        <type>noshadow</type>
        <object-name>Yoke.L</object-name>
    </animation>
    <animation>
        <type>select</type>
        <object-name>Yoke.L</object-name>
        <condition>
            <or>
                <not-equals>
                    <property>sim/current-view/view-number</property>
                    <value>0</value>
                </not-equals>
                <not>
                    <property>sim/model/hide-yoke</property>
                </not>
            </or>
        </condition>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>Yoke.L</object-name>
        <property>controls/flight/aileron</property>
        <factor>90.0</factor>
        <axis>
            <x1-m>1</x1-m>
            <y1-m>-0.356781</y1-m>
            <z1-m>1.35898</z1-m>
            <x2-m>-1</x2-m>
            <y2-m>-0.356781</y2-m>
            <z2-m>1.35898</z2-m>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>Yoke.L</object-name>
        <property>controls/flight/elevator</property>
        <factor>-0.10</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <animation>
        <type>noshadow</type>
        <object-name>Yoke.R</object-name>
    </animation>
    <animation>
        <type>select</type>
        <object-name>Yoke.R</object-name>
        <condition>
            <or>
                <not-equals>
                    <property>sim/current-view/view-number</property>
                    <value>0</value>
                </not-equals>
                <not>
                    <property>sim/model/hide-yoke</property>
                </not>
            </or>
        </condition>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>Yoke.R</object-name>
        <property>controls/flight/aileron</property>
        <factor>90.0</factor>
        <axis>
            <x1-m>1</x1-m>
            <y1-m>0.356781</y1-m>
            <z1-m>1.35898</z1-m>
            <x2-m>-1</x2-m>
            <y2-m>0.356781</y2-m>
            <z2-m>1.35898</z2-m>
        </axis>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>Yoke.R</object-name>
        <property>controls/flight/elevator</property>
        <factor>-0.10</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <!-- power quadrant -->
    <animation>
        <type>noshadow</type>
        <object-name>PowerQuadrant</object-name>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>ThrottleControl.L</object-name>
        <property>controls/engines/engine[0]/throttle</property>
        <factor>45.0</factor>
        <axis>
            <x1-m>-1.87609</x1-m>
            <y1-m>1</y1-m>
            <z1-m>1.24033</z1-m>
            <x2-m>-1.87609</x2-m>
            <y2-m>-1</y2-m>
            <z2-m>1.24033</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>ThrottleControl.R</object-name>
        <property>controls/engines/engine[1]/throttle</property>
        <factor>45.0</factor>
        <axis>
            <x1-m>-1.87609</x1-m>
            <y1-m>1</y1-m>
            <z1-m>1.24033</z1-m>
            <x2-m>-1.87609</x2-m>
            <y2-m>-1</y2-m>
            <z2-m>1.24033</z2-m>
        </axis>
    </animation>
    <animation>
      <type>pick</type>
      <object-name>ThrottleControl.L</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>nasal</command>
          <script>SenecaII.mouseHandler.set( "/controls/engines/engine[0]/throttle", 0.01 );</script>
         </binding>
         <mod-up>
          <binding>
           <command>nasal</command>
           <script>SenecaII.mouseHandler.set()</script>
          </binding>
         </mod-up>
      </action>
    </animation>
    <animation>
      <type>pick</type>
      <object-name>ThrottleControl.R</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>nasal</command>
          <script>SenecaII.mouseHandler.set( "/controls/engines/engine[1]/throttle", 0.01 );</script>
         </binding>
         <mod-up>
          <binding>
           <command>nasal</command>
           <script>SenecaII.mouseHandler.set()</script>
          </binding>
         </mod-up>
      </action>
    </animation>
    <animation>
      <type>pick</type>
      <object-name>MixtureControl.L</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>nasal</command>
          <script>SenecaII.mouseHandler.set( "/controls/engines/engine[0]/mixture", 0.01 );</script>
         </binding>
         <mod-up>
          <binding>
           <command>nasal</command>
           <script>SenecaII.mouseHandler.set()</script>
          </binding>
         </mod-up>
      </action>
    </animation>
    <animation>
      <type>pick</type>
      <object-name>MixtureControl.R</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>nasal</command>
          <script>SenecaII.mouseHandler.set( "/controls/engines/engine[1]/mixture", 0.01 );</script>
         </binding>
         <mod-up>
          <binding>
           <command>nasal</command>
           <script>SenecaII.mouseHandler.set()</script>
          </binding>
         </mod-up>
      </action>
    </animation>
    <animation>
      <type>pick</type>
      <object-name>PropellerControl.L</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>nasal</command>
          <script>SenecaII.mouseHandler.set( "/controls/engines/engine[0]/propeller-pitch", 0.01 );</script>
         </binding>
         <mod-up>
          <binding>
           <command>nasal</command>
           <script>SenecaII.mouseHandler.set()</script>
          </binding>
         </mod-up>
      </action>
    </animation>
    <animation>
      <type>pick</type>
      <object-name>PropellerControl.R</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>nasal</command>
          <script>SenecaII.mouseHandler.set( "/controls/engines/engine[1]/propeller-pitch", 0.01 );</script>
         </binding>
         <mod-up>
          <binding>
           <command>nasal</command>
           <script>SenecaII.mouseHandler.set()</script>
          </binding>
         </mod-up>
      </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>PropellerControl.L</object-name>
        <property>controls/engines/engine[0]/propeller-pitch</property>
        <factor>45.0</factor>
        <axis>
            <x1-m>-1.87609</x1-m>
            <y1-m>1</y1-m>
            <z1-m>1.24033</z1-m>
            <x2-m>-1.87609</x2-m>
            <y2-m>-1</y2-m>
            <z2-m>1.24033</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>PropellerControl.R</object-name>
        <property>controls/engines/engine[1]/propeller-pitch</property>
        <factor>45.0</factor>
        <axis>
            <x1-m>-1.87609</x1-m>
            <y1-m>1</y1-m>
            <z1-m>1.24033</z1-m>
            <x2-m>-1.87609</x2-m>
            <y2-m>-1</y2-m>
            <z2-m>1.24033</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>MixtureControl.L</object-name>
        <property>controls/engines/engine[0]/mixture</property>
        <factor>45.0</factor>
        <axis>
            <x1-m>-1.87609</x1-m>
            <y1-m>1</y1-m>
            <z1-m>1.24033</z1-m>
            <x2-m>-1.87609</x2-m>
            <y2-m>-1</y2-m>
            <z2-m>1.24033</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>MixtureControl.R</object-name>
        <property>controls/engines/engine[1]/mixture</property>
        <factor>45.0</factor>
        <axis>
            <x1-m>-1.87609</x1-m>
            <y1-m>1</y1-m>
            <z1-m>1.24033</z1-m>
            <x2-m>-1.87609</x2-m>
            <y2-m>-1</y2-m>
            <z2-m>1.24033</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>AlternateAirControl.L</object-name>
        <property>controls/engines/engine[0]/alternate-air</property>
        <factor>45.0</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-1.82328</x-m>
            <y-m>0</y-m>
            <z-m>1.22116</z-m>
        </center>
    </animation>
    <animation>
      <type>pick</type>
      <object-name>AlternateAirControl.L</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>property-toggle</command>
          <property>controls/engines/engine[0]/alternate-air</property>
        </binding>
      </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>AlternateAirControl.R</object-name>
        <property>controls/engines/engine[1]/alternate-air</property>
        <factor>45.0</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-1.82328</x-m>
            <y-m>0</y-m>
            <z-m>1.22116</z-m>
        </center>
    </animation>
    <animation>
      <type>pick</type>
      <object-name>AlternateAirControl.R</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>property-toggle</command>
          <property>controls/engines/engine[1]/alternate-air</property>
        </binding>
      </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>CowlFlapsControl.L</object-name>
        <property>controls/engines/engine[0]/cowl-flaps-norm</property>
        <offset-deg>45.0</offset-deg>
        <factor>-45.0</factor>
        <axis>
            <x1-m>-1.90301</x1-m>
            <y1-m>1</y1-m>
            <z1-m>1.01161</z1-m>
            <x2-m>-1.90301</x2-m>
            <y2-m>-1</y2-m>
            <z2-m>1.01161</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>CowlFlapsControl.R</object-name>
        <property>controls/engines/engine[1]/cowl-flaps-norm</property>
        <offset-deg>45.0</offset-deg>
        <factor>-45.0</factor>
        <axis>
            <x1-m>-1.90301</x1-m>
            <y1-m>1</y1-m>
            <z1-m>1.01161</z1-m>
            <x2-m>-1.90301</x2-m>
            <y2-m>-1</y2-m>
            <z2-m>1.01161</z2-m>
        </axis>
    </animation>

    <!-- panel -->
    <animation>
        <type>noshadow</type>
        <object-name>PanelLightsDimmer</object-name>
        <object-name>RadioLightsDimmer</object-name>
    </animation>

    <animation>
        <type>material</type>
        <object-name>PanelLightsDimmer</object-name>
        <object-name>RadioLightsDimmer</object-name>
        <object-name>Overhead.CockpitLightSwitch</object-name>

        <emission>
            <red-prop>/sim/model/instrument-lighting/emission/red</red-prop>
            <green-prop>/sim/model/instrument-lighting/emission/green</green-prop>
            <blue-prop>/sim/model/instrument-lighting/emission/blue</blue-prop>
            <factor-prop>/controls/lighting/instruments-norm</factor-prop>
        </emission>
    </animation>

    <animation>
        <type>material</type>
        <object-name>Overhead.CockpitLight</object-name>

        <emission>
            <red>0.3</red>
            <green>0</green>
            <blue>0</blue>
            <factor-prop>/controls/lighting/panel-norm</factor-prop>
        </emission>
    </animation>
    <!--    
    <animation>
        <type>material</type>
        <object-name>InstrumentCover</object-name>
        <object-name>Chart1</object-name>
        <object-name>Chart2</object-name>
        
        <emission>
            <red>0.1</red>
            <green>0</green>
            <blue>0</blue>
            <factor-prop>/controls/lighting/panel-norm</factor-prop>
        </emission>
    </animation>
    -->    
    <animation>
        <type>rotate</type>
        <object-name>PanelLightsDimmer</object-name>
        <property>controls/lighting/instruments-norm</property>
        <factor>-112.5</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-1.9142</x-m>
            <y-m>0.165896</y-m>
            <z-m>1.26778</z-m>
        </center>
    </animation>


    <animation>
        <type>rotate</type>
        <object-name>RadioLightsDimmer</object-name>
        <property>controls/lighting/radio-norm</property>
        <factor>-112.5</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-1.9142</x-m>
            <y-m>0.165896</y-m>
            <z-m>1.30714</z-m>
        </center>
    </animation>

    <animation>
      <type>pick</type>
      <object-name>RadioLightsDimmer</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>property-toggle</command>
          <property>controls/lighting/radio-norm</property>
        </binding>
      </action>
      <action>
        <button>3</button>
        <repeatable>true</repeatable>
        <binding>
          <command>property-adjust</command>
          <property>controls/lighting/radio-norm</property>
          <step>-.01</step>
          <min>0</min>
          <max>1</max>
          <wrap>0</wrap>
        </binding>
      </action>
      <action>
        <button>4</button>
        <repeatable>true</repeatable>
        <binding>
          <command>property-adjust</command>
          <property>controls/lighting/radio-norm</property>
          <step>0.01</step>
          <min>0</min>
          <max>1</max>
          <wrap>0</wrap>
        </binding>
      </action>
    </animation>

    <animation>
      <type>pick</type>
      <object-name>PanelLightsDimmer</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>property-toggle</command>
          <property>controls/lighting/instruments-norm</property>
        </binding>
      </action>
      <action>
        <button>3</button>
        <repeatable>true</repeatable>
        <binding>
          <command>property-adjust</command>
          <property>controls/lighting/instruments-norm</property>
          <step>-.01</step>
          <min>0</min>
          <max>1</max>
          <wrap>0</wrap>
        </binding>
      </action>
      <action>
        <button>4</button>
        <repeatable>true</repeatable>
        <binding>
          <command>property-adjust</command>
          <property>controls/lighting/instruments-norm</property>
          <step>0.01</step>
          <min>0</min>
          <max>1</max>
          <wrap>0</wrap>
        </binding>
      </action>
    </animation>


    <!-- flap/trim console -->
    <animation>
        <type>noshadow</type>
        <object-name>FlapControl</object-name>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>FlapControl</object-name>
        <property>controls/flight/flaps</property>
        <factor>80</factor>
        <axis>
            <x>0.0</x>
            <y>1.0</y>
            <z>0.0</z>
        </axis>
        <center>
            <x-m>-1.43466</x-m>
            <y-m>0.0502238</y-m>
            <z-m>0.907574</z-m>
        </center>
    </animation>
    <animation>
      <type>pick</type>
      <object-name>FlapControl</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>nasal</command>
          <script>controls.flapsDown(1)</script>
         </binding>
         <mod-up>
          <binding>
           <command>nasal</command>
           <script>controls.flapsDown(0)</script>
          </binding>
         </mod-up>
      </action>
      <action>
        <button>2</button>
        <repeatable>false</repeatable>
        <binding>
          <command>nasal</command>
          <script>controls.flapsDown(-1)</script>
         </binding>
         <mod-up>
          <binding>
           <command>nasal</command>
           <script>controls.flapsDown(0)</script>
          </binding>
         </mod-up>
      </action>
    </animation>

    <animation>
        <type>noshadow</type>
        <object-name>RudderTrimControl</object-name>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>RudderTrimControl</object-name>
        <property>controls/flight/rudder-trim</property>
        <factor>360</factor>
        <axis>
            <x1-m>-1.36372</x1-m>
            <y1-m>-0.0136635</y1-m>
            <z1-m>0.949696</z1-m>
            <x2-m>-1.37052</x2-m>
            <y2-m>-0.0136635</y2-m>
            <z2-m>0.945771</z2-m>
        </axis>
    </animation>

    <animation>
        <type>noshadow</type>
        <object-name>RudderTrimIndicator</object-name>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>RudderTrimIndicator</object-name>
        <property>controls/flight/rudder-trim</property>
        <factor>30</factor>
        <axis>
            <x1-m>-1.36372</x1-m>
            <y1-m>-0.0136635</y1-m>
            <z1-m>0.949696</z1-m>
            <x2-m>-1.37052</x2-m>
            <y2-m>-0.0136635</y2-m>
            <z2-m>0.945771</z2-m>
        </axis>
    </animation>

    <animation>
        <type>noshadow</type>
        <object-name>ElevatorTrimControl</object-name>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>ElevatorTrimControl</object-name>
        <property>controls/flight/elevator-trim</property>
        <factor>-360</factor>
        <axis>
            <x1-m>-1.45075</x1-m>
            <y1-m>-1</y1-m>
            <z1-m>0.985163</z1-m>
            <x2-m>-1.45075</x2-m>
            <y2-m>1</y2-m>
            <z2-m>0.985163</z2-m>
        </axis>
    </animation>
    <animation>
        <type>noshadow</type>
        <object-name>ElevatorTrimIndicator</object-name>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>ElevatorTrimIndicator</object-name>
        <property>controls/flight/elevator-trim</property>
        <factor>-30</factor>
        <axis>
            <x1-m>-1.45075</x1-m>
            <y1-m>-1</y1-m>
            <z1-m>0.985163</z1-m>
            <x2-m>-1.45075</x2-m>
            <y2-m>1</y2-m>
            <z2-m>0.985163</z2-m>
        </axis>
    </animation>

    <!-- fuel selector -->
    <animation>
        <type>noshadow</type>
        <object-name>FuelSelectorControl.L</object-name>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>FuelSelectorControl.L</object-name>
        <property>controls/fuel/tank[0]/fuel_selector-position</property>
        <factor>-0.0225</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>
    <animation>
      <type>pick</type>
      <object-name>FuelSelectorControl.L</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>property-adjust</command>
          <property>controls/fuel/tank[0]/fuel_selector-position</property>
          <step>1</step>
          <min>-1</min>
          <max>2</max>
          <wrap>true</wrap>
        </binding>
        <binding>
          <command>nasal</command>
          <script>SenecaII.SetFuelSelector(0)</script>
        </binding>
      </action>
    </animation>

    <animation>
        <type>noshadow</type>
        <object-name>FuelSelectorControl.R</object-name>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>FuelSelectorControl.R</object-name>
        <property>controls/fuel/tank[1]/fuel_selector-position</property>
        <factor>-0.0225</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>
    <animation>
      <type>pick</type>
      <object-name>FuelSelectorControl.R</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>property-adjust</command>
          <property>controls/fuel/tank[1]/fuel_selector-position</property>
          <step>1</step>
          <min>-1</min>
          <max>2</max>
          <wrap>true</wrap>
        </binding>
        <binding>
          <command>nasal</command>
          <script>SenecaII.SetFuelSelector(1)</script>
        </binding>
      </action>
    </animation>

    <!-- gear lever and indicators -->
    <animation>
        <type>noshadow</type>
        <object-name>GearLever</object-name>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>GearLever</object-name>
        <property>controls/gear/gear-down</property>
        <factor>60</factor>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>-1.90599</x-m>
            <y-m>-0.0669321</y-m>
            <z-m>1.24928</z-m>
        </center>
    </animation>
    <animation>
      <type>pick</type>
      <object-name>GearLever</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>property-toggle</command>
          <property>controls/gear/gear-down</property>
        </binding>
      </action>
    </animation>

    <model>
        <path>Aircraft/SenecaII/Models/GearIndicator.xml</path>
        <name>GearIndicator</name>
        <offsets>
            <x-m>-1.90809</x-m>
            <y-m>-0.0790045</y-m>
            <z-m>1.29982</z-m>
        </offsets>
    </model>

    <animation>
        <type>rotate</type>
        <object-name>ParkingBrakeControl</object-name>
        <property>controls/gear/brake-parking</property>
        <factor>-80</factor>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>-1.96084</x-m>
            <y-m>-0.114674</y-m>
            <z-m>1.20868</z-m>
        </center>
    </animation>
    <animation>
      <type>pick</type>
      <object-name>ParkingBrakeControl</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>property-toggle</command>
          <property>controls/gear/brake-parking</property>
        </binding>
      </action>
    </animation>
    <!-- Instruments -->
    <!-- top row -->
    <!-- clock -->
    <model>
        <path>Aircraft/Instruments-3d/clock/clock.xml</path>
        <name>Clock</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.512688</y-m>
            <z-m>1.50145</z-m>
        </offsets>
    </model>
    <!-- airspeed indicator -->
    <model>
        <path>Aircraft/SenecaII/Models/Airspeed.xml</path>
        <name>ASI</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.443245</y-m>
            <z-m>1.51695</z-m>
        </offsets>
    </model>
    <!-- art. horizon -->
    <model>
        <path>Aircraft/SenecaII/Models/AI/AttitudeGyro.xml</path>
        <name>AI</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.358245</y-m>
            <z-m>1.51695</z-m>
        </offsets>
    </model>
    <!-- altimeter -->
    <model>
        <path>Aircraft/Instruments-3d/alt/alt.xml</path>
        <name>Altimeter</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.273245</y-m>
            <z-m>1.51695</z-m>
        </offsets>
    </model>
    <!--Radar Altimeter -->
    <model>
        <path>Aircraft/SenecaII/Instruments-3d/kra10a.xml</path>
        <name>KRA10</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.188245</y-m>
            <z-m>1.51695</z-m>
        </offsets>
    </model>
    <!-- center row -->
    <!-- adf -->
    <model>
        <path>Aircraft/SenecaII/Models/ki227_228.xml</path>
        <name>ADF</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.528245</y-m>
            <z-m>1.43194</z-m>
        </offsets>
    </model>
    <!-- turn coordinator -->
    <model>
        <path>Aircraft/Instruments-3d/tc/tc.xml</path>
        <name>TC</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.443245</y-m>
            <z-m>1.43194</z-m>
        </offsets>
    </model>
    <!-- hsi -->
    <model>
        <path>Aircraft/SenecaII/Models/kcs55/ki525a.xml</path>
        <name>HSI</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.358245</y-m>
            <z-m>1.43194</z-m>
        </offsets>
    </model>
    <!-- vertical speed indicator -->
    <model>
        <path>Aircraft/Instruments-3d/vsi/vsi.xml</path>
        <name>VSI</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.273245</y-m>
            <z-m>1.43194</z-m>
        </offsets>
    </model>
    <!-- vor nav2 -->
    <model>
        <path>Aircraft/SenecaII/Models/ki209a-2.xml</path>
        <name>VOR2</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.188245</y-m>
            <z-m>1.43194</z-m>
        </offsets>
    </model>
    <!-- Copilots instruments -->
    <!-- art. horizon -->
    <model>
        <path>Aircraft/SenecaII/Models/AI/AI.xml</path>
        <name>AI2</name>
        <offsets>
            <x-m>-1.910</x-m>
            <y-m>0.358245</y-m>
            <z-m>1.51695</z-m>
        </offsets>
    </model>
    <!-- altimeter -->
    <model>
        <path>Aircraft/Instruments-3d/alt/alt.xml</path>
        <name>Altimeter</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>0.273245</y-m>
            <z-m>1.51695</z-m>
        </offsets>
    </model>
    <!-- lights and switches -->
    <model>
        <path>Aircraft/SenecaII/Models/ControlLight.xml</path>
        <name>APCaptureLight</name>
        <offsets>
            <x-m>-1.91</x-m>
            <y-m>-0.358245</y-m>
            <z-m>1.57</z-m>
        </offsets>
    </model>
    <model>
        <path>Aircraft/SenecaII/Models/GearTransitLight.xml</path>
        <name>GearTransitLight</name>
        <offsets>
            <x-m>-1.91</x-m>
            <y-m>-0.316</y-m>
            <z-m>1.57</z-m>
        </offsets>
    </model>
    <model>
        <path>Aircraft/SenecaII/Models/Annunciator.xml</path>
        <name>Annunciator</name>
        <offsets>
            <x-m>-1.91</x-m>
            <y-m>-0.212</y-m>
            <z-m>1.57</z-m>
        </offsets>
    </model>
    <!-- engine gauges -->
    <model>
        <path>Aircraft/SenecaII/Instruments-3d/ManifoldPressure.xml</path>
        <name>ManifoldPressure</name>
        <offsets>
            <x-m>-1.91</x-m>
            <y-m>-0.230861</y-m>
            <z-m>1.28695</z-m>
        </offsets>
    </model>
    <model>
        <path>Aircraft/SenecaII/Models/RPM.xml</path>
        <name>RPM-Left</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.315861</y-m>
            <z-m>1.28695</z-m>
        </offsets>
        <overlay>
          <params>
            <value>engines/engine[0]/rpm-filtered</value>
          </params>
        </overlay>
    </model>
    <model>
        <path>Aircraft/SenecaII/Models/RPM.xml</path>
        <name>RPM-Right</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>-0.145861</y-m>
            <z-m>1.28695</z-m>
        </offsets>
        <overlay>
          <params>
            <value>engines/engine[1]/rpm-filtered</value>
          </params>
        </overlay>
    </model>
    <model>
        <path>Aircraft/SenecaII/Instruments-3d/FuelFlow.xml</path>
        <name>FuelFlow</name>
        <offsets>
            <x-m>-1.915</x-m>
            <y-m>0.222074</y-m>
            <z-m>1.28741</z-m>
        </offsets>
    </model>
    <!-- Front panel -->
    <!--
    <panel>
        <path>Aircraft/c310u3a/c310u3a-3d-panel.xml</path>
        <bottom-left>
            <x-m>1.874</x-m>
            <y-m>-0.695</y-m>
            <z-m> 0.07</z-m>
        </bottom-left>
        <bottom-right>
            <x-m>1.874</x-m>
            <y-m> 0.1</y-m>
            <z-m> 0.07</z-m>
        </bottom-right>
        <top-left>
            <x-m>1.874</x-m>
            <y-m>-0.695</y-m>
            <z-m> 0.57</z-m>
        </top-left>
    </panel>
    -->
    <!-- LOD for the model as a whole -->
    <animation>
        <type>range</type>
        <min-m>0</min-m>
        <max-m>10000</max-m>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>Stabilizer</object-name>
        <property>surface-positions/elevator-pos-norm</property>
        <factor>22.5</factor>
        <axis>
            <x1-m>3.56</x1-m>
            <y1-m>-2.0</y1-m>
            <z1-m>1.28</z1-m>
            <x2-m>3.56</x2-m>
            <y2-m>2.0</y2-m>
            <z2-m>1.28</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>Rudder</object-name>
        <property>surface-positions/rudder-pos-norm</property>
        <factor>25</factor>
        <axis>
            <x1-m>3.55</x1-m>
            <y1-m>0</y1-m>
            <z1-m>1.49</z1-m>
            <x2-m>3.90</x2-m>
            <y2-m>0</y2-m>
            <z2-m>2.72</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>LeftFlap</object-name>
        <property>surface-positions/flap-pos-norm</property>
        <factor>40</factor>
        <axis>
            <x1-m>-0.18</x1-m>
            <y1-m>-3.63</y1-m>
            <z1-m>0.98</z1-m>
            <x2-m>-0.22</x2-m>
            <y2-m>-0.69</y2-m>
            <z2-m>0.68</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>RightFlap</object-name>
        <property>surface-positions/flap-pos-norm</property>
        <factor>-40</factor>
        <axis>
            <x1-m>-0.18</x1-m>
            <y1-m>3.63</y1-m>
            <z1-m>0.98</z1-m>
            <x2-m>-0.22</x2-m>
            <y2-m>0.69</y2-m>
            <z2-m>0.68</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>LeftAileron</object-name>
        <property>surface-positions/left-aileron-pos-norm</property>
        <factor>20</factor>
        <axis>
            <x1-m>-0.18</x1-m>
            <y1-m>-5.55</y1-m>
            <z1-m>1.22</z1-m>
            <x2-m>-0.18</x2-m>
            <y2-m>-3.63</y2-m>
            <z2-m>0.98</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>RightAileron</object-name>
        <property>surface-positions/right-aileron-pos-norm</property>
        <factor>20</factor>
        <axis>
            <x1-m>-0.18</x1-m>
            <y1-m>3.63</y1-m>
            <z1-m>0.98</z1-m>
            <x2-m>-0.18</x2-m>
            <y2-m>5.55</y2-m>
            <z2-m>1.22</z2-m>
        </axis>
    </animation>

    <animation>
        <type>noshadow</type>
        <object-name>TaxiLandingLight</object-name>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>TaxiLandingLight</object-name>
        <property>gear/gear[0]/position-norm</property>
        <interpolation>
            <entry>
                <ind>0</ind>
                <dep>110</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>0</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>-2.84</x1-m>
            <y1-m>-1</y1-m>
            <z1-m>0.85</z1-m>
            <x2-m>-2.84</x2-m>
            <y2-m>1</y2-m>
            <z2-m>0.85</z2-m>
        </axis>
    </animation>

    <!-- nose gear from Roberto Inzerillo -->
    <animation>
        <type>rotate</type>
        <object-name>NLG</object-name>
        <property>gear/gear[0]/position-norm</property>
        <interpolation>
            <entry>
                <ind>0</ind>
                <dep>110</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>0</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>-2.84</x1-m>
            <y1-m>-1</y1-m>
            <z1-m>0.85</z1-m>
            <x2-m>-2.84</x2-m>
            <y2-m>1</y2-m>
            <z2-m>0.85</z2-m>
        </axis>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>NLG</object-name>
        <property>surface-positions/rudder-pos-norm</property>
        <factor>-30</factor>
        <axis>
            <x1-m>-2.97</x1-m>
            <y1-m>0</y1-m>
            <z1-m>0</z1-m>
            <x2-m>-2.84</x2-m>
            <y2-m>0</y2-m>
            <z2-m>0.85</z2-m>
        </axis>
    </animation>

    <animation>
        <type>translate</type>
        <object-name>NLG_B</object-name>
        <object-name>NLG_C</object-name>
        <property>gear/gear[0]/compression-norm</property>
        <factor>0.1653</factor>
        <axis>
            <x>2.5</x>
            <y>0.0</y>
            <z>15.0</z>
        </axis>
    </animation>


    <animation>
        <type>rotate</type>
        <object-name>NLG_D</object-name>
        <property>gear/gear[0]/compression-norm</property>
        <interpolation include="NoseGearScissorInterpolation.xml"/>
        <center>
            <x-m>-2.839</x-m>
            <y-m>0</y-m>
            <z-m>0.620</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>-1</y>
            <z>0</z>
        </axis>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>NLG_C</object-name>
        <property>gear/gear[0]/compression-norm</property>
        <interpolation include="NoseGearScissorInterpolation.xml"/>
        <center>
            <x-m>-2.874</x-m>
            <y-m>0</y-m>
            <z-m>0.404</z-m>
        </center>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
    </animation>


    <animation>
        <type>rotate</type>
        <object-name>LeftNosegearCover</object-name>
        <property>gear/gear[0]/position-norm</property>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>90</dep>
            </entry>
            <entry>
                <ind>0.15</ind>
                <dep>0</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>-3.63</x1-m>
            <y1-m>-0.13</y1-m>
            <z1-m>0.90</z1-m>
            <x2-m>-2.71</x2-m>
            <y2-m>-0.12</y2-m>
            <z2-m>0.80</z2-m>
        </axis>
    </animation>
    
    <animation>
        <type>spin</type>
        <object-name>NLG_Wheel</object-name>
        <property>fdm/jsbsim/velocities/vg-fps</property>
        <factor>-13.8</factor>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>-2.95136</x-m>
            <y-m>0</y-m>
            <z-m>0.180746</z-m>
        </center>
    </animation>
    
    <animation>
        <type>rotate</type>
        <object-name>RightNosegearCover</object-name>
        <property>gear/gear[0]/position-norm</property>
        <interpolation>
            <entry>
                <ind>0.0</ind>
                <dep>-90</dep>
            </entry>
            <entry>
                <ind>0.15</ind>
                <dep>0</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>-3.63</x1-m>
            <y1-m>0.13</y1-m>
            <z1-m>0.90</z1-m>
            <x2-m>-2.71</x2-m>
            <y2-m>0.12</y2-m>
            <z2-m>0.80</z2-m>
        </axis>
    </animation>
    
    <animation>
        <type>rotate</type>
        <object-name>GearLeft</object-name>
        <property>gear/gear[1]/position-norm</property>
        <interpolation>
            <entry>
                <ind>0</ind>
                <dep>90</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>0</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>-0.97</x1-m>
            <y1-m>-1.51</y1-m>
            <z1-m>0.80</z1-m>
            <x2-m>-0.91</x2-m>
            <y2-m>-1.51</y2-m>
            <z2-m>0.80</z2-m>
        </axis>
    </animation>
    
    <animation>
        <type>translate</type>
        <object-name>GearLeft.Axle</object-name>
        <object-name>GearLeft.Wheel</object-name>
        <object-name>GearLeft.Piston</object-name>
        <property>gear/gear[1]/compression-norm</property>
        <factor>0.17</factor>
        <axis>
            <x>0.0</x>
            <y>0.0</y>
            <z>1.0</z>
        </axis>
    </animation>
    
    <animation>
        <type>spin</type>
        <object-name>GearLeft.Wheel</object-name>
        <property>fdm/jsbsim/velocities/vg-fps</property>
        <factor>-13.8</factor>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>-0.827268</x-m>
            <y-m>-1.5254</y-m>
            <z-m>0.200688</z-m>
        </center>
    </animation>
    
    <animation>
        <type>rotate</type>
        <object-name>LeftMainGearCover</object-name>
        <property>gear/gear[1]/position-norm</property>
        <interpolation>
            <entry>
                <ind>0</ind>
                <dep>97</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>0</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>-1.05</x1-m>
            <y1-m>-1.57</y1-m>
            <z1-m>0.76</z1-m>
            <x2-m>-0.84</x2-m>
            <y2-m>-1.57</y2-m>
            <z2-m>0.76</z2-m>
        </axis>
    </animation>
    
    <animation>
        <type>rotate</type>
        <object-name>GearRight</object-name>
        <property>gear/gear[2]/position-norm</property>
        <interpolation>
            <entry>
                <ind>0</ind>
                <dep>-90</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>0</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>-0.97</x1-m>
            <y1-m>1.49</y1-m>
            <z1-m>0.80</z1-m>
            <x2-m>-0.91</x2-m>
            <y2-m>1.49</y2-m>
            <z2-m>0.80</z2-m>
        </axis>
    </animation>

    <animation>
        <type>translate</type>
        <object-name>GearRight.Axle</object-name>
        <object-name>GearRight.Wheel</object-name>
        <object-name>GearRight.Piston</object-name>
        <property>gear/gear[2]/compression-norm</property>
        <factor>0.17</factor>
        <axis>
            <x>0.0</x>
            <y>0.0</y>
            <z>1.0</z>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>RightMainGearCover</object-name>
        <property>gear/gear[2]/position-norm</property>
        <interpolation>
            <entry>
                <ind>0</ind>
                <dep>-97</dep>
            </entry>
            <entry>
                <ind>1.0</ind>
                <dep>0</dep>
            </entry>
        </interpolation>
        <axis>
            <x1-m>-1.05</x1-m>
            <y1-m>1.55</y1-m>
            <z1-m>0.76</z1-m>
            <x2-m>-0.84</x2-m>
            <y2-m>1.55</y2-m>
            <z2-m>0.76</z2-m>
        </axis>
    </animation>
    
    <animation>
        <type>spin</type>
        <object-name>GearRight.Wheel</object-name>
        <property>fdm/jsbsim/velocities/vg-fps</property>
        <factor>-13.8</factor>
        <axis>
            <x>0</x>
            <y>1</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>-0.827268</x-m>
            <y-m>1.5254</y-m>
            <z-m>0.200688</z-m>
        </center>
    </animation>
    
    
    <animation>
        <type>rotate</type>
        <object-name>LeftCowlFlap</object-name>
        <property>fdm/jsbsim/propulsion/engine[0]/cowl-flaps-norm</property>
        <factor>10</factor>
        <axis>
            <x1-m>-1.26</x1-m>
            <y1-m>-2.12</y1-m>
            <z1-m>0.85</z1-m>
            <x2-m>-1.26</x2-m>
            <y2-m>-1.62</y2-m>
            <z2-m>0.80</z2-m>
        </axis>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>RightCowlFlap</object-name>
        <property>fdm/jsbsim/propulsion/engine[1]/cowl-flaps-norm</property>
        <factor>-10</factor>
        <axis>
            <x1-m>-1.26</x1-m>
            <y1-m>2.12</y1-m>
            <z1-m>0.85</z1-m>
            <x2-m>-1.26</x2-m>
            <y2-m>1.62</y2-m>
            <z2-m>0.80</z2-m>
        </axis>
    </animation>

    <animation>
      <type>pick</type>
      <object-name>CowlFlapsControl.L</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>property-toggle</command>
          <property>controls/engines/engine[0]/cowl-flaps-norm</property>
        </binding>
      </action>
    </animation>

    <animation>
      <type>pick</type>
      <object-name>CowlFlapsControl.R</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <command>property-toggle</command>
          <property>controls/engines/engine[1]/cowl-flaps-norm</property>
        </binding>
      </action>
    </animation>

    <!-- Left Propeller -->
    <model>
        <path>Aircraft/SenecaII/Models/PropDisc.xml</path>
        <name>PropDisc.L</name>
        <offsets>
            <x-m>-2.76321</x-m>
            <y-m>-1.84169</y-m>
            <z-m>1.31469</z-m>
        </offsets>
        <overlay>
          <params>
            <rpm-norm-inv>/engines/engine[0]/rpm-norm-inv</rpm-norm-inv>
            <rpm>engines/engine[0]/rpm</rpm>
          </params>
        </overlay>
    </model>
    <animation>
        <type>noshadow</type>
        <object-name>LeftPropeller</object-name>
    </animation>
    <animation>
        <type>spin</type>
        <object-name>LeftPropeller</object-name>
        <property>engines/engine[0]/rpm</property>
        <factor>-1</factor>
        <axis>
            <x>1</x>
            <y>0</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>-2.76321</x-m>
            <y-m>-1.84169</y-m>
            <z-m>1.31469</z-m>
        </center>
    </animation>
    <animation>
        <type>select</type>
        <object-name>LeftPropeller</object-name>
        <condition>
            <less-than>
                <property>engines/engine[0]/rpm</property>
                <value>400</value>
            </less-than>
        </condition>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>LeftPropeller.1</object-name>
        <property>engines/engine[0]/thruster/pitch</property>
        <offset-deg>-10</offset-deg>
        <axis>
            <x1-m>-2.76321</x1-m>
            <y1-m>-1.84168</y1-m>
            <z1-m>1.31478</z1-m>
            <x2-m>-2.76334</x2-m>
            <y2-m>-0.876675</y2-m>
            <z2-m>1.30558</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>LeftPropeller.2</object-name>
        <property>engines/engine[0]/thruster/pitch</property>
        <offset-deg>-10</offset-deg>
        <axis>
            <x1-m>-2.76321</x1-m>
            <y1-m>-1.84168</y1-m>
            <z1-m>1.31478</z1-m>
            <x2-m>-2.76334</x2-m>
            <y2-m>-2.80668</y2-m>
            <z2-m>1.32398</z2-m>
        </axis>
    </animation>

    <!-- Right Propeller -->
    <model>
        <path>Aircraft/SenecaII/Models/PropDisc.xml</path>
        <name>PropDisc.R</name>
        <offsets>
            <x-m>-2.76321</x-m>
            <y-m>1.84169</y-m>
            <z-m>1.31469</z-m>
        </offsets>
        <overlay>
          <params>
            <rpm-norm-inv>/engines/engine[1]/rpm-norm-inv</rpm-norm-inv>
            <rpm>engines/engine[1]/rpm</rpm>
          </params>
        </overlay>
    </model>
    <animation>
        <type>noshadow</type>
        <object-name>RightPropeller</object-name>
    </animation>
    <animation>
        <type>select</type>
        <object-name>RightPropeller</object-name>
        <condition>
            <less-than>
                <property>engines/engine[1]/rpm</property>
                <value>400</value>
            </less-than>
        </condition>
    </animation>
    <animation>
        <type>spin</type>
        <object-name>RightPropeller</object-name>
        <property>engines/engine[1]/rpm</property>
        <factor>1</factor>
        <axis>
            <x>1</x>
            <y>0</y>
            <z>0</z>
        </axis>
        <center>
            <x-m>-2.76321</x-m>
            <y-m>1.84169</y-m>
            <z-m>1.31469</z-m>
        </center>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>RightPropeller.1</object-name>
        <property>engines/engine[1]/thruster/pitch</property>
        <offset-deg>-10</offset-deg>
        <axis>
            <x1-m>-2.76334</x1-m>
            <y1-m>0.876681</y1-m>
            <z1-m>1.30557</z1-m>
            <x2-m>-2.76321</x2-m>
            <y2-m>1.84169</y2-m>
            <z2-m>1.31478</z2-m>
        </axis>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>RightPropeller.2</object-name>
        <property>engines/engine[1]/thruster/pitch</property>
        <offset-deg>-10</offset-deg>
        <axis>
            <x1-m>-2.76334</x1-m>
            <y1-m>2.80669</y1-m>
            <z1-m>1.32398</z1-m>
            <x2-m>-2.76321</x2-m>
            <y2-m>1.84169</y2-m>
            <z2-m>1.31478</z2-m>
        </axis>
    </animation>

    <animation>
        <type>noshadow</type>
        <object-name>Compass</object-name>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>Compass.Ring</object-name>
        <property>instrumentation/magnetic-compass/indicated-heading-deg</property>
        <axis>
            <x>0.0</x>
            <y>0.0</y>
            <z>1.0</z>
        </axis>
        <center>
            <x-m>-1.95511</x-m>
            <y-m>0</y-m>
            <z-m>1.67418</z-m>
        </center>
    </animation>

    <animation>
        <type>material</type>
        <object-name>Compass.Ring</object-name>
        <emission>
            <red-prop>/sim/model/instrument-lighting/emission/red</red-prop>
            <green-prop>/sim/model/instrument-lighting/emission/green</green-prop>
            <blue-prop>/sim/model/instrument-lighting/emission/blue</blue-prop>
            <factor-prop>/controls/lighting/instruments-norm</factor-prop>
        </emission>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>PaxDoor</object-name>
        <property>sim/model/door-positions/pax-door/position-norm</property>
        <factor>-70</factor>
        <axis>
            <x1-m>-0.275292</x1-m>
            <y1-m>-0.633179</y1-m>
            <z1-m>0.743562</z1-m>
            <x2-m>-0.26653</x2-m>
            <y2-m>-0.654369</y2-m>
            <z2-m>1.24053</z2-m>
        </axis>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>BaggageDoor</object-name>
        <property>sim/model/door-positions/baggage-door/position-norm</property>
        <factor>-170</factor>
        <axis>
            <x1-m>0.586459</x1-m>
            <y1-m>-0.500845</y1-m>
            <z1-m>1.68736</z1-m>
            <x2-m>1.06076</x2-m>
            <y2-m>-0.449251</y2-m>
            <z2-m>1.64261</z2-m>
        </axis>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>RightDoor</object-name>
        <property>sim/model/door-positions/right-door/position-norm</property>
        <factor>-55</factor>
        <axis>
            <x1-m>-1.73429</x1-m>
            <y1-m>0.636414</y1-m>
            <z1-m>1.33878</z1-m>
            <x2-m>-1.73429</x2-m>
            <y2-m>0.631434</y2-m>
            <z2-m>0.918875</z2-m>
        </axis>
    </animation>

    <animation>
        <type>material</type>
        <object-name>Beacon</object-name>
        <emission>
            <red>1.0</red>
            <green>0.0</green>
            <blue>0.0</blue>
            <factor-prop>/sim/model/lights/beacon/state</factor-prop>
        </emission>
    </animation>

    <model>
        <path>Aircraft/SenecaII/Models/StrobeLight.xml</path>
        <name>StrobeLight.L</name>
        <offsets>
            <x-m>-1.05459</x-m>
            <y-m>-5.85306</y-m>
            <z-m>1.35309</z-m>
        </offsets>
    </model>

    <model>
        <path>Aircraft/SenecaII/Models/StrobeLight.xml</path>
        <name>StrobeLight.R</name>
        <offsets>
            <x-m>-1.05459</x-m>
            <y-m>5.85306</y-m>
            <z-m>1.35309</z-m>
        </offsets>
    </model>

    <model>
        <path>Aircraft/SenecaII/Models/StrobeInCloudsHull.xml</path>
        <name>StrobeInCloudsHull</name>
        <offsets>
            <x-m>0</x-m>
            <y-m>0</y-m>
            <z-m>0</z-m>
        </offsets>
    </model>


    <model>
        <path>Aircraft/SenecaII/Models/BeaconLight.xml</path>
        <name>StrobeLight.R</name>
        <offsets>
            <x-m>3.75488</x-m>
            <y-m>0</y-m>
            <z-m>3.04654</z-m>
        </offsets>
    </model>

    <animation>
        <type>noshadow</type>
        <object-name>Charts</object-name>
        <object-name>Label.Fuel</object-name>
        <object-name>Overhead</object-name>
    </animation>

    <animation>
        <type>rotate</type>
        <object-name>Overhead.CockpitLightSwitch</object-name>
        <property>controls/lighting/panel-norm</property>
        <factor>-40.0</factor>
        <axis>
            <x1-m>-1.20476</x1-m>
            <y1-m>0.01</y1-m>
            <z1-m>1.94148</z1-m>
            <x2-m>-1.20476</x2-m>
            <y2-m>-0.01</y2-m>
            <z2-m>1.94148</z2-m>
        </axis>
    </animation>

    <animation>
        <type>noshadow</type>
        <object-name>EmergencyExtend</object-name>
    </animation>

    <animation>
      <type>pick</type>
      <object-name>GearEmergencyKnob</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <condition>
            <property>controls/gear/gear-emergency-extend-unlock</property>
          </condition>
          <command>property-toggle</command>
          <property>controls/gear/gear-emergency-extend</property>
        </binding>
      </action>
    </animation>
    <animation>
        <type>translate</type>
        <object-name>GearEmergencyKnob</object-name>
        <property>controls/gear/gear-emergency-extend</property>
        <factor>0.02</factor>
        <axis>
            <x>1.0</x>
            <y>0.0</y>
            <z>0.0</z>
        </axis>
    </animation>

    <animation>
      <type>pick</type>
      <object-name>GearEmergencySecure</object-name>
      <visible>true</visible>
      <action>
        <button>0</button>
        <repeatable>false</repeatable>
        <binding>
          <condition>
            <not>
              <property>controls/gear/gear-emergency-extend</property>
            </not>
          </condition>
          <command>property-toggle</command>
          <property>controls/gear/gear-emergency-extend-unlock</property>
        </binding>
      </action>
    </animation>
    <animation>
        <type>rotate</type>
        <object-name>GearEmergencySecure</object-name>
        <property>controls/gear/gear-emergency-extend-unlock</property>
        <factor>80.0</factor>
        <axis>
            <x1-m>-1.90973</x1-m>
            <y1-m>-0.100783</y1-m>
            <z1-m>1.22169</z1-m>
            <x2-m>-1.90973</x2-m>
            <y2-m>-0.0770258</y2-m>
            <z2-m>1.22169</z2-m>
        </axis>
    </animation>

    <model>
      <path>Aircraft/SenecaII/Models/GearMirror.xml</path>
      <name>GearMirror</name>
      <offsets>
        <x-m>-2.2808</x-m>
        <y-m>-1.35</y-m>
        <z-m>1.2005</z-m>
        <heading-deg>181</heading-deg>
        <roll-deg>16</roll-deg>
      </offsets>
    </model>

    <animation>
        <type>select</type>
        <condition>
          <not>
            <and>
              <property>sim/model/hide-model</property>
              <property>/sim/current-view/internal</property>
            </and>
          </not>
        </condition>
    </animation>
</PropertyList>
