Left panel: simplify model and logic.

parent 2220dbe7
This diff is collapsed.
......@@ -569,34 +569,6 @@
</action>
</animation>
<animation>
<type>knob</type>
<object-name>SO-63 k m</object-name>
<property>fdm/jsbsim/systems/comm/SOM/panel/switch/system</property>
<factor>30.0</factor>
<offset-deg>-45.0</offset-deg>
<axis>
<x>0.0</x>
<y>0.0</y>
<z>-1.0</z>
</axis>
<center>
<x-m>0.412</x-m>
<y-m>-0.084</y-m>
<z-m>0.0</z-m>
</center>
<action>
<binding>
<command>property-adjust</command>
<property>fdm/jsbsim/systems/comm/SOM/panel/switch/system</property>
<factor>1</factor>
<min>0</min>
<max>3</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>knob</type>
<object-name>SO-63 k im</object-name>
......@@ -735,63 +707,6 @@
</action>
</animation>
<animation>
<type>knob</type>
<object-name>SO-63 c e</object-name>
<property>systems/comm/SOM/panel/cap/emergency</property>
<factor>105.0</factor>
<axis>
<x>0.0</x>
<y>-1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0.396</x-m>
<y-m>0.0</y-m>
<z-m>0.001</z-m>
</center>
<action>
<binding>
<command>property-adjust</command>
<property>systems/comm/SOM/panel/cap/emergency</property>
<factor>1</factor>
<min>0</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>knob</type>
<object-name>SO-63 s e</object-name>
<condition>
<property>systems/comm/SOM/panel/cap/emergency</property>
</condition>
<property>systems/comm/SOM/panel/switch/emergency</property>
<factor>56.0</factor>
<axis>
<x>0.0</x>
<y>-1.0</y>
<z>0.0</z>
</axis>
<center>
<x-m>0.406</x-m>
<y-m>0.0</y-m>
<z-m>-0.001</z-m>
</center>
<action>
<binding>
<command>property-adjust</command>
<property>systems/comm/SOM/panel/switch/emergency</property>
<factor>1</factor>
<min>0</min>
<max>1</max>
<wrap>0</wrap>
</binding>
</action>
</animation>
<animation>
<type>knob</type>
<object-name>SO-63 s p</object-name>
......
......@@ -3,8 +3,7 @@
<!-- Самолётный ответчик СОМ-64-144 -->
<!-- XXX FG does not support anything else than RBS system, so we just zero out outputs for other positions of the system switch. -->
<!-- XXX Many switches here are unused because FG does not support them. -->
<property value="2">systems/comm/SOM/panel/switch/system</property><!-- 0: РСП; 1: УВД; 2: RBS; 3: 023М -->
<property value="1">systems/comm/SOM/panel/switch/SO-63</property>
......@@ -144,7 +143,6 @@
<test logic="OR" value="-9999">
systems/comm/SOM/status/on EQ 0
systems/comm/SOM/panel/switch/mode EQ 3
systems/comm/SOM/panel/switch/system NE 2
systems/comm/SOM/ident NE 0
</test>
</switch>
......@@ -154,7 +152,6 @@
<test logic="OR" value="-9999">
systems/comm/SOM/status/on EQ 0
systems/comm/SOM/panel/switch/mode NE 2
systems/comm/SOM/panel/switch/system NE 2
systems/comm/SOM/ident NE 0
</test>
</switch>
......@@ -163,7 +160,6 @@
<default value="systems/comm/SOM/panel/button/ident"/>
<test logic="OR" value="0">
systems/comm/SOM/status/on EQ 0
systems/comm/SOM/panel/switch/system NE 2
systems/comm/SOM/panel/switch/mode EQ 3
</test>
<test logic="AND" value="1">
......
......@@ -1113,7 +1113,6 @@
<!-- Orbita-10 import GUI -->
<path>/sim/gui/dialog/Orbita/fgfp-H-km</path>
<!-- SOM-64 -->
<path>/fdm/jsbsim/systems/comm/SOM/panel/switch/system</path>
<path>/fdm/jsbsim/systems/comm/SOM/panel/switch/mode</path>
<path>/fdm/jsbsim/systems/comm/SOM/panel/switch/code[0]</path>
<path>/fdm/jsbsim/systems/comm/SOM/panel/switch/code[1]</path>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment