8.33 Spacing. vhf3 with data mode buggy
Signed-off-by: merspieler <merspieler@airmail.cc>
This commit is contained in:
parent
65d42fdf6a
commit
a3227060c6
2 changed files with 283 additions and 47 deletions
|
@ -241,6 +241,11 @@
|
||||||
|
|
||||||
<!-- Knob -->
|
<!-- Knob -->
|
||||||
<!-- TODO add bindings for VOR, LS and ADF -->
|
<!-- TODO add bindings for VOR, LS and ADF -->
|
||||||
|
<!-- We use a little hack to get 8.33MHz spacing working:
|
||||||
|
First we assign our current STBY freq we want to adjust to the default instrument.
|
||||||
|
Then we change the channel there.
|
||||||
|
Finally we assign the value back to out own prop.
|
||||||
|
-->
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
<object-name>radio_rot1</object-name>
|
<object-name>radio_rot1</object-name>
|
||||||
|
@ -266,14 +271,51 @@
|
||||||
</equals>
|
</equals>
|
||||||
</and>
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-adjust</command>
|
<command>property-assign</command>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
|
||||||
<property>systems/radio/rmp[0]/vhf1-standby</property>
|
<property>systems/radio/rmp[0]/vhf1-standby</property>
|
||||||
<step>0.025</step>
|
</binding>
|
||||||
<min>0.0</min>
|
<binding>
|
||||||
<max>1.0</max>
|
<condition>
|
||||||
<resolution>0.025</resolution>
|
<and>
|
||||||
<wrap>true</wrap>
|
<greater-than-equals>
|
||||||
<mask>decimal</mask>
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/radio/rmp[0]/on</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/sel_chan</property>
|
||||||
|
<value type="string">vhf1</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-channel</property>
|
||||||
|
<step>1</step>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/radio/rmp[0]/on</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/sel_chan</property>
|
||||||
|
<value type="string">vhf1</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<command>property-assign</command>
|
||||||
|
<property>systems/radio/rmp[0]/vhf1-standby</property>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -293,14 +335,51 @@
|
||||||
</equals>
|
</equals>
|
||||||
</and>
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-adjust</command>
|
<command>property-assign</command>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
|
||||||
<property>systems/radio/rmp[0]/vhf2-standby</property>
|
<property>systems/radio/rmp[0]/vhf2-standby</property>
|
||||||
<step>0.025</step>
|
</binding>
|
||||||
<min>0.0</min>
|
<binding>
|
||||||
<max>1.0</max>
|
<condition>
|
||||||
<resolution>0.025</resolution>
|
<and>
|
||||||
<wrap>true</wrap>
|
<greater-than-equals>
|
||||||
<mask>decimal</mask>
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/radio/rmp[0]/on</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/sel_chan</property>
|
||||||
|
<value type="string">vhf2</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-channel</property>
|
||||||
|
<step>1</step>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/radio/rmp[0]/on</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/sel_chan</property>
|
||||||
|
<value type="string">vhf2</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<command>property-assign</command>
|
||||||
|
<property>systems/radio/rmp[0]/vhf2-standby</property>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -321,19 +400,68 @@
|
||||||
<not>
|
<not>
|
||||||
<equals>
|
<equals>
|
||||||
<property>systems/radio/rmp[0]/vhf3-standby</property>
|
<property>systems/radio/rmp[0]/vhf3-standby</property>
|
||||||
<value>0</value>
|
<value type="int">0</value>
|
||||||
|
</equals>
|
||||||
|
</not>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<command>property-assign</command>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
|
||||||
|
<property>systems/radio/rmp[0]/vhf3-standby</property>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/radio/rmp[0]/on</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/sel_chan</property>
|
||||||
|
<value type="string">vhf3</value>
|
||||||
|
</equals>
|
||||||
|
<not>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/vhf3-standby</property>
|
||||||
|
<value type="int">0</value>
|
||||||
</equals>
|
</equals>
|
||||||
</not>
|
</not>
|
||||||
</and>
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-channel</property>
|
||||||
|
<step>1</step>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/radio/rmp[0]/on</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/sel_chan</property>
|
||||||
|
<value type="string">vhf3</value>
|
||||||
|
</equals>
|
||||||
|
<not>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/vhf3-standby</property>
|
||||||
|
<value type="int">0</value>
|
||||||
|
</equals>
|
||||||
|
</not>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<command>property-assign</command>
|
||||||
<property>systems/radio/rmp[0]/vhf3-standby</property>
|
<property>systems/radio/rmp[0]/vhf3-standby</property>
|
||||||
<step>0.025</step>
|
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
|
||||||
<resolution>0.025</resolution>
|
|
||||||
<min>0.0</min>
|
|
||||||
<max>1.0</max>
|
|
||||||
<wrap>true</wrap>
|
|
||||||
<mask>decimal</mask>
|
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -409,14 +537,51 @@
|
||||||
</equals>
|
</equals>
|
||||||
</and>
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-adjust</command>
|
<command>property-assign</command>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
|
||||||
<property>systems/radio/rmp[0]/vhf1-standby</property>
|
<property>systems/radio/rmp[0]/vhf1-standby</property>
|
||||||
<step>-0.025</step>
|
</binding>
|
||||||
<min>0.0</min>
|
<binding>
|
||||||
<max>1.0</max>
|
<condition>
|
||||||
<resolution>0.025</resolution>
|
<and>
|
||||||
<wrap>true</wrap>
|
<greater-than-equals>
|
||||||
<mask>decimal</mask>
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/radio/rmp[0]/on</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/sel_chan</property>
|
||||||
|
<value type="string">vhf1</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-channel</property>
|
||||||
|
<step>-1</step>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/radio/rmp[0]/on</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/sel_chan</property>
|
||||||
|
<value type="string">vhf1</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<command>property-assign</command>
|
||||||
|
<property>systems/radio/rmp[0]/vhf1-standby</property>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -436,14 +601,51 @@
|
||||||
</equals>
|
</equals>
|
||||||
</and>
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-adjust</command>
|
<command>property-assign</command>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
|
||||||
<property>systems/radio/rmp[0]/vhf2-standby</property>
|
<property>systems/radio/rmp[0]/vhf2-standby</property>
|
||||||
<step>-0.025</step>
|
</binding>
|
||||||
<min>0.0</min>
|
<binding>
|
||||||
<max>1.0</max>
|
<condition>
|
||||||
<resolution>0.025</resolution>
|
<and>
|
||||||
<wrap>true</wrap>
|
<greater-than-equals>
|
||||||
<mask>decimal</mask>
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/radio/rmp[0]/on</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/sel_chan</property>
|
||||||
|
<value type="string">vhf2</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-channel</property>
|
||||||
|
<step>-1</step>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/radio/rmp[0]/on</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/sel_chan</property>
|
||||||
|
<value type="string">vhf2</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<command>property-assign</command>
|
||||||
|
<property>systems/radio/rmp[0]/vhf2-standby</property>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -461,22 +663,53 @@
|
||||||
<property>systems/radio/rmp[0]/sel_chan</property>
|
<property>systems/radio/rmp[0]/sel_chan</property>
|
||||||
<value type="string">vhf3</value>
|
<value type="string">vhf3</value>
|
||||||
</equals>
|
</equals>
|
||||||
<not>
|
</and>
|
||||||
<equals>
|
</condition>
|
||||||
<property>systems/radio/rmp[0]/vhf3-standby</property>
|
<command>property-assign</command>
|
||||||
<value>0</value>
|
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
|
||||||
</equals>
|
<property>systems/radio/rmp[0]/vhf3-standby</property>
|
||||||
</not>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/radio/rmp[0]/on</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/sel_chan</property>
|
||||||
|
<value type="string">vhf3</value>
|
||||||
|
</equals>
|
||||||
</and>
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
<command>property-adjust</command>
|
<command>property-adjust</command>
|
||||||
|
<property>instrumentation/comm[0]/frequencies/standby-channel</property>
|
||||||
|
<step>-1</step>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<greater-than-equals>
|
||||||
|
<property>systems/electrical/bus/dc-ess</property>
|
||||||
|
<value>25</value>
|
||||||
|
</greater-than-equals>
|
||||||
|
<equals>
|
||||||
|
<property>controls/radio/rmp[0]/on</property>
|
||||||
|
<value>1</value>
|
||||||
|
</equals>
|
||||||
|
<equals>
|
||||||
|
<property>systems/radio/rmp[0]/sel_chan</property>
|
||||||
|
<value type="string">vhf3</value>
|
||||||
|
</equals>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
<command>property-assign</command>
|
||||||
<property>systems/radio/rmp[0]/vhf3-standby</property>
|
<property>systems/radio/rmp[0]/vhf3-standby</property>
|
||||||
<step>-0.025</step>
|
<property>instrumentation/comm[0]/frequencies/standby-mhz</property>
|
||||||
<min>0.0</min>
|
|
||||||
<max>1.0</max>
|
|
||||||
<resolution>0.025</resolution>
|
|
||||||
<wrap>true</wrap>
|
|
||||||
<mask>decimal</mask>
|
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
<binding>
|
<binding>
|
||||||
|
|
|
@ -47,16 +47,19 @@
|
||||||
<comm-radio>
|
<comm-radio>
|
||||||
<name>comm</name>
|
<name>comm</name>
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
|
<eight-point-three>1</eight-point-three>
|
||||||
</comm-radio>
|
</comm-radio>
|
||||||
|
|
||||||
<comm-radio>
|
<comm-radio>
|
||||||
<name>comm</name>
|
<name>comm</name>
|
||||||
<number>1</number>
|
<number>1</number>
|
||||||
|
<eight-point-three>1</eight-point-three>
|
||||||
</comm-radio>
|
</comm-radio>
|
||||||
|
|
||||||
<comm-radio>
|
<comm-radio>
|
||||||
<name>comm</name>
|
<name>comm</name>
|
||||||
<number>2</number>
|
<number>2</number>
|
||||||
|
<eight-point-three>1</eight-point-three>
|
||||||
</comm-radio>
|
</comm-radio>
|
||||||
|
|
||||||
<dme>
|
<dme>
|
||||||
|
|
Loading…
Add table
Reference in a new issue