VC: New DDRMI device
New DDRMI device
This commit is contained in:
parent
32b20a0e73
commit
f5baacb5c1
6 changed files with 6435 additions and 164 deletions
|
@ -131,6 +131,18 @@
|
||||||
</offsets>
|
</offsets>
|
||||||
</model-->
|
</model-->
|
||||||
|
|
||||||
|
<!-- DDRMI Instrument -->
|
||||||
|
<model>
|
||||||
|
<path>Aircraft/IDG-A32X/Models/Instruments/DDRMI/DDRMI.xml</path>
|
||||||
|
<offsets>
|
||||||
|
<x-m>-0.516286</x-m>
|
||||||
|
<y-m>-0.142488</y-m>
|
||||||
|
<z-m>0.098057</z-m>
|
||||||
|
<heading-deg>90</heading-deg>
|
||||||
|
<roll-deg>73.5</roll-deg>
|
||||||
|
</offsets>
|
||||||
|
</model>
|
||||||
|
|
||||||
<!-- Brakes Pressure Indicator -->
|
<!-- Brakes Pressure Indicator -->
|
||||||
<model>
|
<model>
|
||||||
<path>Aircraft/IDG-A32X/Models/Instruments/Brakes/Brakes.xml</path>
|
<path>Aircraft/IDG-A32X/Models/Instruments/Brakes/Brakes.xml</path>
|
||||||
|
|
File diff suppressed because it is too large
Load diff
240
Models/Instruments/DDRMI/DDRMI.xml
Normal file
240
Models/Instruments/DDRMI/DDRMI.xml
Normal file
|
@ -0,0 +1,240 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
############################################
|
||||||
|
# Copyright (c) Thorsten Herrmann (TH-555) #
|
||||||
|
############################################
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
|
||||||
|
<path>res/DDRMI.ac</path>
|
||||||
|
|
||||||
|
<!-- Lighting -->
|
||||||
|
<animation>
|
||||||
|
<name>DDRMI inside illumination</name>
|
||||||
|
<type>material</type>
|
||||||
|
<object-name>ddrmi_inside</object-name>
|
||||||
|
<object-name>ddrmi_pointer_1_vor</object-name>
|
||||||
|
<object-name>ddrmi_pointer_1_adf</object-name>
|
||||||
|
<object-name>ddrmi_pointer_2_vor</object-name>
|
||||||
|
<object-name>ddrmi_pointer_2_adf</object-name>
|
||||||
|
<object-name>ddrmi_vor_adf_flag_1</object-name>
|
||||||
|
<object-name>ddrmi_vor_adf_flag_2</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>
|
||||||
|
<red>0.50</red>
|
||||||
|
<green>0.35</green>
|
||||||
|
<blue>0.2</blue>
|
||||||
|
<!--factor-prop>controls/lighting/instruments-norm</factor-prop-->
|
||||||
|
<!--factor-prop>controls/lighting/main-panel-norm</factor-prop-->
|
||||||
|
</emission>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<!-- heading and pointer -->
|
||||||
|
<animation>
|
||||||
|
<name>Heading rotate</name>
|
||||||
|
<type>rotate</type>
|
||||||
|
<object-name>ddrmi_hdg</object-name>
|
||||||
|
<property>orientation/heading-magnetic-deg</property>
|
||||||
|
<axis>
|
||||||
|
<object-name>ddrmi_hdg.axis</object-name>
|
||||||
|
</axis>
|
||||||
|
</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>
|
||||||
|
<name>VOR1 rotate</name>
|
||||||
|
<object-name>ddrmi_pointer_1_vor</object-name>
|
||||||
|
<type>rotate</type>
|
||||||
|
<property>instrumentation/nav[0]/heading-deg</property>
|
||||||
|
<axis>
|
||||||
|
<object-name>ddrmi_hdg.axis</object-name>
|
||||||
|
</axis>
|
||||||
|
</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>
|
||||||
|
<name>VOR2 rotate</name>
|
||||||
|
<object-name>ddrmi_pointer_2_vor</object-name>
|
||||||
|
<type>rotate</type>
|
||||||
|
<property>instrumentation/nav[1]/heading-deg</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>
|
||||||
|
<object-name>ddrmi_hdg.axis</object-name>
|
||||||
|
</axis>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<!-- Knobs -->
|
||||||
|
<!-- Todo: implementation the "pick" currently link from the efis switches -->
|
||||||
|
<animation>
|
||||||
|
<name>Knob 1 rotate</name>
|
||||||
|
<object-name>ddrmi_vor_adf_select_1</object-name>
|
||||||
|
<type>rotate</type>
|
||||||
|
<property>instrumentation/efis/input/vor-adf-1</property>
|
||||||
|
<interpolation>
|
||||||
|
<entry><ind>0</ind><dep>0</dep></entry>
|
||||||
|
<entry><ind>2</ind><dep>45</dep></entry>
|
||||||
|
<entry><ind>1</ind><dep>90</dep></entry>
|
||||||
|
</interpolation>
|
||||||
|
<axis>
|
||||||
|
<object-name>ddrmi_vor_adf_select_1.axis</object-name>
|
||||||
|
</axis>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<animation>
|
||||||
|
<name>Knob 2 rotate</name>
|
||||||
|
<object-name>ddrmi_vor_adf_select_2</object-name>
|
||||||
|
<type>rotate</type>
|
||||||
|
<property>instrumentation/efis/input/vor-adf-2</property>
|
||||||
|
<interpolation>
|
||||||
|
<entry><ind>0</ind><dep>0</dep></entry>
|
||||||
|
<entry><ind>2</ind><dep>-45</dep></entry>
|
||||||
|
<entry><ind>1</ind><dep>-90</dep></entry>
|
||||||
|
</interpolation>
|
||||||
|
<axis>
|
||||||
|
<object-name>ddrmi_vor_adf_select_2.axis</object-name>
|
||||||
|
</axis>
|
||||||
|
</animation>
|
||||||
|
|
||||||
|
<!-- Flags -->
|
||||||
|
<animation>
|
||||||
|
<name>Flag 1 visibility</name>
|
||||||
|
<type>select</type>
|
||||||
|
<object-name>ddrmi_vor_adf_flag_1</object-name>
|
||||||
|
<condition>
|
||||||
|
<or>
|
||||||
|
<!-- Shown if: power supply fails -->
|
||||||
|
<and>
|
||||||
|
<less-than>
|
||||||
|
<property>systems/electrical/bus/dcbat</property>
|
||||||
|
<value>25</value>
|
||||||
|
</less-than>
|
||||||
|
<less-than>
|
||||||
|
<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>
|
||||||
|
<name>Flag 2 visibility</name>
|
||||||
|
<type>select</type>
|
||||||
|
<object-name>ddrmi_vor_adf_flag_2</object-name>
|
||||||
|
<condition>
|
||||||
|
<or>
|
||||||
|
<!-- Shown if: power supply fails -->
|
||||||
|
<and>
|
||||||
|
<less-than>
|
||||||
|
<property>systems/electrical/bus/dcbat</property>
|
||||||
|
<value>25</value>
|
||||||
|
</less-than>
|
||||||
|
<less-than>
|
||||||
|
<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>
|
||||||
|
|
||||||
|
</PropertyList>
|
||||||
|
|
6019
Models/Instruments/DDRMI/res/DDRMI.ac
Normal file
6019
Models/Instruments/DDRMI/res/DDRMI.ac
Normal file
File diff suppressed because it is too large
Load diff
BIN
Models/Instruments/DDRMI/res/DDRMI.png
Normal file
BIN
Models/Instruments/DDRMI/res/DDRMI.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 415 KiB |
|
@ -1 +1 @@
|
||||||
4674
|
4675
|
Reference in a new issue