140 lines
3.5 KiB
XML
140 lines
3.5 KiB
XML
<!-- Airbus A3XX FBW System by Joshua Davidson (it0uchpods) -->
|
|
|
|
<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="0">/it-fbw/spd-hold</property>
|
|
|
|
<channel name="FBW Aileron">
|
|
<fcs_function name="/it-fbw/roll-deg">
|
|
<function>
|
|
<ifthen>
|
|
<and>
|
|
<eq>
|
|
<property>/it-autoflight/output/ap1</property>
|
|
<value>0</value>
|
|
</eq>
|
|
<eq>
|
|
<property>/it-autoflight/output/ap2</property>
|
|
<value>0</value>
|
|
</eq>
|
|
<eq>
|
|
<property>/gear/gear[1]/wow</property>
|
|
<value>0</value>
|
|
</eq>
|
|
<eq>
|
|
<property>/gear/gear[2]/wow</property>
|
|
<value>0</value>
|
|
</eq>
|
|
<eq>
|
|
<property>/it-fbw/law</property>
|
|
<value>0</value>
|
|
</eq>
|
|
</and>
|
|
<sum>
|
|
<property>/it-fbw/roll-deg</property>
|
|
<table>
|
|
<independentVar lookup="row">/controls/flight/aileron-input</independentVar>
|
|
<tableData>
|
|
-1.0 -0.1500
|
|
-0.7 -0.1000
|
|
-0.5 -0.0500
|
|
-0.3 -0.0270
|
|
-0.15 -0.0140
|
|
-0.05 -0.0055
|
|
0.00 0.0000
|
|
0.05 0.0055
|
|
0.15 0.0140
|
|
0.3 0.0270
|
|
0.5 0.0500
|
|
0.7 0.1000
|
|
1.0 0.1500
|
|
</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>
|
|
<value>0</value>
|
|
</eq>
|
|
<eq>
|
|
<property>/gear/gear[0]/wow</property>
|
|
<value>0</value>
|
|
</eq>
|
|
<eq>
|
|
<property>/it-fbw/spd-hold</property>
|
|
<value>0</value>
|
|
</eq>
|
|
<lt>
|
|
<property>/orientation/roll-deg</property>
|
|
<value>40</value>
|
|
</lt>
|
|
<gt>
|
|
<property>/orientation/roll-deg</property>
|
|
<value>-40</value>
|
|
</gt>
|
|
<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.075
|
|
-0.7 0.053
|
|
-0.5 0.022
|
|
-0.3 0.0115
|
|
-0.15 0.0045
|
|
-0.05 0.0007
|
|
0.00 0.0000
|
|
0.05 -0.0007
|
|
0.15 -0.0045
|
|
0.3 -0.0115
|
|
0.5 -0.022
|
|
0.7 -0.053
|
|
1.0 -0.075
|
|
</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>
|