2020-06-05 21:48:53 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!-- Airbus A320 Libraries -->
|
|
|
|
<!-- Copyright (c) 2020 Josh Davidson (Octal450) -->
|
|
|
|
|
|
|
|
<system name="A320: Libraries">
|
|
|
|
|
2020-06-05 22:14:40 +00:00
|
|
|
<channel name="FDM Rate Libraries">
|
|
|
|
|
2020-06-05 21:48:53 +00:00
|
|
|
<switch name="aero/alpha-deg-norm">
|
2020-06-05 22:14:40 +00:00
|
|
|
<default value="0"/>
|
|
|
|
<test value="aero/alpha-deg">
|
|
|
|
gear/unit[0]/WOW eq 0
|
|
|
|
</test>
|
|
|
|
</switch>
|
2020-06-05 21:48:53 +00:00
|
|
|
|
|
|
|
<switch name="position/wow">
|
|
|
|
<default value="0"/>
|
|
|
|
<test logic="OR" value="1">
|
|
|
|
gear/unit[0]/WOW eq 1
|
|
|
|
gear/unit[1]/WOW eq 1
|
|
|
|
gear/unit[2]/WOW eq 1
|
|
|
|
</test>
|
|
|
|
</switch>
|
2020-06-05 22:14:40 +00:00
|
|
|
|
|
|
|
<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>
|
2020-06-05 21:48:53 +00:00
|
|
|
|
|
|
|
</channel>
|
|
|
|
|
|
|
|
</system>
|