1
0
Fork 0

Updated my 3d kr-87adf reciever to use Curt's kr-87 code instead of instruments/adf ....

This commit is contained in:
sydadams 2007-12-22 23:31:45 +00:00
parent 5832bde60e
commit d642797371
7 changed files with 1370 additions and 1017 deletions

View file

@ -0,0 +1,49 @@
<?xml version="1.0"?>
<!-- KI 227-00
ADF Heading Indicator -manually rotated compass card
Syd Adams
-->
<PropertyList>
<path>ki227.ac</path>
<animation>
<type>material</type>
<object-name>KI227card</object-name>
<object-name>KI227.needle</object-name>
<object-name>KI227.knob</object-name>
<object-name>KI227.face</object-name>
<emission>
<red>0.028</red>
<green>0.014</green>
<blue>0.007</blue>
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227card</object-name>
<property>/instrumentation/kr-87/inputs/rotation-deg</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227.needle</object-name>
<property>/instrumentation/kr-87/outputs/needle-deg</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -0,0 +1,49 @@
<?xml version="1.0"?>
<!-- KI 227-01
ADF Heading Indicator -HSI driven compass card
Syd Adams
-->
<PropertyList>
<path>ki227.ac</path>
<animation>
<type>material</type>
<object-name>KI227card</object-name>
<object-name>KI227.needle</object-name>
<object-name>KI227.knob</object-name>
<object-name>KI227.face</object-name>
<emission>
<red>0.028</red>
<green>0.014</green>
<blue>0.007</blue>
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227card</object-name>
<property>instrumentation/heading-indicator/indicated-heading-deg</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227.needle</object-name>
<property>/instrumentation/kr-87/outputs/needle-deg</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -1,49 +0,0 @@
<?xml version="1.0"?>
<!-- KI 227-01
Bendix/King Slaved Magnetic Heading Indicator
Syd Adams
-->
<PropertyList>
<path>ki227.ac</path>
<animation>
<type>material</type>
<object-name>KI227card</object-name>
<object-name>KI227.needle</object-name>
<object-name>KI227.knob</object-name>
<object-name>KI227.face</object-name>
<emission>
<red>0.8</red>
<green>0.4</green>
<blue>0.2</blue>
<factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227card</object-name>
<property>/instrumentation/adf/rotation-deg[0]</property>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>KI227.needle</object-name>
<property>/instrumentation/adf/indicated-bearing-deg</property>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>

View file

@ -10,7 +10,7 @@ KR 87 ADF radio hotspots
<w-base>160</w-base>
<h-base>36</h-base>
<w>160</w>
<h>36</h>
<h>34</h>
<actions>
@ -20,22 +20,22 @@ KR 87 ADF radio hotspots
<name>bezel outline</name>
<button>0</button>
<x>-80</x>
<y>-18</y>
<y>-17</y>
<w>160</w>
<h>36</h>
<h>34</h>
</action>
-->
<action>
<name>adf frequency decrease small</name>
<button>0</button>
<x>54</x>
<x>50</x>
<y>-10</y>
<w>12</w>
<w>13</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/adf/frequencies/selected-khz</property>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<step>-1</step>
<min>100</min>
<max>1300</max>
@ -47,13 +47,13 @@ KR 87 ADF radio hotspots
<action>
<name>adf frequency decrease large</name>
<button>1</button>
<x>54</x>
<x>50</x>
<y>-10</y>
<w>12</w>
<w>13</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/adf/frequencies/selected-khz</property>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<step>-100</step>
<min>100</min>
<max>1300</max>
@ -65,13 +65,13 @@ KR 87 ADF radio hotspots
<action>
<name>adf frequency increase small</name>
<button>0</button>
<x>66</x>
<x>63</x>
<y>-10</y>
<w>12</w>
<w>13</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/adf/frequencies/selected-khz</property>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<step>1</step>
<min>100</min>
<max>1300</max>
@ -83,13 +83,13 @@ KR 87 ADF radio hotspots
<action>
<name>adf frequency increase large</name>
<button>1</button>
<x>66</x>
<x>63</x>
<y>-10</y>
<w>12</w>
<w>13</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>instrumentation/adf/frequencies/selected-khz</property>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<step>100</step>
<min>100</min>
<max>1300</max>
@ -97,68 +97,62 @@ KR 87 ADF radio hotspots
<wrap>true</wrap>
</binding>
</action>
<action>
<name>adf volume increase</name>
<button>0</button>
<x>40</x>
<y>-12</y>
<w>8</w>
<h>12</h>
<condition>
<equals>
<property>instrumentation/adf/serviceable</property>
<value>true</value>
</equals>
</condition>
<binding>
<command>property-adjust</command>
<property>instrumentation/adf/volume-norm</property>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>adf power on</name>
<button>0</button>
<x>40</x>
<y>-12</y>
<w>8</w>
<h>12</h>
<condition>
<equals>
<property>instrumentation/adf/serviceable</property>
<value>false</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>instrumentation/adf/serviceable</property>
<value>true</value>
</binding>
</action>
<action>
<name>adf volume increase</name>
<button>0</button>
<x>38</x>
<y>-11</y>
<w>7</w>
<h>10</h>
<condition>
<property>instrumentation/kr-87/inputs/power-btn</property>
</condition>
<binding>
<command>property-adjust</command>
<property>instrumentation/kr-87/inputs/volume</property>
<step>0.05</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>adf power on</name>
<button>0</button>
<x>38</x>
<y>-11</y>
<w>7</w>
<h>10</h>
<condition>
<not>
<property>instrumentation/kr-87/inputs/power-btn</property>
</not>
</condition>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/power-btn</property>
<value>true</value>
</binding>
</action>
<action>
<name>adf volume decrease</name>
<button>0</button>
<x>32</x>
<y>-12</y>
<w>8</w>
<h>12</h>
<x>31</x>
<y>-11</y>
<w>7</w>
<h>10</h>
<condition>
<greater-than>
<property>instrumentation/adf/volume-norm</property>
<property>instrumentation/kr-87/inputs/volume</property>
<value>0.0</value>
</greater-than>
</condition>
<binding>
<command>property-adjust</command>
<property>instrumentation/adf/volume-norm</property>
<property>instrumentation/kr-87/inputs/volume</property>
<step>-0.05</step>
<min>0.0</min>
<max>1.0</max>
@ -166,39 +160,115 @@ KR 87 ADF radio hotspots
</binding>
</action>
<action>
<name>adf power off</name>
<button>0</button>
<x>32</x>
<y>-12</y>
<w>8</w>
<h>12</h>
<condition>
<equals>
<property>instrumentation/adf/volume-norm</property>
<value>0</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>instrumentation/adf/serviceable</property>
<value>false</value>
</binding>
</action>
<action>
<name>swap adf frequencies</name>
<button>0</button>
<x>-20</x>
<y>-12</y>
<w>12</w>
<h>6</h>
<binding>
<command>property-swap</command>
<property>instrumentation/adf/frequencies/selected-khz</property>
<property>instrumentation/adf/frequencies/standby-khz</property>
</binding>
</action>
<action>
<name>adf power off</name>
<button>0</button>
<x>31</x>
<y>-11</y>
<w>7</w>
<h>10</h>
<condition>
<equals>
<property>instrumentation/kr-87/inputs/volume</property>
<value>0</value>
</equals>
</condition>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/power-btn</property>
<value>false</value>
</binding>
</action>
<action>
<name>adf button</name>
<button>0</button>
<x>-52</x>
<y>-13</y>
<w>10</w>
<h>5</h>
<binding>
<command>property-toggle</command>
<property>instrumentation/kr-87/inputs/adf-btn</property>
</binding>
</action>
<!-- Button actions -->
<action>
<name>bfo button</name>
<button>0</button>
<x>-37</x>
<y>-13</y>
<w>10</w>
<h>5</h>
<binding>
<command>property-toggle</command>
<property>instrumentation/kr-87/inputs/bfo-btn</property>
</binding>
</action>
<action>
<name>frq button</name>
<button>0</button>
<x>-22</x>
<y>-13</y>
<w>10</w>
<h>5</h>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/frq-btn</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/frq-btn</property>
<value>0</value>
</binding>
</mod-up>
</action>
<action>
<name>flt button</name>
<button>0</button>
<x>-6</x>
<y>-13</y>
<w>10</w>
<h>5</h>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/flt-et-btn</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/flt-et-btn</property>
<value>0</value>
</binding>
</mod-up>
</action>
<action>
<name>set button</name>
<button>0</button>
<x>9</x>
<y>-13</y>
<w>10</w>
<h>5</h>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/set-rst-btn</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>instrumentation/kr-87/inputs/set-rst-btn</property>
<value>0</value>
</binding>
</mod-up>
</action>
</actions>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -6,201 +6,303 @@ Syd Adams
-->
<PropertyList>
<path>kr87.ac</path>
<animation>
<name>adf-leds</name>
<object-name>annun.001</object-name>
<object-name>annun.002</object-name>
<object-name>freq.002</object-name>
<object-name>freq.003</object-name>
<object-name>freq.004</object-name>
<object-name>stby.001</object-name>
<object-name>stby.002</object-name>
<object-name>stby.003</object-name>
<object-name>stby.004</object-name>
<object-name>KR87.btn</object-name>
</animation>
<animation>
<type>select</type>
<object-name>adf-leds</object-name>
<condition>
<and>
<property>instrumentation/adf/serviceable</property>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<path>kr87.ac</path>
<animation>
<type>select</type>
<object-name>freq.001</object-name>
<condition>
<and>
<equals>
<property>instrumentation/adf/serviceable</property>
<value>true</value>
</equals>
<greater-than>
<property>instrumentation/adf/frequencies/selected-khz</property>
<value>999</value>
</greater-than>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>stby.001</object-name>
<condition>
<and>
<equals>
<property>instrumentation/adf/serviceable</property>
<value>true</value>
</equals>
<greater-than>
<property>instrumentation/adf/frequencies/standby-khz</property>
<value>999</value>
</greater-than>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>material</type>
<object-name>KR87.adf</object-name>
<object-name>KR87.bfo</object-name>
<object-name>KR87.frq</object-name>
<object-name>KR87.flt</object-name>
<object-name>KR87.set</object-name>
<object-name>KR87.volume</object-name>
<emission>
<red>0.028</red>
<green>0.014</green>
<blue>0.007</blue>
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
</emission>
</animation>
<animation>
<type>rotate</type>
<object-name>KR87.volume</object-name>
<property>instrumentation/adf/volume-norm</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1.0</ind><dep>300</dep></entry>
</interpolation>
<center>
<x-m>0.00</x-m>
<y-m>0.038</y-m>
<z-m>-0.006</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>in-use-leds</name>
<object-name>freq.001</object-name>
<object-name>freq.002</object-name>
<object-name>freq.003</object-name>
<object-name>freq.004</object-name>
</animation>
<animation>
<name>standby-leds</name>
<object-name>stby.001</object-name>
<object-name>stby.002</object-name>
<object-name>stby.003</object-name>
<object-name>stby.004</object-name>
</animation>
<animation>
<type>select</type>
<object-name>in-use-leds</object-name>
<object-name>standby-leds</object-name>
<condition>
<and>
<property>instrumentation/kr-87/inputs/power-btn</property>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>freq.001</object-name>
<condition>
<and>
<property>instrumentation/kr-87/inputs/power-btn</property>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
<greater-than>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<value>999</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>stby.001</object-name>
<condition>
<and>
<property>instrumentation/kr-87/inputs/power-btn</property>
<or>
<greater-than>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<value>999</value>
</greater-than>
<equals>
<property>instrumentation/kr-87/modes/stby</property>
<value>1</value>
</equals>
</or>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>stby</object-name>
<condition>
<and>
<property>instrumentation/kr-87/inputs/power-btn</property>
<greater-than>
<property>instrumentation/kr-87/modes/stby</property>
<value>0</value>
</greater-than>
<greater-than>
<property>systems/electrical/outputs/adf</property>
<value>1</value>
</greater-than>
</and>
</condition>
</animation>
<animation>
<type>rotate</type>
<object-name>KR87.volume</object-name>
<property>instrumentation/kr-87/inputs/volume</property>
<interpolation>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1.0</ind><dep>300</dep></entry>
</interpolation>
<center>
<x-m>0.00</x-m>
<y-m>0.038</y-m>
<z-m>-0.006</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>KR87.adf</object-name>
<property>instrumentation/kr-87/annunciators/adf</property>
<factor>0.001</factor>
<center>
<x-m>0.00</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>
<!-- FREQUENCIES -->
<animation>
<type>textranslate</type>
<object-name>freq.001</object-name>
<property>instrumentation/adf/frequencies/selected-khz</property>
<factor>0.0001</factor>
<step>1000</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.001</object-name>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<factor>0.0001</factor>
<step>1000</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.002</object-name>
<property>instrumentation/adf/frequencies/selected-khz</property>
<factor>0.001</factor>
<step>100</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.002</object-name>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<factor>0.001</factor>
<step>100</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.003</object-name>
<property>instrumentation/adf/frequencies/selected-khz</property>
<factor>0.01</factor>
<step>10</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.003</object-name>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<factor>0.01</factor>
<step>10</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.004</object-name>
<property>instrumentation/adf/frequencies/selected-khz</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>freq.004</object-name>
<property>instrumentation/kr-87/outputs/selected-khz</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- Standby -->
<animation>
<type>textranslate</type>
<object-name>stby.001</object-name>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<factor>0.0001</factor>
<step>1000</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.001</object-name>
<property>instrumentation/adf/frequencies/standby-khz</property>
<factor>0.0001</factor>
<step>1000</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.002</object-name>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<factor>0.001</factor>
<step>100</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.002</object-name>
<property>instrumentation/adf/frequencies/standby-khz</property>
<factor>0.001</factor>
<step>100</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.003</object-name>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<factor>0.01</factor>
<step>10</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.003</object-name>
<property>instrumentation/adf/frequencies/standby-khz</property>
<factor>0.01</factor>
<step>10</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>stby.004</object-name>
<property>instrumentation/adf/frequencies/standby-khz</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
</PropertyList>
<animation>
<type>textranslate</type>
<object-name>stby.004</object-name>
<property>instrumentation/kr-87/outputs/standby-khz</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>ant.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/ant</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>adf.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/adf</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>bfo.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/bfo</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>et.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/et</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>flt.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/flt</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>frq.annun</object-name>
<condition>
<property>instrumentation/kr-87/annunciators/frq</property>
</condition>
</animation>
</PropertyList>