Control: Move FBW System to JSBsim, and improve it

This commit is contained in:
Joshua Davidson 2018-04-24 11:41:59 -04:00
parent 096b46a0f0
commit 4a13cad366
9 changed files with 1310 additions and 1971 deletions

View file

@ -112,43 +112,39 @@
<electrical>
<path></path>
</electrical>
<!-- 0 is FADEC -->
<autopilot n="1">
<path>Aircraft/IDG-A32X/Systems/hydraulics.xml</path>
</autopilot>
<autopilot n="2">
<path>Aircraft/IDG-A32X/Systems/fbw-drivers.xml</path>
</autopilot>
<autopilot n="3">
<path>Aircraft/IDG-A32X/Systems/fbw-roll-yaw.xml</path>
</autopilot>
<autopilot n="4">
<path>Aircraft/IDG-A32X/Systems/fbw-pitch.xml</path>
</autopilot>
<autopilot n="5">
<autopilot n="3">
<path>Aircraft/IDG-A32X/Systems/fmgc-drivers.xml</path>
</autopilot>
<autopilot n="6">
<autopilot n="4">
<path>Aircraft/IDG-A32X/Systems/fmgc-roll-yaw.xml</path>
</autopilot>
<autopilot n="7">
<autopilot n="5">
<path>Aircraft/IDG-A32X/Systems/fmgc-pitch.xml</path>
</autopilot>
<autopilot n="8">
<autopilot n="6">
<path>Aircraft/IDG-A32X/Systems/fmgc-thrust.xml</path>
</autopilot>
<autopilot n="9">
<autopilot n="7">
<path>Aircraft/IDG-A32X/Systems/libraries.xml</path>
</autopilot>
<autopilot n="11">
<autopilot n="8">
<path>Aircraft/IDG-A32X/Systems/upper-ecam.xml</path>
</autopilot>
<autopilot n="12">
<autopilot n="9">
<path>Aircraft/IDG-A32X/Systems/lower-ecam.xml</path>
</autopilot>
<autopilot n="13">
<!-- 10 is sound -->
<autopilot n="11">
<path>Aircraft/IDG-A32X/Systems/pfd.xml</path>
</autopilot>
<autopilot n="14">
<autopilot n="12">
<path>Aircraft/IDG-A32X/Systems/zoom-views.xml</path>
</autopilot>
</systems>
@ -415,6 +411,8 @@
<output>
<ap1>0</ap1>
<ap2>0</ap2>
<lat>0</lat>
<vert>0</vert>
</output>
<custom>
<show-hdg>0</show-hdg>
@ -429,6 +427,12 @@
<it-fbw n="0">
<alpha-hld type="bool">0</alpha-hld>
<law type="int">0</law>
<roll-lim type="double">33</roll-lim>
<roll-back type="bool">0</roll-back>
<protections n="0">
<overspeed type="bool">0</overspeed>
<overspeed-roll-back type="bool">0</overspeed-roll-back>
</protections>
</it-fbw>
<apu>
@ -537,13 +541,11 @@
<aileron-left>0.5</aileron-left>
<aileron-right>-0.5</aileron-right>
<elevator-input>0</elevator-input>
<elevator-fbw>0</elevator-fbw>
<elevator-left>0.1</elevator-left>
<elevator-right>0.1</elevator-right>
<elevator-trim-fdm>0.0</elevator-trim-fdm>
<flap-pos type="int">0</flap-pos>
<ground-spoilers-armed type="bool">0</ground-spoilers-armed>
<roll-fbw>0</roll-fbw>
<rudder-trim-fdm>0.0</rudder-trim-fdm>
<spoiler-l1>0.0</spoiler-l1>
<spoiler-l2>0.0</spoiler-l2>

View file

@ -519,7 +519,7 @@
<property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property>
<property>fcs/rudder-pos-rad</property>
<value>-0.053</value>
<value>0.053</value>
</product>
</function>

File diff suppressed because it is too large Load diff

View file

@ -1,363 +0,0 @@
<?xml version="1.0"?>
<!--
##############################################
# Copyright (c) Joshua Davidson (it0uchpods) #
##############################################
-->
<!-- Airbus A3XX FBW System -->
<!-- Joshua Davidson (it0uchpods) -->
<PropertyList>
<!-- =============================================================== -->
<!-- Surface Position Feeding -->
<!-- =============================================================== -->
<filter>
<debug>false</debug>
<type>noise-spike</type>
<enable>
<condition>
<equals>
<property>/systems/acconfig/mismatch-code</property>
<value>0x000</value>
</equals>
</condition>
</enable>
<input>
<condition>
<or>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</condition>
<value>0</value>
</input>
<input>/controls/flight/aileron</input>
<output>/controls/flight/aileron-input-fast</output>
<max-rate-of-change>5</max-rate-of-change>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<enable>
<condition>
<equals>
<property>/systems/acconfig/mismatch-code</property>
<value>0x000</value>
</equals>
</condition>
</enable>
<input>
<condition>
<or>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</condition>
<value>0</value>
</input>
<input>/controls/flight/elevator</input>
<output>/controls/flight/elevator-input-fast</output>
<max-rate-of-change>5</max-rate-of-change>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<enable>
<condition>
<equals>
<property>/systems/acconfig/mismatch-code</property>
<value>0x000</value>
</equals>
</condition>
</enable>
<input>
<condition>
<or>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</condition>
<property>/it-autoflight/internal/aileron-cmd</property>
</input>
<input>
<expression>
<table>
<property>/controls/flight/aileron</property>
<entry><ind>-1.00</ind><dep>-1</dep></entry>
<entry><ind>-0.04</ind><dep> 0</dep></entry>
<entry><ind> 0.00</ind><dep> 0</dep></entry>
<entry><ind> 0.04</ind><dep> 0</dep></entry>
<entry><ind> 1.00</ind><dep> 1</dep></entry>
</table>
</expression>
</input>
<output>/controls/flight/aileron-input</output>
<max-rate-of-change>
<condition>
<and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
</and>
</condition>
<value>1.0</value>
</max-rate-of-change>
<max-rate-of-change>5</max-rate-of-change>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<enable>
<condition>
<equals>
<property>/systems/acconfig/mismatch-code</property>
<value>0x000</value>
</equals>
</condition>
</enable>
<input>
<condition>
<and>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>0</value>
</equals>
<less-than-equals>
<property>/position/gear-agl-ft</property>
<value>30</value>
</less-than-equals>
<greater-than-equals>
<property>/controls/flight/flap-pos</property>
<value>4</value>
</greater-than-equals>
<less-than>
<property>/controls/engines/engine[0]/throttle</property>
<value>0.65</value>
</less-than>
<less-than>
<property>/controls/engines/engine[1]/throttle</property>
<value>0.65</value>
</less-than>
<equals>
<property>/FMGC/status/to-state</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[0]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<sum>
<table>
<property>/controls/flight/elevator</property>
<entry><ind>-1.00</ind><dep>-1</dep></entry>
<entry><ind>-0.04</ind><dep> 0</dep></entry>
<entry><ind> 0.00</ind><dep> 0</dep></entry>
<entry><ind> 0.04</ind><dep> 0</dep></entry>
<entry><ind> 1.00</ind><dep> 1</dep></entry>
</table>
<table>
<property>/position/gear-agl-ft</property>
<entry><ind> 5</ind><dep>0.20</dep></entry>
<entry><ind>30</ind><dep>0.10</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<and>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>0</value>
</equals>
<less-than-equals>
<property>/position/gear-agl-ft</property>
<value>30</value>
</less-than-equals>
<greater-than-equals>
<property>/controls/flight/flap-pos</property>
<value>4</value>
</greater-than-equals>
<less-than>
<property>/controls/engines/engine[0]/throttle</property>
<value>0.65</value>
</less-than>
<less-than>
<property>/controls/engines/engine[1]/throttle</property>
<value>0.65</value>
</less-than>
<equals>
<property>/FMGC/status/to-state</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[0]/wow</property>
<value>0</value>
</equals>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
</and>
</condition>
<expression>
<sum>
<table>
<property>/controls/flight/elevator</property>
<entry><ind>-1.00</ind><dep>-1</dep></entry>
<entry><ind>-0.04</ind><dep> 0</dep></entry>
<entry><ind> 0.00</ind><dep> 0</dep></entry>
<entry><ind> 0.04</ind><dep> 0</dep></entry>
<entry><ind> 1.00</ind><dep> 1</dep></entry>
</table>
<value>0.15</value>
</sum>
</expression>
</input>
<input>
<condition>
<and>
<or>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
</and>
</condition>
<property>/it-autoflight/internal/elevator-cmd</property>
</input>
<input>
<condition>
<and>
<or>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
</and>
</condition>
<value>0.0</value>
</input>
<input>
<expression>
<table>
<property>/controls/flight/elevator</property>
<entry><ind>-1.00</ind><dep>-1</dep></entry>
<entry><ind>-0.04</ind><dep> 0</dep></entry>
<entry><ind> 0.00</ind><dep> 0</dep></entry>
<entry><ind> 0.04</ind><dep> 0</dep></entry>
<entry><ind> 1.00</ind><dep> 1</dep></entry>
</table>
</expression>
</input>
<output>/controls/flight/elevator-input</output>
<max-rate-of-change>
<condition>
<and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
</and>
</condition>
<value>1.0</value>
</max-rate-of-change>
<max-rate-of-change>5</max-rate-of-change>
</filter>
</PropertyList>

View file

@ -6,107 +6,20 @@
##############################################
-->
<!-- Airbus A3XX FBW System -->
<!-- Airbus A320 FBW System -->
<!-- Joshua Davidson (it0uchpods) -->
<!-- I didn't see an easy way to do this controller in JSBsim, so I keep it here -->
<PropertyList>
<!-- =============================================================== -->
<!-- Vertical -->
<!-- =============================================================== -->
<filter>
<name>IT-CONTROLLER: LOAD FACTOR CMD</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<sum>
<table>
<property>/controls/flight/elevator-input</property>
<entry><ind> 1</ind><dep>-0.5</dep></entry>
<entry><ind> 0</ind><dep> 1.0</dep></entry>
<entry><ind>-1</ind><dep> 2.5</dep></entry>
</table>
</sum>
</expression>
</input>
<output>/it-fbw/g-target</output>
<min>
<condition>
<not-equals>
<property>/controls/flight/flap-pos</property>
<value>0</value>
</not-equals>
</condition>
<value>0.0</value>
</min>
<min>-1.0</min>
<max>
<condition>
<not-equals>
<property>/controls/flight/flap-pos</property>
<value>0</value>
</not-equals>
</condition>
<value>2.0</value>
</max>
<max>2.5</max>
</filter>
<filter>
<name>IT-CONTROLLER: COMPUTED G</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<sum>
<property>/accelerations/pilot-gdamped</property>
<div>
<value>-1</value>
<cos>
<deg2rad>
<product>
<property>/orientation/roll-deg</property>
<value>0.965</value>
</product>
</deg2rad>
</cos>
</div>
<value>1</value>
</sum>
</expression>
</input>
<output>/it-fbw/g-computed</output>
</filter>
<filter>
<name>IT-CONTROLLER: G ERROR</name>
<type>gain</type>
<gain>-1.0</gain>
<input>
<expression>
<dif>
<property>/it-fbw/g-target</property>
<property>/it-fbw/g-computed</property>
</dif>
</expression>
</input>
<output>/it-fbw/g-error</output>
</filter>
<pi-simple-controller>
<name>IT-CONTROLLER: G ELEVATOR</name>
<name>FBW PITCH G PI</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<property>/fdm/jsbsim/position/wow</property>
<value>0</value>
</equals>
<or>
@ -123,13 +36,13 @@
</condition>
</enable>
<input>
<property>/it-fbw/g-error</property>
<property>/fdm/jsbsim/fbw/pitch/g-error</property>
</input>
<reference>
<value>0</value>
</reference>
<output>
<property>/it-fbw/g-elevator-cmd</property>
<property>/fdm/jsbsim/fbw/pitch/g-pi</property>
</output>
<config>
<Kp>-1.5</Kp>
@ -137,544 +50,24 @@
<min>
<condition>
<less-than>
<property>/controls/flight/elevator-input</property>
<property>/fdm/jsbsim/fbw/pitch/e-i</property>
<value>0</value>
</less-than>
</condition>
<property>/controls/flight/elevator-input</property>
<property>/fdm/jsbsim/fbw/pitch/e-i</property>
</min>
<min>0.0</min>
<max>
<condition>
<greater-than>
<property>/controls/flight/elevator-input</property>
<property>/fdm/jsbsim/fbw/pitch/e-i</property>
<value>0</value>
</greater-than>
</condition>
<property>/controls/flight/elevator-input</property>
<property>/fdm/jsbsim/fbw/pitch/e-i</property>
</max>
<max>0.0</max>
</config>
</pi-simple-controller>
<filter>
<name>IT-CONTROLLER: G ELEVATOR INVERT</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<less-than-equals>
<property>/orientation/roll-deg</property>
<value>90</value>
</less-than-equals>
<greater-than-equals>
<property>/orientation/roll-deg</property>
<value>-90</value>
</greater-than-equals>
</and>
</condition>
<property>/it-fbw/g-elevator-cmd</property>
</input>
<input>
<property>/it-fbw/g-elevator-cmd</property>
<scale>-1.0</scale>
</input>
<output>/it-fbw/g-elevator</output>
</filter>
<filter>
<name>IT-CONTROLLER: PITCH RATE CMD</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
<not-equals>
<property>/it-fbw/protections/overspeed</property>
<value>1</value>
</not-equals>
</and>
</condition>
<expression>
<sum>
<table>
<property>/it-fbw/g-elevator</property>
<entry><ind> 1</ind><dep>-5.0</dep></entry>
<entry><ind> 0</ind><dep> 0.0</dep></entry>
<entry><ind>-1</ind><dep> 5.0</dep></entry>
</table>
<product>
<table>
<property>/orientation/pitch-deg</property>
<entry><ind>-15.00000</ind><dep>1</dep></entry>
<entry><ind>-14.99999</ind><dep>0</dep></entry>
</table>
<table>
<property>/it-fbw/g-elevator</property>
<entry><ind>1</ind><dep>5.0</dep></entry>
<entry><ind>0</ind><dep>0.0</dep></entry>
</table>
</product>
<product>
<table>
<property>/orientation/pitch-deg</property>
<entry><ind>29.99999</ind><dep>0</dep></entry>
<entry><ind>30.00000</ind><dep>1</dep></entry>
</table>
<table>
<property>/it-fbw/g-elevator</property>
<entry><ind> 0</ind><dep> 0.0</dep></entry>
<entry><ind>-1</ind><dep>-5.0</dep></entry>
</table>
</product>
<table>
<property>/orientation/pitch-deg</property>
<entry><ind>-18</ind><dep> 5</dep></entry>
<entry><ind>-15</ind><dep> 0</dep></entry>
<entry><ind> 30</ind><dep> 0</dep></entry>
<entry><ind> 33</ind><dep>-5</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<and>
<not-equals>
<property>/it-fbw/law</property>
<value>0</value>
</not-equals>
<not-equals>
<property>/it-fbw/protections/overspeed</property>
<value>1</value>
</not-equals>
</and>
</condition>
<expression>
<sum>
<table>
<property>/it-fbw/g-elevator</property>
<entry><ind> 1</ind><dep>-5.0</dep></entry>
<entry><ind> 0</ind><dep> 0.0</dep></entry>
<entry><ind>-1</ind><dep> 5.0</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<and>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/protections/overspeed</property>
<value>1</value>
</equals>
</and>
</condition>
<expression>
<sum>
<table>
<property>/it-fbw/g-elevator</property>
<entry><ind> 0.0</ind><dep> 1.5</dep></entry>
<entry><ind>-1.0</ind><dep> 5.0</dep></entry>
</table>
<product>
<table>
<property>/orientation/pitch-deg</property>
<entry><ind>29.99999</ind><dep>0</dep></entry>
<entry><ind>30.00000</ind><dep>1</dep></entry>
</table>
<table>
<property>/it-fbw/g-elevator</property>
<entry><ind> 0</ind><dep>-1.5</dep></entry>
<entry><ind>-1</ind><dep>-5.0</dep></entry>
</table>
</product>
<table>
<property>/orientation/pitch-deg</property>
<entry><ind> 30</ind><dep> 0</dep></entry>
<entry><ind> 33</ind><dep>-5</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<and>
<not-equals>
<property>/it-fbw/law</property>
<value>0</value>
</not-equals>
<equals>
<property>/it-fbw/protections/overspeed</property>
<value>1</value>
</equals>
</and>
</condition>
<expression>
<sum>
<table>
<property>/it-fbw/g-elevator</property>
<entry><ind> 1.0</ind><dep>-3.5</dep></entry>
<entry><ind> 0.0</ind><dep> 1.5</dep></entry>
<entry><ind>-1.0</ind><dep> 5.0</dep></entry>
</table>
<product>
<table>
<property>/orientation/pitch-deg</property>
<entry><ind>-15.00000</ind><dep>1</dep></entry>
<entry><ind>-14.99999</ind><dep>0</dep></entry>
</table>
<table>
<property>/it-fbw/g-elevator</property>
<entry><ind>1</ind><dep> 3.5</dep></entry>
<entry><ind>0</ind><dep>-1.5</dep></entry>
</table>
</product>
<product>
<table>
<property>/orientation/pitch-deg</property>
<entry><ind>29.99999</ind><dep>0</dep></entry>
<entry><ind>30.00000</ind><dep>1</dep></entry>
</table>
<table>
<property>/it-fbw/g-elevator</property>
<entry><ind> 0</ind><dep>-1.5</dep></entry>
<entry><ind>-1</ind><dep>-5.0</dep></entry>
</table>
</product>
<table>
<property>/orientation/pitch-deg</property>
<entry><ind>-18</ind><dep> 5</dep></entry>
<entry><ind>-15</ind><dep> 0</dep></entry>
<entry><ind> 30</ind><dep> 0</dep></entry>
<entry><ind> 33</ind><dep>-5</dep></entry>
</table>
</sum>
</expression>
</input>
<output>/it-fbw/pitch-rate</output>
</filter>
<filter>
<name>IT-CONTROLLER: PITCH KP (P Gain)</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<table>
<property>/velocities/mach</property>
<entry><ind>0.2</ind><dep>-0.31</dep></entry>
<entry><ind>0.9</ind><dep>-0.15</dep></entry>
</table>
</expression>
</input>
<output>/it-fbw/pitch-kp</output>
</filter>
<filter>
<name>IT-CONTROLLER: PITCH TI (I Time)</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<table>
<property>/velocities/mach</property>
<entry><ind>0.2</ind><dep>0.75</dep></entry>
<entry><ind>0.9</ind><dep>0.55</dep></entry>
</table>
</expression>
</input>
<output>/it-fbw/pitch-ti</output>
</filter>
<pid-controller>
<name>IT-CONTROLLER: PITCH</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
<or>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>1</value>
</equals>
</or>
</and>
</condition>
</enable>
<input>
<property>/orientation/pitch-rate-degps</property>
</input>
<reference>
<property>/it-fbw/pitch-rate</property>
</reference>
<output>
<property>/controls/flight/elevator-fbw-pid</property>
</output>
<config>
<Kp>
<property>/it-fbw/pitch-kp</property>
</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>
<property>/it-fbw/pitch-ti</property>
</Ti>
<Td>0.005</Td>
<u_min>-1</u_min>
<u_max>1</u_max>
</config>
</pid-controller>
<filter>
<name>IT-CONTROLLER: ELEVATOR INVERT</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<less-than-equals>
<property>/orientation/roll-deg</property>
<value>90</value>
</less-than-equals>
<greater-than-equals>
<property>/orientation/roll-deg</property>
<value>-90</value>
</greater-than-equals>
</and>
</condition>
<property>/controls/flight/elevator-fbw-pid</property>
</input>
<input>
<property>/controls/flight/elevator-fbw-pid</property>
<scale>-1.0</scale>
</input>
<output>/controls/flight/elevator-fbw-cmd</output>
</filter>
<filter>
<name>IT-CONTROLLER: PITCH OPTION</name>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<input>
<condition>
<and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
<or>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>1</value>
</equals>
</or>
</and>
</condition>
<property>/controls/flight/elevator-fbw-cmd</property>
</input>
<input>
<condition>
<and>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>0</value>
</equals>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>2</value>
</equals>
</or>
</and>
</condition>
<property>/controls/flight/elevator-input-fast</property>
</input>
<input>
<condition>
<and>
<or>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
</and>
</condition>
<value>0.1</value>
</input>
<input>
<condition>
<equals>
<property>/it-fbw/law</property>
<value>3</value>
</equals>
</condition>
<value>0</value>
</input>
<output>/controls/flight/elevator-fbw</output>
</filter>
<filter>
<name>IT-CONTROLLER: PITCH TRIM</name>
<debug>false</debug>
<initialize-to>output</initialize-to>
<type>noise-spike</type>
<enable>
<condition>
<and>
<or>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>1</value>
</equals>
</or>
<or>
<and>
<greater-than-equals>
<property>/position/gear-agl-ft</property>
<value>100</value>
</greater-than-equals>
<or>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</and>
<and>
<greater-than-equals>
<property>/position/gear-agl-ft</property>
<value>50</value>
</greater-than-equals>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>0</value>
</equals>
</and>
</or>
<less-than>
<property>/orientation/roll-deg</property>
<value>40</value>
</less-than>
<greater-than>
<property>/orientation/roll-deg</property>
<value>-40</value>
</greater-than>
<or>
<greater-than>
<property>/controls/flight/elevator-fbw</property>
<value>0.01</value>
</greater-than>
<less-than>
<property>/controls/flight/elevator-fbw</property>
<value>-0.01</value>
</less-than>
</or>
<less-than>
<property>/fdm/jsbsim/forces/load-factor</property>
<value>-0.5</value>
</less-than>
<not-equals>
<property>/it-fbw/protections/overspeed</property>
<value>1</value>
</not-equals>
</and>
</condition>
</enable>
<input>
<condition>
<greater-than>
<property>/controls/flight/elevator-fbw</property>
<value>0.01</value>
</greater-than>
</condition>
<value>1</value>
</input>
<input>
<condition>
<less-than>
<property>/controls/flight/elevator-fbw</property>
<value>-0.01</value>
</less-than>
</condition>
<value>-1</value>
</input>
<output>/controls/flight/elevator-trim</output>
<min>-1.0</min>
<max>0.32</max>
<max-rate-of-change>0.01</max-rate-of-change>
</filter>
</PropertyList>

View file

@ -1,747 +0,0 @@
<?xml version="1.0"?>
<!--
##############################################
# Copyright (c) Joshua Davidson (it0uchpods) #
##############################################
-->
<!-- Airbus A3XX FBW System -->
<!-- Joshua Davidson (it0uchpods) -->
<PropertyList>
<!-- =============================================================== -->
<!-- Lateral -->
<!-- =============================================================== -->
<filter>
<name>IT-CONTROLLER: ROLL</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<equals>
<property>/it-fbw/roll-lim</property>
<value>33</value>
</equals>
<not-equals>
<property>/it-fbw/roll-back</property>
<value>1</value>
</not-equals>
<not-equals>
<property>/it-fbw/protections/overspeed</property>
<value>1</value>
</not-equals>
</and>
</condition>
<expression>
<sum>
<table>
<property>/controls/flight/aileron-input</property>
<entry><ind>-1</ind><dep>-15.0</dep></entry>
<entry><ind> 0</ind><dep> 0.0</dep></entry>
<entry><ind> 1</ind><dep> 15.0</dep></entry>
</table>
<product>
<table>
<property>/orientation/roll-deg</property>
<entry><ind>-33.00000</ind><dep>1</dep></entry>
<entry><ind>-32.99999</ind><dep>0</dep></entry>
</table>
<table>
<property>/controls/flight/aileron-input</property>
<entry><ind>-1</ind><dep>15.0</dep></entry>
<entry><ind> 0</ind><dep> 0.0</dep></entry>
</table>
</product>
<product>
<table>
<property>/orientation/roll-deg</property>
<entry><ind>32.99999</ind><dep>0</dep></entry>
<entry><ind>33.00000</ind><dep>1</dep></entry>
</table>
<table>
<property>/controls/flight/aileron-input</property>
<entry><ind>0</ind><dep> 0.0</dep></entry>
<entry><ind>1</ind><dep>-15.0</dep></entry>
</table>
</product>
</sum>
</expression>
</input>
<input>
<condition>
<and>
<equals>
<property>/it-fbw/roll-lim</property>
<value>67</value>
</equals>
<not-equals>
<property>/it-fbw/protections/overspeed</property>
<value>1</value>
</not-equals>
</and>
</condition>
<expression>
<sum>
<table>
<property>/controls/flight/aileron-input</property>
<entry><ind>-1</ind><dep>-15.0</dep></entry>
<entry><ind> 0</ind><dep> 0.0</dep></entry>
<entry><ind> 1</ind><dep> 15.0</dep></entry>
</table>
<product>
<table>
<property>/orientation/roll-deg</property>
<entry><ind>-67.00000</ind><dep>1</dep></entry>
<entry><ind>-66.99999</ind><dep>0</dep></entry>
</table>
<table>
<property>/controls/flight/aileron-input</property>
<entry><ind>-1</ind><dep>15.0</dep></entry>
<entry><ind> 0</ind><dep> 0.0</dep></entry>
</table>
</product>
<product>
<table>
<property>/orientation/roll-deg</property>
<entry><ind>66.99999</ind><dep>0</dep></entry>
<entry><ind>67.00000</ind><dep>1</dep></entry>
</table>
<table>
<property>/controls/flight/aileron-input</property>
<entry><ind>0</ind><dep> 0.0</dep></entry>
<entry><ind>1</ind><dep>-15.0</dep></entry>
</table>
</product>
</sum>
</expression>
</input>
<input>
<condition>
<and>
<equals>
<property>/it-fbw/roll-back</property>
<value>1</value>
</equals>
<not-equals>
<property>/it-fbw/protections/overspeed</property>
<value>1</value>
</not-equals>
</and>
</condition>
<expression>
<table>
<property>/orientation/roll-deg</property>
<entry><ind>-67</ind><dep> 25.0</dep></entry>
<entry><ind>-40</ind><dep> 10.0</dep></entry>
<entry><ind>-33</ind><dep> 0.0</dep></entry>
<entry><ind> 33</ind><dep> 0.0</dep></entry>
<entry><ind> 40</ind><dep>-10.0</dep></entry>
<entry><ind> 67</ind><dep>-25.0</dep></entry>
</table>
</expression>
</input>
<input>
<condition>
<and>
<equals>
<property>/it-fbw/protections/overspeed</property>
<value>1</value>
</equals>
<not-equals>
<property>/it-fbw/protections/overspeed-roll-back</property>
<value>1</value>
</not-equals>
</and>
</condition>
<expression>
<sum>
<table>
<property>/controls/flight/aileron-input</property>
<entry><ind>-1</ind><dep>-15.0</dep></entry>
<entry><ind> 0</ind><dep> 0.0</dep></entry>
<entry><ind> 1</ind><dep> 15.0</dep></entry>
</table>
<product>
<table>
<property>/orientation/roll-deg</property>
<entry><ind>-40.00000</ind><dep>1</dep></entry>
<entry><ind>-39.99999</ind><dep>0</dep></entry>
</table>
<table>
<property>/controls/flight/aileron-input</property>
<entry><ind>-1</ind><dep>15.0</dep></entry>
<entry><ind> 0</ind><dep> 0.0</dep></entry>
</table>
</product>
<product>
<table>
<property>/orientation/roll-deg</property>
<entry><ind>39.99999</ind><dep>0</dep></entry>
<entry><ind>40.00000</ind><dep>1</dep></entry>
</table>
<table>
<property>/controls/flight/aileron-input</property>
<entry><ind>0</ind><dep> 0.0</dep></entry>
<entry><ind>1</ind><dep>-15.0</dep></entry>
</table>
</product>
</sum>
</expression>
</input>
<input>
<condition>
<and>
<equals>
<property>/it-fbw/protections/overspeed</property>
<value>1</value>
</equals>
<equals>
<property>/it-fbw/protections/overspeed-roll-back</property>
<value>1</value>
</equals>
</and>
</condition>
<expression>
<table>
<property>/orientation/roll-deg</property>
<entry><ind>-40</ind><dep> 25.0</dep></entry>
<entry><ind>-15</ind><dep> 10.0</dep></entry>
<entry><ind> 0</ind><dep> 0.0</dep></entry>
<entry><ind> 15</ind><dep>-10.0</dep></entry>
<entry><ind> 40</ind><dep>-25.0</dep></entry>
</table>
</expression>
</input>
<output>/it-fbw/roll-rate</output>
</filter>
<filter>
<name>IT-CONTROLLER: ROLL KP (P Gain)</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<table>
<property>/velocities/mach</property>
<entry><ind>0.2</ind><dep>0.13</dep></entry>
<entry><ind>0.9</ind><dep>0.06</dep></entry>
</table>
</expression>
</input>
<output>/it-fbw/roll-kp</output>
</filter>
<filter>
<name>IT-CONTROLLER: ROLL TI (I Time)</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<table>
<property>/velocities/mach</property>
<entry><ind>0.2</ind><dep>0.75</dep></entry>
<entry><ind>0.9</ind><dep>0.65</dep></entry>
</table>
</expression>
</input>
<output>/it-fbw/roll-ti</output>
</filter>
<pid-controller>
<name>IT-CONTROLLER: ROLL</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
</and>
</condition>
</enable>
<input>
<property>/orientation/roll-rate-degps</property>
</input>
<reference>
<property>/it-fbw/roll-rate</property>
</reference>
<output>
<property>/controls/flight/aileron-fbw-cmd</property>
</output>
<config>
<Kp>
<property>/it-fbw/roll-kp</property>
</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>
<property>/it-fbw/roll-ti</property>
</Ti>
<Td>0.005</Td>
<u_min>-1</u_min>
<u_max>1</u_max>
</config>
</pid-controller>
<filter>
<name>IT-CONTROLLER: ROLL OPTION</name>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<input>
<condition>
<and>
<or>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
<and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
</and>
</or>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
</and>
</condition>
<property>/controls/flight/aileron-fbw-cmd</property>
</input>
<input>
<condition>
<and>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>0</value>
</equals>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>1</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>2</value>
</equals>
</or>
</and>
</condition>
<property>/controls/flight/aileron-input-fast</property>
</input>
<input>
<condition>
<and>
<or>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
</and>
</condition>
<property>/controls/flight/rudder</property>
<scale>-1</scale>
</input>
<input>
<condition>
<equals>
<property>/it-fbw/law</property>
<value>3</value>
</equals>
</condition>
<value>0</value>
</input>
<output>/controls/flight/roll-fbw</output>
</filter>
<filter>
<name>IT-CONTROLLER: SPOILER</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<equals>
<property>/it-fbw/roll-back</property>
<value>0</value>
</equals>
</condition>
<expression>
<product>
<property>/controls/flight/aileron-input</property>
<table>
<property>/instrumentation/airspeed-indicator/indicated-mach</property>
<entry><ind>0.2</ind><dep>1.00</dep></entry>
<entry><ind>0.9</ind><dep>0.25</dep></entry>
</table>
</product>
</expression>
</input>
<input>
<condition>
<equals>
<property>/it-fbw/roll-back</property>
<value>1</value>
</equals>
</condition>
<value>0</value>
</input>
<output>/controls/flight/spoiler-input</output>
</filter>
<filter>
<name>IT-CONTROLLER: LEFT SPOILER</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<equals>
<property>/systems/failures/aileron-left</property>
<value>0</value>
</equals>
<not-equals>
<property>/it-fbw/law</property>
<value>3</value>
</not-equals>
</and>
</condition>
<expression>
<table>
<property>/controls/flight/spoiler-input</property>
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
<entry><ind>-0.2</ind><dep> 0.0</dep></entry>
<entry><ind> 0.0</ind><dep> 0.0</dep></entry>
<entry><ind> 0.2</ind><dep> 0.0</dep></entry>
<entry><ind> 1.0</ind><dep> 1.0</dep></entry>
</table>
</expression>
</input>
<input>
<condition>
<and>
<equals>
<property>/systems/failures/aileron-left</property>
<value>1</value>
</equals>
<not-equals>
<property>/it-fbw/law</property>
<value>3</value>
</not-equals>
</and>
</condition>
<expression>
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
<entry><ind> 0.0</ind><dep> 0.0</dep></entry>
<entry><ind> 1.0</ind><dep> 1.0</dep></entry>
</table>
</expression>
</input>
<input>0</input>
<output>/controls/flight/spoiler-left-fbw-cmd</output>
<min>-1</min>
<max>1</max>
</filter>
<filter>
<name>IT-CONTROLLER: RIGHT SPOILER</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<equals>
<property>/systems/failures/aileron-right</property>
<value>0</value>
</equals>
<not-equals>
<property>/it-fbw/law</property>
<value>3</value>
</not-equals>
</and>
</condition>
<expression>
<table>
<property>/controls/flight/spoiler-input</property>
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
<entry><ind>-0.2</ind><dep> 0.0</dep></entry>
<entry><ind> 0.0</ind><dep> 0.0</dep></entry>
<entry><ind> 0.2</ind><dep> 0.0</dep></entry>
<entry><ind> 1.0</ind><dep> 1.0</dep></entry>
</table>
</expression>
</input>
<input>
<condition>
<and>
<equals>
<property>/systems/failures/aileron-right</property>
<value>1</value>
</equals>
<not-equals>
<property>/it-fbw/law</property>
<value>3</value>
</not-equals>
</and>
</condition>
<expression>
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
<entry><ind> 0.0</ind><dep> 0.0</dep></entry>
<entry><ind> 1.0</ind><dep> 1.0</dep></entry>
</table>
</expression>
</input>
<input>0</input>
<output>/controls/flight/spoiler-right-fbw-cmd</output>
<min>-1</min>
<max>1</max>
</filter>
<!-- =============================================================== -->
<!-- Yaw Damper/Turn Coordinator -->
<!-- =============================================================== -->
<filter>
<name>IT-CONTROLLER: YAW DAMPER/TURN COORDINATOR FEEDBACK IF DISABLED</name>
<enable>
<condition>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
<not-equals>
<property>/it-fbw/law</property>
<value>0</value>
</not-equals>
<greater-than-equals>
<property>/controls/flight/rudder</property>
<value>0.1</value>
</greater-than-equals>
<less-than-equals>
<property>/controls/flight/rudder</property>
<value>-0.1</value>
</less-than-equals>
<less-than>
<property>/position/gear-agl-ft</property>
<value>50</value>
</less-than>
<equals>
<property>/it-autoflight/output/lat</property>
<value>4</value>
</equals>
</or>
</condition>
</enable>
<type>gain</type>
<gain>1.0</gain>
<input>0</input>
<output>/controls/flight/rudder-fbw-cmd</output>
<min>-0.2</min>
<max>0.2</max>
</filter>
<pid-controller>
<name>IT-CONTROLLER: YAW DAMPER/TURN COORDINATOR</name>
<debug>false</debug>
<enable>
<condition>
<and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
<greater-than-equals>
<property>/position/gear-agl-ft</property>
<value>50</value>
</greater-than-equals>
<not-equals>
<property>/it-autoflight/output/lat</property>
<value>4</value>
</not-equals>
<less-than>
<property>/controls/flight/rudder</property>
<value>0.1</value>
</less-than>
<greater-than>
<property>/controls/flight/rudder</property>
<value>-0.1</value>
</greater-than>
</and>
</condition>
</enable>
<input>
<property>/instrumentation/slip-skid-ball/indicated-slip-skid</property>
</input>
<reference>
<value>0</value>
</reference>
<output>
<property>/controls/flight/rudder-fbw-cmd</property>
</output>
<config>
<Kp>0.025</Kp>
<beta>1</beta>
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>3.0</Ti>
<Td>0.00001</Td>
<u_min>-0.2</u_min>
<u_max>0.2</u_max>
</config>
</pid-controller>
<filter>
<name>IT-CONTROLLER: RUDDER OPTION</name>
<debug>false</debug>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<input>
<condition>
<and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/it-fbw/law</property>
<value>0</value>
</equals>
<less-than>
<property>/controls/flight/rudder</property>
<value>0.1</value>
</less-than>
<greater-than>
<property>/controls/flight/rudder</property>
<value>-0.1</value>
</greater-than>
<greater-than-equals>
<property>/position/gear-agl-ft</property>
<value>50</value>
</greater-than-equals>
<not-equals>
<property>/it-autoflight/output/lat</property>
<value>4</value>
</not-equals>
</and>
</condition>
<property>/controls/flight/rudder-fbw-cmd</property>
</input>
<input>
<condition>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
<not-equals>
<property>/it-fbw/law</property>
<value>0</value>
</not-equals>
<greater-than-equals>
<property>/controls/flight/rudder</property>
<value>0.1</value>
</greater-than-equals>
<less-than-equals>
<property>/controls/flight/rudder</property>
<value>-0.1</value>
</less-than-equals>
<less-than>
<property>/position/gear-agl-ft</property>
<value>50</value>
</less-than>
<equals>
<property>/it-autoflight/output/lat</property>
<value>4</value>
</equals>
</or>
</condition>
<property>/controls/flight/rudder</property>
</input>
<output>/controls/flight/rudder-fbw</output>
<type>noise-spike</type>
<max-rate-of-change>2.5</max-rate-of-change>
</filter>
</PropertyList>

View file

@ -657,20 +657,6 @@
<debug>false</debug>
<type>gain</type>
<gain>0.15</gain>
<enable>
<condition>
<or>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</condition>
</enable>
<input>
<property>/orientation/pitch-deg</property>
</input>
@ -678,7 +664,7 @@
<property>/it-autoflight/internal/target-pitch-deg</property>
</reference>
<output>
<property>/it-autoflight/internal/elevator-cmd</property> <!-- Inputs to the FBW Pitch Rate -->
<property>/fdm/jsbsim/fbw/fmgc/pitch-cmd</property> <!-- Inputs to the FBW Pitch Rate -->
</output>
<min>-0.3</min>
<max>0.3</max>

View file

@ -197,20 +197,6 @@
<debug>false</debug>
<type>gain</type>
<gain>-0.1</gain>
<enable>
<condition>
<or>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</condition>
</enable>
<input>
<property>/orientation/roll-deg</property>
</input>
@ -245,7 +231,7 @@
<value>0</value>
</reference>
<output>
<property>/it-autoflight/internal/aileron-cmd</property> <!-- Inputs to the FBW Roll Rate -->
<property>/fdm/jsbsim/fbw/fmgc/roll-cmd</property> <!-- Inputs to the FBW Roll Rate -->
</output>
<min>-0.32</min>
<max>0.32</max>
@ -315,20 +301,6 @@
<debug>false</debug>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<enable>
<condition>
<or>
<equals>
<property>/it-autoflight/output/ap1</property>
<value>1</value>
</equals>
<equals>
<property>/it-autoflight/output/ap2</property>
<value>1</value>
</equals>
</or>
</condition>
</enable>
<input>
<condition>
<not-equals>
@ -347,7 +319,7 @@
</condition>
<property>/it-autoflight/internal/rudder-cmd</property>
</input>
<output>/controls/flight/rudder</output>
<output>/fdm/jsbsim/fbw/fmgc/yaw-cmd</output>
<type>noise-spike</type>
<max-rate-of-change>0.6</max-rate-of-change>
</filter>

View file

@ -276,8 +276,8 @@
<product>
<table>
<product><property>/engines/engine[0]/n1-actual</property><value>0.01</value> </product>
<entry><ind>0.15</ind> <dep>0.40</dep></entry>
<entry><ind>0.22</ind> <dep>0.85</dep></entry>
<entry><ind>0.15</ind> <dep>0.50</dep></entry>
<entry><ind>0.22</ind> <dep>1.00</dep></entry>
<entry><ind>0.50</ind> <dep>1.30</dep></entry>
</table>
</product>
@ -296,8 +296,8 @@
<product>
<table>
<product><property>/engines/engine[1]/n1-actual</property><value>0.01</value> </product>
<entry><ind>0.15</ind> <dep>0.40</dep></entry>
<entry><ind>0.22</ind> <dep>0.85</dep></entry>
<entry><ind>0.15</ind> <dep>0.50</dep></entry>
<entry><ind>0.22</ind> <dep>1.00</dep></entry>
<entry><ind>0.50</ind> <dep>1.30</dep></entry>
</table>
</product>