2020-06-05 21:48:53 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!-- Airbus A320 Libraries -->
|
2022-01-11 02:17:41 +00:00
|
|
|
<!-- Copyright (c) 2022 Josh Davidson (Octal450) -->
|
2020-06-05 21:48:53 +00:00
|
|
|
|
|
|
|
<system name="A320: Libraries">
|
|
|
|
|
2020-06-05 22:14:40 +00:00
|
|
|
<channel name="FDM Rate Libraries">
|
|
|
|
|
2022-04-12 00:17:06 +00:00
|
|
|
<switch name="aero/alpha-deg-fixed">
|
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
|
|
|
|
2021-05-16 17:18:18 +00:00
|
|
|
<lag_filter name="aero/alpha-deg-damped">
|
2022-04-12 00:17:06 +00:00
|
|
|
<input>aero/alpha-deg-fixed</input>
|
2021-05-16 17:18:18 +00:00
|
|
|
<c1>10</c1>
|
|
|
|
</lag_filter>
|
|
|
|
|
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
|
|
|
|
2022-01-10 01:22:57 +00:00
|
|
|
<fcs_function name="position/gear-agl-ft">
|
2020-06-05 22:14:40 +00:00
|
|
|
<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>
|
|
|
|
|
2022-01-10 01:22:57 +00:00
|
|
|
<pure_gain name="position/gear-agl-m">
|
|
|
|
<input>position/gear-agl-ft</input>
|
2020-06-05 22:14:40 +00:00
|
|
|
<gain>0.3048</gain>
|
|
|
|
<output>/position/gear-agl-m</output> <!-- So flight recorder can override it -->
|
|
|
|
</pure_gain>
|
2022-01-10 01:22:57 +00:00
|
|
|
|
|
|
|
<pure_gain name="inertia/weight-kg">
|
|
|
|
<input>inertia/weight-lbs</input>
|
|
|
|
<gain>0.45359237</gain>
|
|
|
|
</pure_gain>
|
2020-06-05 22:14:40 +00:00
|
|
|
|
|
|
|
</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>
|