VC: Refactor DDRMI animations
This commit is contained in:
parent
8e8c0cac50
commit
ccdc77e555
6 changed files with 5646 additions and 5638 deletions
|
@ -798,6 +798,11 @@
|
||||||
<volume type="double">0.6</volume>
|
<volume type="double">0.6</volume>
|
||||||
</comm>
|
</comm>
|
||||||
|
|
||||||
|
<ddrmi n="0">
|
||||||
|
<vor-adf-1 type="int">1</vor-adf-1>
|
||||||
|
<vor-adf-2 type="int">1</vor-adf-2>
|
||||||
|
</ddrmi>
|
||||||
|
|
||||||
<dme n="0">
|
<dme n="0">
|
||||||
<frequencies>
|
<frequencies>
|
||||||
<selected-mhz type="double">111.15</selected-mhz>
|
<selected-mhz type="double">111.15</selected-mhz>
|
||||||
|
@ -834,20 +839,6 @@
|
||||||
<volume type="double">0</volume>
|
<volume type="double">0</volume>
|
||||||
</dme>
|
</dme>
|
||||||
|
|
||||||
<efis n="0">
|
|
||||||
<input n="0">
|
|
||||||
<vor-adf-1 type="int">2</vor-adf-1>
|
|
||||||
<vor-adf-2 type="int">2</vor-adf-2>
|
|
||||||
</input>
|
|
||||||
</efis>
|
|
||||||
|
|
||||||
<efis n="1">
|
|
||||||
<input n="0">
|
|
||||||
<vor-adf-1 type="int">2</vor-adf-1>
|
|
||||||
<vor-adf-2 type="int">2</vor-adf-2>
|
|
||||||
</input>
|
|
||||||
</efis>
|
|
||||||
|
|
||||||
<nav n="0">
|
<nav n="0">
|
||||||
<frequencies>
|
<frequencies>
|
||||||
<selected-mhz type="double">111.15</selected-mhz>
|
<selected-mhz type="double">111.15</selected-mhz>
|
||||||
|
|
|
@ -2706,14 +2706,7 @@
|
||||||
<repeatable type="bool">false</repeatable>
|
<repeatable type="bool">false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-cycle</command>
|
<command>property-cycle</command>
|
||||||
<property>instrumentation/efis/input/vor-adf-1</property>
|
<property>instrumentation/efis[0]/input/lh-vor-adf</property>
|
||||||
<value>0</value> <!-- OFF -->
|
|
||||||
<value>1</value> <!-- VOR -->
|
|
||||||
<value>2</value> <!-- ADF -->
|
|
||||||
</binding>
|
|
||||||
<binding>
|
|
||||||
<command>property-cycle</command>
|
|
||||||
<property>instrumentation/efis/input/lh-vor-adf</property>
|
|
||||||
<value>0</value> <!-- OFF -->
|
<value>0</value> <!-- OFF -->
|
||||||
<value>1</value> <!-- VOR -->
|
<value>1</value> <!-- VOR -->
|
||||||
<value>-1</value> <!-- ADF -->
|
<value>-1</value> <!-- ADF -->
|
||||||
|
@ -2724,14 +2717,7 @@
|
||||||
<repeatable type="bool">false</repeatable>
|
<repeatable type="bool">false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-cycle</command>
|
<command>property-cycle</command>
|
||||||
<property>instrumentation/efis/input/vor-adf-1</property>
|
<property>instrumentation/efis[0]/input/lh-vor-adf</property>
|
||||||
<value>2</value> <!-- ADF -->
|
|
||||||
<value>1</value> <!-- VOR -->
|
|
||||||
<value>0</value> <!-- OFF -->
|
|
||||||
</binding>
|
|
||||||
<binding>
|
|
||||||
<command>property-cycle</command>
|
|
||||||
<property>instrumentation/efis/input/lh-vor-adf</property>
|
|
||||||
<value>-1</value> <!-- ADF -->
|
<value>-1</value> <!-- ADF -->
|
||||||
<value>1</value> <!-- VOR -->
|
<value>1</value> <!-- VOR -->
|
||||||
<value>0</value> <!-- OFF -->
|
<value>0</value> <!-- OFF -->
|
||||||
|
@ -2741,7 +2727,7 @@
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>vor-adf-1</object-name>
|
<object-name>vor-adf-1</object-name>
|
||||||
<property>instrumentation/efis/input/lh-vor-adf</property>
|
<property>instrumentation/efis[0]/input/lh-vor-adf</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>-1</ind><dep>-25</dep></entry>
|
<entry><ind>-1</ind><dep>-25</dep></entry>
|
||||||
<entry><ind> 0</ind><dep> 0</dep></entry>
|
<entry><ind> 0</ind><dep> 0</dep></entry>
|
||||||
|
@ -2758,13 +2744,6 @@
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
<button>0</button>
|
||||||
<repeatable type="bool">false</repeatable>
|
<repeatable type="bool">false</repeatable>
|
||||||
<binding>
|
|
||||||
<command>property-cycle</command>
|
|
||||||
<property>instrumentation/efis[1]/input/vor-adf-1</property>
|
|
||||||
<value>0</value> <!-- OFF -->
|
|
||||||
<value>1</value> <!-- VOR -->
|
|
||||||
<value>2</value> <!-- ADF -->
|
|
||||||
</binding>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-cycle</command>
|
<command>property-cycle</command>
|
||||||
<property>instrumentation/efis[1]/input/lh-vor-adf</property>
|
<property>instrumentation/efis[1]/input/lh-vor-adf</property>
|
||||||
|
@ -2776,13 +2755,6 @@
|
||||||
<action>
|
<action>
|
||||||
<button>1</button>
|
<button>1</button>
|
||||||
<repeatable type="bool">false</repeatable>
|
<repeatable type="bool">false</repeatable>
|
||||||
<binding>
|
|
||||||
<command>property-cycle</command>
|
|
||||||
<property>instrumentation/efis[1]/input/vor-adf-1</property>
|
|
||||||
<value>2</value> <!-- ADF -->
|
|
||||||
<value>1</value> <!-- VOR -->
|
|
||||||
<value>0</value> <!-- OFF -->
|
|
||||||
</binding>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-cycle</command>
|
<command>property-cycle</command>
|
||||||
<property>instrumentation/efis[1]/input/lh-vor-adf</property>
|
<property>instrumentation/efis[1]/input/lh-vor-adf</property>
|
||||||
|
@ -2814,14 +2786,7 @@
|
||||||
<repeatable type="bool">false</repeatable>
|
<repeatable type="bool">false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-cycle</command>
|
<command>property-cycle</command>
|
||||||
<property>instrumentation/efis/input/vor-adf-2</property>
|
<property>instrumentation/efis[0]/input/rh-vor-adf</property>
|
||||||
<value>0</value> <!-- OFF -->
|
|
||||||
<value>1</value> <!-- VOR -->
|
|
||||||
<value>2</value> <!-- ADF -->
|
|
||||||
</binding>
|
|
||||||
<binding>
|
|
||||||
<command>property-cycle</command>
|
|
||||||
<property>instrumentation/efis/input/rh-vor-adf</property>
|
|
||||||
<value>0</value> <!-- OFF -->
|
<value>0</value> <!-- OFF -->
|
||||||
<value>1</value> <!-- VOR -->
|
<value>1</value> <!-- VOR -->
|
||||||
<value>-1</value> <!-- ADF -->
|
<value>-1</value> <!-- ADF -->
|
||||||
|
@ -2832,14 +2797,7 @@
|
||||||
<repeatable type="bool">false</repeatable>
|
<repeatable type="bool">false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-cycle</command>
|
<command>property-cycle</command>
|
||||||
<property>instrumentation/efis/input/vor-adf-2</property>
|
<property>instrumentation/efis[0]/input/rh-vor-adf</property>
|
||||||
<value>2</value> <!-- ADF -->
|
|
||||||
<value>1</value> <!-- VOR -->
|
|
||||||
<value>0</value> <!-- OFF -->
|
|
||||||
</binding>
|
|
||||||
<binding>
|
|
||||||
<command>property-cycle</command>
|
|
||||||
<property>instrumentation/efis/input/rh-vor-adf</property>
|
|
||||||
<value>-1</value> <!-- ADF -->
|
<value>-1</value> <!-- ADF -->
|
||||||
<value>1</value> <!-- VOR -->
|
<value>1</value> <!-- VOR -->
|
||||||
<value>0</value> <!-- OFF -->
|
<value>0</value> <!-- OFF -->
|
||||||
|
@ -2849,7 +2807,7 @@
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>vor-adf-2</object-name>
|
<object-name>vor-adf-2</object-name>
|
||||||
<property>instrumentation/efis/input/rh-vor-adf</property>
|
<property>instrumentation/efis[0]/input/rh-vor-adf</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>-1</ind><dep>-25</dep></entry>
|
<entry><ind>-1</ind><dep>-25</dep></entry>
|
||||||
<entry><ind> 0</ind><dep> 0</dep></entry>
|
<entry><ind> 0</ind><dep> 0</dep></entry>
|
||||||
|
@ -2866,13 +2824,6 @@
|
||||||
<action>
|
<action>
|
||||||
<button>0</button>
|
<button>0</button>
|
||||||
<repeatable type="bool">false</repeatable>
|
<repeatable type="bool">false</repeatable>
|
||||||
<binding>
|
|
||||||
<command>property-cycle</command>
|
|
||||||
<property>instrumentation/efis[1]/input/vor-adf-2</property>
|
|
||||||
<value>0</value> <!-- OFF -->
|
|
||||||
<value>1</value> <!-- VOR -->
|
|
||||||
<value>2</value> <!-- ADF -->
|
|
||||||
</binding>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-cycle</command>
|
<command>property-cycle</command>
|
||||||
<property>instrumentation/efis[1]/input/rh-vor-adf</property>
|
<property>instrumentation/efis[1]/input/rh-vor-adf</property>
|
||||||
|
@ -2884,13 +2835,6 @@
|
||||||
<action>
|
<action>
|
||||||
<button>1</button>
|
<button>1</button>
|
||||||
<repeatable type="bool">false</repeatable>
|
<repeatable type="bool">false</repeatable>
|
||||||
<binding>
|
|
||||||
<command>property-cycle</command>
|
|
||||||
<property>instrumentation/efis[1]/input/vor-adf-2</property>
|
|
||||||
<value>2</value> <!-- ADF -->
|
|
||||||
<value>1</value> <!-- VOR -->
|
|
||||||
<value>0</value> <!-- OFF -->
|
|
||||||
</binding>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-cycle</command>
|
<command>property-cycle</command>
|
||||||
<property>instrumentation/efis[1]/input/rh-vor-adf</property>
|
<property>instrumentation/efis[1]/input/rh-vor-adf</property>
|
||||||
|
|
|
@ -22,28 +22,11 @@
|
||||||
<object-name>ddrmi_vor_adf_flag_1</object-name>
|
<object-name>ddrmi_vor_adf_flag_1</object-name>
|
||||||
<object-name>ddrmi_vor_adf_flag_2</object-name>
|
<object-name>ddrmi_vor_adf_flag_2</object-name>
|
||||||
<object-name>ddrmi_hdg</object-name>
|
<object-name>ddrmi_hdg</object-name>
|
||||||
<condition>
|
|
||||||
<or>
|
|
||||||
<greater-than-equals>
|
|
||||||
<property>systems/electrical/bus/dcbat</property>
|
|
||||||
<value>25</value>
|
|
||||||
</greater-than-equals>
|
|
||||||
<greater-than-equals>
|
|
||||||
<property>systems/electrical/bus/dc1</property>
|
|
||||||
<value>25</value>
|
|
||||||
</greater-than-equals>
|
|
||||||
<greater-than-equals>
|
|
||||||
<property>systems/electrical/bus/dc2</property>
|
|
||||||
<value>25</value>
|
|
||||||
</greater-than-equals>
|
|
||||||
</or>
|
|
||||||
</condition>
|
|
||||||
<emission>
|
<emission>
|
||||||
<red>0.50</red>
|
<red>0.50</red>
|
||||||
<green>0.35</green>
|
<green>0.35</green>
|
||||||
<blue>0.2</blue>
|
<blue>0.2</blue>
|
||||||
<!--factor-prop>controls/lighting/instruments-norm</factor-prop-->
|
<factor-prop>controls/lighting/main-panel-norm</factor-prop>
|
||||||
<!--factor-prop>controls/lighting/main-panel-norm</factor-prop-->
|
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
@ -52,122 +35,109 @@
|
||||||
<name>Heading rotate</name>
|
<name>Heading rotate</name>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>ddrmi_hdg</object-name>
|
<object-name>ddrmi_hdg</object-name>
|
||||||
<property>orientation/heading-magnetic-deg</property>
|
<property>instrumentation/ddrmi/heading</property>
|
||||||
<axis>
|
<axis>
|
||||||
<object-name>ddrmi_hdg.axis</object-name>
|
<object-name>ddrmi_hdg.axis</object-name>
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
|
||||||
<name>VOR1 select</name>
|
|
||||||
<type>select</type>
|
|
||||||
<object-name>ddrmi_pointer_1_vor</object-name>
|
|
||||||
<condition>
|
|
||||||
<equals>
|
|
||||||
<property>instrumentation/efis/input/vor-adf-1</property>
|
|
||||||
<value>0</value>
|
|
||||||
</equals>
|
|
||||||
</condition>
|
|
||||||
</animation>
|
|
||||||
<animation>
|
<animation>
|
||||||
<name>VOR1 rotate</name>
|
<name>VOR1 rotate</name>
|
||||||
<object-name>ddrmi_pointer_1_vor</object-name>
|
<object-name>ddrmi_pointer_1</object-name>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<property>instrumentation/nav[0]/heading-deg</property>
|
<property>instrumentation/ddrmi/needle-1</property>
|
||||||
<axis>
|
<axis>
|
||||||
<object-name>ddrmi_hdg.axis</object-name>
|
<object-name>ddrmi_hdg.axis</object-name>
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
|
||||||
<name>ADF1 select</name>
|
|
||||||
<type>select</type>
|
|
||||||
<object-name>ddrmi_pointer_1_adf</object-name>
|
|
||||||
<condition>
|
|
||||||
<greater-than-equals>
|
|
||||||
<property>instrumentation/efis/input/vor-adf-1</property>
|
|
||||||
<value>1</value>
|
|
||||||
</greater-than-equals>
|
|
||||||
</condition>
|
|
||||||
</animation>
|
|
||||||
<animation>
|
|
||||||
<name>ADF1 rotate</name>
|
|
||||||
<object-name>ddrmi_pointer_1_adf</object-name>
|
|
||||||
<type>rotate</type>
|
|
||||||
<property>instrumentation/adf[0]/indicated-bearing-deg</property>
|
|
||||||
<axis>
|
|
||||||
<object-name>ddrmi_hdg.axis</object-name>
|
|
||||||
</axis>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<name>VOR2 select</name>
|
|
||||||
<type>select</type>
|
|
||||||
<object-name>ddrmi_pointer_2_vor</object-name>
|
|
||||||
<condition>
|
|
||||||
<equals>
|
|
||||||
<property>instrumentation/efis/input/vor-adf-2</property>
|
|
||||||
<value>0</value>
|
|
||||||
</equals>
|
|
||||||
</condition>
|
|
||||||
</animation>
|
|
||||||
<animation>
|
<animation>
|
||||||
<name>VOR2 rotate</name>
|
<name>VOR2 rotate</name>
|
||||||
<object-name>ddrmi_pointer_2_vor</object-name>
|
<object-name>ddrmi_pointer_2</object-name>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<property>instrumentation/nav[1]/heading-deg</property>
|
<property>instrumentation/ddrmi/needle-2</property>
|
||||||
<axis>
|
|
||||||
<object-name>ddrmi_hdg.axis</object-name>
|
|
||||||
</axis>
|
|
||||||
</animation>
|
|
||||||
|
|
||||||
<animation>
|
|
||||||
<name>ADF2 select</name>
|
|
||||||
<type>select</type>
|
|
||||||
<object-name>ddrmi_pointer_2_adf</object-name>
|
|
||||||
<condition>
|
|
||||||
<greater-than-equals>
|
|
||||||
<property>instrumentation/efis/input/vor-adf-2</property>
|
|
||||||
<value>1</value>
|
|
||||||
</greater-than-equals>
|
|
||||||
</condition>
|
|
||||||
</animation>
|
|
||||||
<animation>
|
|
||||||
<name>ADF2 rotate</name>
|
|
||||||
<object-name>ddrmi_pointer_2_adf</object-name>
|
|
||||||
<type>rotate</type>
|
|
||||||
<property>instrumentation/adf[1]/indicated-bearing-deg</property>
|
|
||||||
<axis>
|
<axis>
|
||||||
<object-name>ddrmi_hdg.axis</object-name>
|
<object-name>ddrmi_hdg.axis</object-name>
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- Knobs -->
|
<!-- Knobs -->
|
||||||
<!-- Todo: implementation the "pick" currently link from the efis switches -->
|
<animation>
|
||||||
|
<type>pick</type>
|
||||||
|
<object-name>ddrmi_vor_adf_select_1</object-name>
|
||||||
|
<action>
|
||||||
|
<button>0</button>
|
||||||
|
<repeatable type="bool">false</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/ddrmi/vor-adf-1</property>
|
||||||
|
<value>0</value> <!-- OFF -->
|
||||||
|
<value>1</value> <!-- VOR -->
|
||||||
|
<value>-1</value> <!-- ADF -->
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<button>1</button>
|
||||||
|
<repeatable type="bool">false</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/ddrmi/vor-adf-1</property>
|
||||||
|
<value>-1</value> <!-- ADF -->
|
||||||
|
<value>1</value> <!-- VOR -->
|
||||||
|
<value>0</value> <!-- OFF -->
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
<name>Knob 1 rotate</name>
|
<name>Knob 1 rotate</name>
|
||||||
<object-name>ddrmi_vor_adf_select_1</object-name>
|
<object-name>ddrmi_vor_adf_select_1</object-name>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<property>instrumentation/efis/input/vor-adf-1</property>
|
<property>instrumentation/ddrmi/vor-adf-1</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>0</ind><dep>0</dep></entry>
|
<entry><ind>-1</ind><dep>90</dep></entry>
|
||||||
<entry><ind>2</ind><dep>45</dep></entry>
|
<entry><ind> 0</ind><dep>45</dep></entry>
|
||||||
<entry><ind>1</ind><dep>90</dep></entry>
|
<entry><ind> 1</ind><dep> 0</dep></entry>
|
||||||
</interpolation>
|
</interpolation>
|
||||||
<axis>
|
<axis>
|
||||||
<object-name>ddrmi_vor_adf_select_1.axis</object-name>
|
<object-name>ddrmi_vor_adf_select_1.axis</object-name>
|
||||||
</axis>
|
</axis>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<type>pick</type>
|
||||||
|
<object-name>ddrmi_vor_adf_select_2</object-name>
|
||||||
|
<action>
|
||||||
|
<button>0</button>
|
||||||
|
<repeatable type="bool">false</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/ddrmi/vor-adf-2</property>
|
||||||
|
<value>0</value> <!-- OFF -->
|
||||||
|
<value>1</value> <!-- VOR -->
|
||||||
|
<value>-1</value> <!-- ADF -->
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<button>1</button>
|
||||||
|
<repeatable type="bool">false</repeatable>
|
||||||
|
<binding>
|
||||||
|
<command>property-cycle</command>
|
||||||
|
<property>instrumentation/ddrmi/vor-adf-2</property>
|
||||||
|
<value>-1</value> <!-- ADF -->
|
||||||
|
<value>1</value> <!-- VOR -->
|
||||||
|
<value>0</value> <!-- OFF -->
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
<name>Knob 2 rotate</name>
|
<name>Knob 2 rotate</name>
|
||||||
<object-name>ddrmi_vor_adf_select_2</object-name>
|
<object-name>ddrmi_vor_adf_select_2</object-name>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<property>instrumentation/efis/input/vor-adf-2</property>
|
<property>instrumentation/ddrmi/vor-adf-2</property>
|
||||||
<interpolation>
|
<interpolation>
|
||||||
<entry><ind>0</ind><dep>0</dep></entry>
|
<entry><ind>-1</ind><dep>-90</dep></entry>
|
||||||
<entry><ind>2</ind><dep>-45</dep></entry>
|
<entry><ind> 0</ind><dep>-45</dep></entry>
|
||||||
<entry><ind>1</ind><dep>-90</dep></entry>
|
<entry><ind> 1</ind><dep> 0</dep></entry>
|
||||||
</interpolation>
|
</interpolation>
|
||||||
<axis>
|
<axis>
|
||||||
<object-name>ddrmi_vor_adf_select_2.axis</object-name>
|
<object-name>ddrmi_vor_adf_select_2.axis</object-name>
|
||||||
|
@ -175,66 +145,33 @@
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- Flags -->
|
<!-- Flags -->
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<name>Flag 1 visibility</name>
|
<name>Flag 1 rotate</name>
|
||||||
<type>select</type>
|
|
||||||
<object-name>ddrmi_vor_adf_flag_1</object-name>
|
<object-name>ddrmi_vor_adf_flag_1</object-name>
|
||||||
<condition>
|
<type>rotate</type>
|
||||||
<or>
|
<property>instrumentation/ddrmi/flag-1</property>
|
||||||
<!-- Shown if: power supply fails -->
|
<interpolation>
|
||||||
<and>
|
<entry><ind>0</ind><dep>45</dep></entry>
|
||||||
<less-than>
|
<entry><ind>1</ind><dep> 0</dep></entry>
|
||||||
<property>systems/electrical/bus/dcbat</property>
|
</interpolation>
|
||||||
<value>25</value>
|
<axis>
|
||||||
</less-than>
|
<object-name>ddrmi_vor_adf_flag_1.axis</object-name>
|
||||||
<less-than>
|
</axis>
|
||||||
<property>systems/electrical/bus/dc1</property>
|
|
||||||
<value>25</value>
|
|
||||||
</less-than>
|
|
||||||
<less-than>
|
|
||||||
<property>systems/electrical/bus/dc2</property>
|
|
||||||
<value>25</value>
|
|
||||||
</less-than>
|
|
||||||
</and>
|
|
||||||
<!-- not VOR and not ADF selected -->
|
|
||||||
<equals>
|
|
||||||
<property>instrumentation/efis/input/vor-adf-1</property>
|
|
||||||
<value>2</value>
|
|
||||||
</equals>
|
|
||||||
<!-- Todo: Shown if: VOR or ADF receiver fails, RMI internal failure, ADIRS heading signal not valid -->
|
|
||||||
</or>
|
|
||||||
</condition>
|
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<animation>
|
<animation>
|
||||||
<name>Flag 2 visibility</name>
|
<name>Flag 2 rotate</name>
|
||||||
<type>select</type>
|
|
||||||
<object-name>ddrmi_vor_adf_flag_2</object-name>
|
<object-name>ddrmi_vor_adf_flag_2</object-name>
|
||||||
<condition>
|
<type>rotate</type>
|
||||||
<or>
|
<property>instrumentation/ddrmi/flag-2</property>
|
||||||
<!-- Shown if: power supply fails -->
|
<interpolation>
|
||||||
<and>
|
<entry><ind>0</ind><dep>-45</dep></entry>
|
||||||
<less-than>
|
<entry><ind>1</ind><dep> 0</dep></entry>
|
||||||
<property>systems/electrical/bus/dcbat</property>
|
</interpolation>
|
||||||
<value>25</value>
|
<axis>
|
||||||
</less-than>
|
<object-name>ddrmi_vor_adf_flag_2.axis</object-name>
|
||||||
<less-than>
|
</axis>
|
||||||
<property>systems/electrical/bus/dc1</property>
|
|
||||||
<value>25</value>
|
|
||||||
</less-than>
|
|
||||||
<less-than>
|
|
||||||
<property>systems/electrical/bus/dc2</property>
|
|
||||||
<value>25</value>
|
|
||||||
</less-than>
|
|
||||||
</and>
|
|
||||||
<!-- not VOR and not ADF selected -->
|
|
||||||
<equals>
|
|
||||||
<property>instrumentation/efis/input/vor-adf-2</property>
|
|
||||||
<value>2</value>
|
|
||||||
</equals>
|
|
||||||
</or>
|
|
||||||
</condition>
|
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -890,4 +890,308 @@
|
||||||
</config>
|
</config>
|
||||||
</pi-simple-controller>
|
</pi-simple-controller>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<name>DDRMI: Heading</name>
|
||||||
|
<type>gain</type>
|
||||||
|
<gain>1.0</gain>
|
||||||
|
<enable>
|
||||||
|
<condition>
|
||||||
|
<or>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dcbat</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc1</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc2</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
</or>
|
||||||
|
</condition>
|
||||||
|
</enable>
|
||||||
|
<input>/orientation/heading-magnetic-deg</input>
|
||||||
|
<output>/instrumentation/ddrmi/heading</output>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<name>DDRMI: VOR 1 Error</name>
|
||||||
|
<type>gain</type>
|
||||||
|
<gain>1.0</gain>
|
||||||
|
<input>
|
||||||
|
<property>/instrumentation/nav[2]/heading-deg</property>
|
||||||
|
<offset>
|
||||||
|
<property>/orientation/heading-deg</property>
|
||||||
|
<scale>-1.0</scale>
|
||||||
|
</offset>
|
||||||
|
</input>
|
||||||
|
<output>/instrumentation/ddrmi/vor-1-error</output>
|
||||||
|
<period>
|
||||||
|
<min>-180</min>
|
||||||
|
<max>180</max>
|
||||||
|
</period>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<name>DDRMI: Needle 1</name>
|
||||||
|
<debug>false</debug>
|
||||||
|
<type>gain</type>
|
||||||
|
<gain>1.0</gain>
|
||||||
|
<input>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<or>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dcbat</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc1</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc2</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
</or>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/ddrmi/vor-adf-1</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/nav[2]/in-range</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<property>/instrumentation/ddrmi/vor-1-error</property>
|
||||||
|
<scale>-1.0</scale>
|
||||||
|
</input>
|
||||||
|
<input>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<or>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dcbat</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc1</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc2</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
</or>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/ddrmi/vor-adf-1</property>
|
||||||
|
<value>-1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/adf[0]/in-range</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<property>/instrumentation/adf[0]/indicated-bearing-deg</property>
|
||||||
|
<scale>-1.0</scale>
|
||||||
|
</input>
|
||||||
|
<input>-90</input>
|
||||||
|
<output>/instrumentation/ddrmi/needle-1</output>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<name>DDRMI: VOR 2 Error</name>
|
||||||
|
<type>gain</type>
|
||||||
|
<gain>1.0</gain>
|
||||||
|
<input>
|
||||||
|
<property>/instrumentation/nav[3]/heading-deg</property>
|
||||||
|
<offset>
|
||||||
|
<property>/orientation/heading-deg</property>
|
||||||
|
<scale>-1.0</scale>
|
||||||
|
</offset>
|
||||||
|
</input>
|
||||||
|
<output>/instrumentation/ddrmi/vor-2-error</output>
|
||||||
|
<period>
|
||||||
|
<min>-180</min>
|
||||||
|
<max>180</max>
|
||||||
|
</period>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<name>DDRMI: Needle 2</name>
|
||||||
|
<debug>false</debug>
|
||||||
|
<type>gain</type>
|
||||||
|
<gain>1.0</gain>
|
||||||
|
<input>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<or>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dcbat</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc1</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc2</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
</or>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/ddrmi/vor-adf-2</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/nav[3]/in-range</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<property>/instrumentation/ddrmi/vor-2-error</property>
|
||||||
|
<scale>-1.0</scale>
|
||||||
|
</input>
|
||||||
|
<input>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<or>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dcbat</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc1</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc2</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
</or>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/ddrmi/vor-adf-2</property>
|
||||||
|
<value>-1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/adf[1]/in-range</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<property>/instrumentation/adf[1]/indicated-bearing-deg</property>
|
||||||
|
<scale>-1.0</scale>
|
||||||
|
</input>
|
||||||
|
<input>-90</input>
|
||||||
|
<output>/instrumentation/ddrmi/needle-2</output>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<name>DDRMI: FLAG 1</name>
|
||||||
|
<debug>false</debug>
|
||||||
|
<type>exponential</type>
|
||||||
|
<input>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<or>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dcbat</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc1</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc2</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
</or>
|
||||||
|
<or>
|
||||||
|
<and>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/ddrmi/vor-adf-1</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/nav[2]/in-range</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
<and>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/ddrmi/vor-adf-1</property>
|
||||||
|
<value>-1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/adf[0]/in-range</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</or>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<value>0</value>
|
||||||
|
</input>
|
||||||
|
<input>1</input>
|
||||||
|
<output>/instrumentation/ddrmi/flag-1</output>
|
||||||
|
<filter-time>0.64</filter-time>
|
||||||
|
</filter>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<name>DDRMI: FLAG 2</name>
|
||||||
|
<debug>false</debug>
|
||||||
|
<type>exponential</type>
|
||||||
|
<input>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<or>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dcbat</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc1</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>/systems/electrical/bus/dc2</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
</or>
|
||||||
|
<or>
|
||||||
|
<and>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/ddrmi/vor-adf-2</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/nav[3]/in-range</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
<and>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/ddrmi/vor-adf-2</property>
|
||||||
|
<value>-1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>/instrumentation/adf[1]/in-range</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</or>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<value>0</value>
|
||||||
|
</input>
|
||||||
|
<input>1</input>
|
||||||
|
<output>/instrumentation/ddrmi/flag-2</output>
|
||||||
|
<filter-time>0.64</filter-time>
|
||||||
|
</filter>
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
4675
|
4676
|
Reference in a new issue