Sim: do stuff
This commit is contained in:
parent
2d59e2d040
commit
4c0e437b12
2 changed files with 35 additions and 37 deletions
|
@ -5,14 +5,14 @@
|
||||||
|
|
||||||
<system name="A320: Libraries">
|
<system name="A320: Libraries">
|
||||||
|
|
||||||
<channel name="Libraries">
|
<channel name="FDM Rate Libraries">
|
||||||
|
|
||||||
<switch name="aero/alpha-deg-norm">
|
<switch name="aero/alpha-deg-norm">
|
||||||
<default value="0"/>
|
<default value="0"/>
|
||||||
<test value="aero/alpha-deg">
|
<test value="aero/alpha-deg">
|
||||||
gear/unit[0]/WOW eq 0
|
gear/unit[0]/WOW eq 0
|
||||||
</test>
|
</test>
|
||||||
</switch>
|
</switch>
|
||||||
|
|
||||||
<switch name="position/wow">
|
<switch name="position/wow">
|
||||||
<default value="0"/>
|
<default value="0"/>
|
||||||
|
@ -22,6 +22,34 @@
|
||||||
gear/unit[2]/WOW eq 1
|
gear/unit[2]/WOW eq 1
|
||||||
</test>
|
</test>
|
||||||
</switch>
|
</switch>
|
||||||
|
|
||||||
|
<fcs_function name="/position/gear-agl-ft-tie">
|
||||||
|
<function>
|
||||||
|
<difference>
|
||||||
|
<property>/position/altitude-agl-ft</property>
|
||||||
|
<value>17.283</value>
|
||||||
|
</difference>
|
||||||
|
</function>
|
||||||
|
<output>/position/gear-agl-ft</output> <!-- So flight recorder can override it -->
|
||||||
|
</fcs_function>
|
||||||
|
|
||||||
|
<pure_gain name="/position/gear-agl-m-tie">
|
||||||
|
<input>/position/gear-agl-ft</input>
|
||||||
|
<gain>0.3048</gain>
|
||||||
|
<output>/position/gear-agl-m</output> <!-- So flight recorder can override it -->
|
||||||
|
</pure_gain>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
|
||||||
|
<channel name="Execrate 8 Libraries" execrate="8">
|
||||||
|
|
||||||
|
<switch name="libraries/multi-engine-out">
|
||||||
|
<default value="0"/>
|
||||||
|
<test logic="AND" value="1">
|
||||||
|
/engines/engine[0]/state ne 3
|
||||||
|
/engines/engine[1]/state ne 3
|
||||||
|
</test>
|
||||||
|
</switch>
|
||||||
|
|
||||||
</channel>
|
</channel>
|
||||||
|
|
||||||
|
|
|
@ -23,36 +23,6 @@
|
||||||
<filter-gain>0.0</filter-gain>
|
<filter-gain>0.0</filter-gain>
|
||||||
</predict-simple>
|
</predict-simple>
|
||||||
|
|
||||||
<filter>
|
|
||||||
<name>Gear AGL Altitude FT</name>
|
|
||||||
<type>gain</type>
|
|
||||||
<gain>1.0</gain>
|
|
||||||
<input>
|
|
||||||
<expression>
|
|
||||||
<dif>
|
|
||||||
<property>/position/altitude-agl-ft</property>
|
|
||||||
<value>14.201</value>
|
|
||||||
</dif>
|
|
||||||
</expression>
|
|
||||||
</input>
|
|
||||||
<output>/position/gear-agl-ft</output>
|
|
||||||
</filter>
|
|
||||||
|
|
||||||
<filter>
|
|
||||||
<name>Gear AGL Altitude M</name>
|
|
||||||
<type>gain</type>
|
|
||||||
<gain>1.0</gain>
|
|
||||||
<input>
|
|
||||||
<expression>
|
|
||||||
<product>
|
|
||||||
<property>/position/gear-agl-ft</property>
|
|
||||||
<value>0.3048</value>
|
|
||||||
</product>
|
|
||||||
</expression>
|
|
||||||
</input>
|
|
||||||
<output>/position/gear-agl-m</output>
|
|
||||||
</filter>
|
|
||||||
|
|
||||||
<predict-simple>
|
<predict-simple>
|
||||||
<name>Gear AGL Altitude</name>
|
<name>Gear AGL Altitude</name>
|
||||||
<debug>false</debug>
|
<debug>false</debug>
|
||||||
|
|
Loading…
Reference in a new issue