This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/Systems/it-fbw.xml

126 lines
3.2 KiB
XML
Raw Normal View History

2017-04-17 19:44:59 +00:00
<!-- Airbus A3XX FBW System by Joshua Davidson (it0uchpods) and Richard Harrison (richard) -->
<system name="it-fbw">
<property value="0">/it-fbw/law</property>
<property value="0">/it-fbw/roll-deg</property>
<property value="0">/it-fbw/pitch-deg</property>
<property value="33">/it-fbw/roll-lim-max</property>
<property value="-33">/it-fbw/roll-lim-min</property>
<property value="30">/it-fbw/pitch-lim-max</property>
<property value="-15">/it-fbw/pitch-lim-min</property>
<property value="14">/it-fbw/alpha-max</property>
<property value="0">/it-fbw/alpha-min</property>
2017-04-06 19:06:35 +00:00
<channel name="FBW Aileron">
<fcs_function name="/it-fbw/roll-deg">
<function>
<ifthen>
2017-04-06 19:06:35 +00:00
<and>
<eq>
2017-04-06 19:06:35 +00:00
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</eq>
<eq>
2017-04-06 19:06:35 +00:00
<property>/it-autoflight/output/ap2</property>
<value>0</value>
</eq>
<eq>
2017-05-23 18:11:00 +00:00
<property>/gear/gear[0]/wow</property>
<value>0</value>
</eq>
<eq>
<property>/it-fbw/law</property>
<value>0</value>
</eq>
2017-04-06 19:06:35 +00:00
</and>
<sum>
<property>/it-fbw/roll-deg</property>
<table>
<independentVar lookup="row">/controls/flight/aileron</independentVar>
<tableData>
-1.0 -0.15
-0.7 -0.1
-0.5 -0.05
-0.3 -0.025
-0.15 -0.01
-0.05 -0.005
0.00 0.00
0.05 0.005
0.15 0.01
0.3 0.025
0.5 0.05
0.7 0.1
1.0 0.15
</tableData>
</table>
</sum>
<property>/orientation/roll-deg</property>
</ifthen>
</function>
<clipto>
<min><property>/it-fbw/roll-lim-min</property></min>
<max><property>/it-fbw/roll-lim-max</property></max>
</clipto>
</fcs_function>
</channel>
<channel name="FBW Elevator">
<fcs_function name="/it-fbw/pitch-deg">
<function>
<ifthen>
<and>
<eq>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</eq>
<eq>
<property>/it-autoflight/output/ap2</property>
2017-05-23 17:26:12 +00:00
<value>0</value>
</eq>
<eq>
2017-05-23 18:11:00 +00:00
<property>/gear/gear[0]/wow</property>
<value>0</value>
</eq>
<or>
<eq>
<property>/it-fbw/law</property>
<value>0</value>
</eq>
<eq>
<property>/it-fbw/law</property>
<value>1</value>
</eq>
</or>
</and>
<sum>
<property>/it-fbw/pitch-deg</property>
<table>
<independentVar lookup="row">/controls/flight/elevator-input</independentVar>
<tableData>
-1.0 0.1
-0.7 0.05
-0.5 0.02
-0.3 0.01
-0.15 0.005
-0.05 0.001
0.00 0.00
0.05 -0.001
0.15 -0.005
0.3 -0.01
0.5 -0.02
0.7 -0.05
1.0 -0.1
</tableData>
</table>
</sum>
<property>/orientation/pitch-deg</property>
</ifthen>
</function>
<clipto>
<min><property>/it-fbw/pitch-lim-min</property></min>
<max><property>/it-fbw/pitch-lim-max</property></max>
</clipto>
</fcs_function>
</channel>
</system>