2019-10-14 16:48:35 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!-- IT-AUTOFLIGHT -->
|
2022-12-31 17:56:08 +00:00
|
|
|
<!-- Copyright (c) 2023 Josh Davidson (Octal450) -->
|
2019-10-14 16:48:35 +00:00
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<!-- Roll Axis -->
|
|
|
|
<filter>
|
2020-07-08 20:14:55 +00:00
|
|
|
<name>IT-CONTROLLER: Heading/LNAV</name>
|
2019-10-14 16:48:35 +00:00
|
|
|
<type>gain</type>
|
|
|
|
<gain>
|
|
|
|
<expression>
|
|
|
|
<table>
|
2021-04-23 20:30:35 +00:00
|
|
|
<property>/velocities/airspeed-kt</property>
|
2021-08-16 17:27:05 +00:00
|
|
|
<entry><ind>140</ind><dep>1.6</dep></entry>
|
|
|
|
<entry><ind>360</ind><dep>2.6</dep></entry>
|
2019-10-14 16:48:35 +00:00
|
|
|
</table>
|
|
|
|
</expression>
|
|
|
|
</gain>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
2022-03-12 20:19:36 +00:00
|
|
|
<property>/it-autoflight/output/apfd-on</property>
|
2019-10-14 16:48:35 +00:00
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>/it-autoflight/internal/heading-error-deg</input>
|
|
|
|
<reference>0</reference>
|
|
|
|
<output>/it-autoflight/internal/target-roll-deg</output>
|
|
|
|
<min>
|
|
|
|
<property>/it-autoflight/internal/bank-limit</property>
|
|
|
|
<scale>-1.0</scale>
|
|
|
|
</min>
|
|
|
|
<max>/it-autoflight/internal/bank-limit</max>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
2020-07-08 20:14:55 +00:00
|
|
|
<name>IT-CONTROLLER: VOR/LOC</name>
|
2019-10-14 16:48:35 +00:00
|
|
|
<type>gain</type>
|
2020-05-03 15:33:03 +00:00
|
|
|
<gain>
|
|
|
|
<expression>
|
|
|
|
<table>
|
2021-04-23 20:30:35 +00:00
|
|
|
<property>/velocities/airspeed-kt</property>
|
2021-08-16 17:27:05 +00:00
|
|
|
<entry><ind>140</ind><dep>1.6</dep></entry>
|
|
|
|
<entry><ind>360</ind><dep>2.6</dep></entry>
|
2020-05-03 15:33:03 +00:00
|
|
|
</table>
|
|
|
|
</expression>
|
|
|
|
</gain>
|
2019-10-14 16:48:35 +00:00
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
2022-03-12 20:19:36 +00:00
|
|
|
<property>/it-autoflight/output/apfd-on</property>
|
2019-10-14 16:48:35 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>/it-autoflight/internal/nav-heading-error-deg</input>
|
|
|
|
<reference>0</reference>
|
|
|
|
<output>/it-autoflight/internal/target-roll-deg</output>
|
|
|
|
<min>
|
|
|
|
<property>/it-autoflight/internal/bank-limit</property>
|
|
|
|
<scale>-1.0</scale>
|
|
|
|
</min>
|
|
|
|
<max>/it-autoflight/internal/bank-limit</max>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
2020-07-08 20:14:55 +00:00
|
|
|
<name>IT-CONTROLLER: Align/Rollout/Takeoff</name>
|
2021-07-14 03:05:12 +00:00
|
|
|
<type>gain</type>
|
2021-07-14 03:08:58 +00:00
|
|
|
<gain>1.0</gain>
|
2020-07-08 20:14:55 +00:00
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>5</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>0</input>
|
|
|
|
<output>/it-autoflight/internal/target-roll-deg</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>System Command: Roll Target Inactive Sync</name>
|
2019-10-14 16:48:35 +00:00
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
2021-10-12 20:06:16 +00:00
|
|
|
<or>
|
2022-03-12 18:30:41 +00:00
|
|
|
<not><property>/it-autoflight/output/apfd-on</property></not>
|
2021-10-12 20:06:16 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>9</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2019-10-14 16:48:35 +00:00
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>/orientation/roll-deg</input>
|
|
|
|
<output>/it-autoflight/internal/target-roll-deg</output>
|
|
|
|
<min>
|
|
|
|
<property>/it-autoflight/internal/bank-limit</property>
|
|
|
|
<scale>-1.0</scale>
|
|
|
|
</min>
|
|
|
|
<max>/it-autoflight/internal/bank-limit</max>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
2020-07-08 20:14:55 +00:00
|
|
|
<name>System Command: Target Roll Filter</name>
|
2019-10-14 16:48:35 +00:00
|
|
|
<type>noise-spike</type>
|
|
|
|
<input>/it-autoflight/internal/target-roll-deg</input>
|
|
|
|
<output>/it-autoflight/internal/target-roll</output>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
2021-10-12 20:06:16 +00:00
|
|
|
<or>
|
2022-03-12 18:30:41 +00:00
|
|
|
<not><property>/it-autoflight/output/apfd-on</property></not>
|
2021-10-12 20:06:16 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>9</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2019-10-14 16:48:35 +00:00
|
|
|
</condition>
|
2021-10-12 20:06:16 +00:00
|
|
|
<value>1000</value>
|
2019-10-14 16:48:35 +00:00
|
|
|
</max-rate-of-change>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
2022-03-12 18:30:41 +00:00
|
|
|
<not><property>/it-autoflight/output/ap-on</property></not>
|
2019-10-14 16:48:35 +00:00
|
|
|
</condition>
|
|
|
|
<value>15</value>
|
|
|
|
</max-rate-of-change>
|
|
|
|
<max-rate-of-change>6</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
2020-07-08 20:14:55 +00:00
|
|
|
<name>System Command: Roll Rate Target</name>
|
2019-10-14 16:48:35 +00:00
|
|
|
<type>gain</type>
|
2022-01-19 19:52:44 +00:00
|
|
|
<gain>-0.06</gain>
|
2019-10-14 16:48:35 +00:00
|
|
|
<input>/orientation/roll-deg</input>
|
|
|
|
<reference>/it-autoflight/internal/target-roll</reference>
|
|
|
|
<output>/fdm/jsbsim/fbw/fmgc/roll-cmd</output> <!-- Inputs to the FBW Roll -->
|
2022-01-19 19:52:44 +00:00
|
|
|
<min>-0.33</min>
|
|
|
|
<max>0.33</max>
|
2019-10-14 16:48:35 +00:00
|
|
|
</filter>
|
|
|
|
|
|
|
|
<!-- Yaw Axis -->
|
|
|
|
<pi-simple-controller>
|
2020-07-08 20:14:55 +00:00
|
|
|
<name>IT-CONTROLLER: Yaw VOR/LOC</name>
|
2019-10-14 16:48:35 +00:00
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>/it-autoflight/internal/nav-heading-error-deg</input>
|
|
|
|
<reference>0</reference>
|
|
|
|
<output>/it-autoflight/internal/rudder-cmd</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
|
|
|
<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>-0.05</value>
|
|
|
|
</Kp>
|
|
|
|
<Kp>-0.02</Kp>
|
|
|
|
<Ki>0</Ki>
|
|
|
|
</config>
|
|
|
|
<min>-0.15</min>
|
|
|
|
<max>0.15</max>
|
|
|
|
</pi-simple-controller>
|
|
|
|
|
|
|
|
<filter>
|
2020-07-08 20:14:55 +00:00
|
|
|
<name>System Command: Rudder</name>
|
2019-10-14 16:48:35 +00:00
|
|
|
<type>noise-spike</type>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
2022-03-12 18:30:41 +00:00
|
|
|
<property>/it-autoflight/output/ap-on</property>
|
2019-10-14 16:48:35 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/rudder-cmd</property>
|
|
|
|
</input>
|
|
|
|
<input>0</input>
|
|
|
|
<output>/fdm/jsbsim/fbw/fmgc/yaw-cmd</output> <!-- Inputs to the FBW Yaw -->
|
|
|
|
<max-rate-of-change>1.2</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
</PropertyList>
|