<?xml version="1.0"?>

<PropertyList>
  <!-- horizontal situation indicator -->
  <name>HSI</name>
  <path>hsi.ac</path>

  <animation>
    <type>rotate</type>
    <object-name>HSI-compass-card</object-name>
    <condition>
      <greater-than>
        <property>systems/electrical/outputs/hsi</property>
        <value>24</value>
      </greater-than>
    </condition>
    <property>instrumentation/heading-indicator/indicated-heading-deg</property>
    <center>
      <x-m>-4.096</x-m>
      <y-m>0.482</y-m>
      <z-m>0.570</z-m>
    </center>
    <axis>
      <x>1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>headingbug</object-name>
    <condition>
      <greater-than>
        <property>systems/electrical/outputs/hsi</property>
        <value>24</value>
      </greater-than>
    </condition>
    <property>autopilot/internal/heading-bug-error-deg</property>
    <center>
      <x-m>-4.101</x-m>
      <y-m>0.482</y-m>
      <z-m>0.570</z-m>
    </center>
    <axis>
      <x>-1</x>
      <y>0</y>
      <z>0</z>
    </axis>
  </animation>
  
  <animation>
  	<type>rotate</type>
  	<object-name>course-knob</object-name>
  	<property>autopilot/internal/true-heading-error-deg</property>
  	<center>
    	<x-m>-4.087</x-m>
    	<y-m>0.524</y-m>
    	<z-m>0.533</z-m>
  	</center>
  	<axis>
    	<x>-1</x>
    	<y>0</y>
    	<z>0</z>
  	</axis>
	</animation>
	
	<animation>
  		<type>rotate</type>
  		<object-name>head</object-name>
  		<object-name>cdi</object-name>
  		<object-name>tail</object-name>
  		<property>autopilot/internal/true-heading-error-deg</property>
  		<center>
    		<x-m>-4.101</x-m>
    		<y-m>0.482</y-m>
    		<z-m>0.570</z-m>
  		</center>
  		<axis>
    		<x>-1</x>
    		<y>0</y>
    		<z>0</z>
  		</axis>
	</animation>
 

<!-- nav1 distance digital display -->
  <animation>
    <type>textranslate</type>
    <object-name>miles-drum-1</object-name>
    <property>autopilot/route-manager/dist</property>
    <factor>0.1</factor>
    <offset>-1</offset>
    <center>
      <x-m>0</x-m>
      <y-m>0</y-m>
      <z-m>0</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>-1</y>
      <z>0</z>
    </axis>
  </animation>
  
  <animation>
    <type>textranslate</type>
    <object-name>miles-drum-2</object-name>
    <property>autopilot/route-manager/dist</property>
    <factor>0.01</factor>
    <offset>-10</offset>
    <step>10</step>
    <scroll>0.5</scroll>
    <center>
      <x-m>0</x-m>
      <y-m>0</y-m>
      <z-m>0</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>-1</y>
      <z>0</z>
    </axis>
  </animation>
  <animation>
    <type>textranslate</type>
    <object-name>miles-drum-3</object-name>
    <property>autopilot/route-manager/dist</property>
    <factor>0.001</factor>
    <offset>-100</offset>
    <step>100</step>
    <scroll>0.5</scroll>
    <center>
      <x-m>0</x-m>
      <y-m>0</y-m>
      <z-m>0</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>-1</y>
      <z>0</z>
    </axis>
  </animation>

<!-- ap course digital display -->
  <animation>
    <type>textranslate</type>
    <object-name>course-drum-1</object-name>
    <property>autopilot/internal/true-heading-error-deg</property>
    <factor>0.1</factor>
    <offset>-1</offset>
    <center>
      <x-m>0</x-m>
      <y-m>0</y-m>
      <z-m>0</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>-1</y>
      <z>0</z>
    </axis>
  </animation>
  <animation>
    <type>textranslate</type>
    <object-name>course-drum-2</object-name>
    <property>autopilot/internal/true-heading-error-deg</property>
    <factor>0.01</factor>
    <offset>-10</offset>
    <step>10</step>
    <scroll>0.5</scroll>
    <center>
      <x-m>0</x-m>
      <y-m>0</y-m>
      <z-m>0</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>-1</y>
      <z>0</z>
    </axis>
  </animation>
  <animation>
    <type>textranslate</type>
    <object-name>course-drum-3</object-name>
    <property>autopilot/internal/true-heading-error-deg</property>
    <factor>0.001</factor>
    <offset>-100</offset>
    <step>100</step>
    <scroll>0.5</scroll>
    <center>
      <x-m>0</x-m>
      <y-m>0</y-m>
      <z-m>0</z-m>
    </center>
    <axis>
      <x>0</x>
      <y>-1</y>
      <z>0</z>
    </axis>
  </animation>



 <!--<animation>
  <type>rotate</type>
  <object-name>heading-knob</object-name>
  <property>orientation/heading-magnetic-deg</property>
  <center>
    <x-m>0.0</x-m>
    <y-m>0.0</y-m>
    <z-m>0.0</z-m>
  </center>
  <axis>
    <x>1</x>
    <y>0</y>
    <z>0</z>
  </axis>
 </animation>-->

<!-- lighting -->

  <animation>
   <object-name>HSI-bkg</object-name>
   <object-name>heading-set-knob</object-name>
   <type>material</type>
     <emission> 
      <factor-prop>controls/lighting/panel-norm</factor-prop>
        <red>0.44</red>
        <green>0.27</green>
        <blue>0.15</blue>
      </emission>
  </animation>
  
  <animation>
   <object-name>course-knob</object-name>
   <type>material</type>
     <emission> 
      <factor-prop>controls/lighting/panel-norm</factor-prop>
        <red>0.44</red>
        <green>0.27</green>
        <blue>0.15</blue>
      </emission>
  </animation>

  <animation>
    <object-name>HSI-compass-card</object-name>
    <type>material</type>
    <emission> 
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>0.60</red>
      <green>0.35</green>
      <blue>0.23</blue>
    </emission>
  </animation>


  <animation>
    <object-name>miles-drum-1</object-name>
    <type>material</type>
    <emission> 
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>0.60</red>
      <green>0.35</green>
      <blue>0.23</blue>
    </emission>
  </animation>
  <animation>
    <object-name>miles-drum-2</object-name>
    <type>material</type>
    <emission> 
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>0.60</red>
      <green>0.35</green>
      <blue>0.23</blue>
    </emission>
  </animation>
  <animation>
    <object-name>miles-drum-3</object-name>
    <type>material</type>
    <emission> 
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>0.60</red>
      <green>0.35</green>
      <blue>0.23</blue>
    </emission>
  </animation>

  <animation>
    <object-name>course-drum-1</object-name>
    <type>material</type>
    <emission> 
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>0.60</red>
      <green>0.35</green>
      <blue>0.23</blue>
    </emission>
  </animation>
  <animation>
    <object-name>course-drum-2</object-name>
    <type>material</type>
    <emission> 
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>0.60</red>
      <green>0.35</green>
      <blue>0.23</blue>
    </emission>
  </animation>
  <animation>
    <object-name>course-drum-3</object-name>
    <type>material</type>
    <emission> 
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>0.60</red>
      <green>0.35</green>
      <blue>0.23</blue>
    </emission>
  </animation>

  <animation>
    <type>range</type>
    <min-m>0</min-m>
    <max-m>35</max-m>
  </animation>

</PropertyList>
