1
0
Fork 0

Sim: do stuff

This commit is contained in:
Josh Davidson 2020-06-05 18:14:40 -04:00
parent 2d59e2d040
commit 4c0e437b12
2 changed files with 35 additions and 37 deletions

View file

@ -5,14 +5,14 @@
<system name="A320: Libraries">
<channel name="Libraries">
<channel name="FDM Rate Libraries">
<switch name="aero/alpha-deg-norm">
<default value="0"/>
<test value="aero/alpha-deg">
gear/unit[0]/WOW eq 0
</test>
</switch>
<default value="0"/>
<test value="aero/alpha-deg">
gear/unit[0]/WOW eq 0
</test>
</switch>
<switch name="position/wow">
<default value="0"/>
@ -22,6 +22,34 @@
gear/unit[2]/WOW eq 1
</test>
</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>

View file

@ -23,36 +23,6 @@
<filter-gain>0.0</filter-gain>
</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>
<name>Gear AGL Altitude</name>
<debug>false</debug>