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/fmgc-drivers.xml

798 lines
20 KiB
XML
Raw Normal View History

2017-06-03 21:52:43 +00:00
<?xml version="1.0"?>
<!--
2017-11-16 19:29:08 +00:00
##############################################
# Copyright (c) Joshua Davidson (it0uchpods) #
##############################################
-->
2017-06-03 21:52:43 +00:00
<!-- IT-AUTOFLIGHT -->
<PropertyList>
2017-06-03 21:52:43 +00:00
<!-- =============================================================== -->
<!-- Predictors -->
<!-- =============================================================== -->
<predict-simple>
<name>HEADING 5 SECONDS AHEAD</name>
<debug>false</debug>
<input>
<condition>
<equals>
<property>/it-autoflight/input/trk</property>
<value>0</value>
</equals>
</condition>
2017-11-16 21:06:58 +00:00
<property>/it-autoflight/internal/heading-deg</property>
</input>
<input>
<condition>
<equals>
<property>/it-autoflight/input/trk</property>
<value>1</value>
</equals>
</condition>
2017-11-16 21:06:58 +00:00
<property>/it-autoflight/internal/track-deg</property>
</input>
<output>/it-autoflight/internal/heading-5-sec-ahead</output>
<seconds>5.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
2017-06-03 21:52:43 +00:00
<predict-simple>
<name>ALTITUDE 5 SECONDS AHEAD</name>
<debug>false</debug>
<input>/instrumentation/altimeter/indicated-altitude-ft</input>
<output>/it-autoflight/internal/altitude-5-sec-ahead</output>
<seconds>5.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<predict-simple>
<name>IAS 5 SECOND PREDICTOR</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
<output>/it-autoflight/internal/lookahead-5-sec-airspeed-kt</output>
<seconds>5.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<predict-simple>
<name>IAS 10 SECOND PREDICTOR</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
<output>/it-autoflight/internal/lookahead-10-sec-airspeed-kt</output>
<seconds>10.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<predict-simple>
<name>IAS 15 SECOND PREDICTOR</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
<output>/it-autoflight/internal/lookahead-15-sec-airspeed-kt</output>
<seconds>15.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<predict-simple>
<name>MACH 5 SECOND PREDICTOR</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
<output>/it-autoflight/internal/lookahead-5-sec-mach</output>
<seconds>5.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<predict-simple>
<name>MACH 10 SECOND PREDICTOR</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
<output>/it-autoflight/internal/lookahead-10-sec-mach</output>
<seconds>10.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<predict-simple>
<name>MACH 15 SECOND PREDICTOR</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
<output>/it-autoflight/internal/lookahead-15-sec-mach</output>
<seconds>15.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<!-- =============================================================== -->
2017-06-09 22:27:30 +00:00
<!-- Autopilot Helpers/Calculators -->
2017-06-03 21:52:43 +00:00
<!-- =============================================================== -->
2017-10-05 01:01:25 +00:00
<filter>
<name>AUTOLAND FD FPM</name>
<type>gain</type>
<gain>1.0</gain>
2017-10-05 01:01:25 +00:00
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/position/gear-agl-ft</property>
<entry><ind>100</ind><dep>-650</dep></entry>
2017-10-05 01:01:25 +00:00
<entry><ind> 50</ind><dep>-500</dep></entry>
<entry><ind> 45</ind><dep> -70</dep></entry>
</table>
</expression>
</input>
<output>/it-autoflight/internal/target-fpm-c2</output>
</filter>
2017-06-03 21:52:43 +00:00
2017-10-05 01:01:25 +00:00
<filter>
<name>AUTOLAND FPM</name>
<type>gain</type>
<gain>1.0</gain>
2017-10-05 01:01:25 +00:00
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/position/gear-agl-ft</property>
<entry><ind>100</ind><dep>-650</dep></entry>
2017-10-05 01:01:25 +00:00
<entry><ind> 50</ind><dep>-500</dep></entry>
<entry><ind> 40</ind><dep>-400</dep></entry>
<entry><ind> 30</ind><dep>-300</dep></entry>
<entry><ind> 20</ind><dep>-180</dep></entry>
<entry><ind> 10</ind><dep>-100</dep></entry>
<entry><ind> 5</ind><dep> -70</dep></entry>
</table>
</expression>
</input>
2017-06-13 00:14:10 +00:00
<output>/it-autoflight/internal/target-fpm-c</output>
2017-10-05 01:01:25 +00:00
</filter>
2017-06-13 00:14:10 +00:00
2017-06-09 22:27:30 +00:00
<filter>
<name>FMGC MNG SPD</name>
<type>gain</type>
<gain>1.0</gain>
2017-06-09 22:27:30 +00:00
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<product>
<value>266</value>
2017-06-09 22:27:30 +00:00
<table>
<property>/FMGC/internal/cost-index</property>
2017-07-24 18:08:56 +00:00
<entry><ind> 0</ind><dep>1.00</dep></entry>
2017-10-22 19:11:31 +00:00
<entry><ind>120</ind><dep>1.19</dep></entry>
2017-06-09 22:27:30 +00:00
</table>
</product>
</expression>
</input>
<output>/FMGC/internal/mng-alt-spd</output>
<min>250</min>
<max>345</max>
2017-06-09 22:27:30 +00:00
</filter>
<filter>
<name>FMGC MNG MACH</name>
<type>gain</type>
<gain>1.0</gain>
2017-06-09 22:27:30 +00:00
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<product>
<table>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<entry><ind>20000</ind><dep>0.625</dep></entry>
<entry><ind>42000</ind><dep>0.805</dep></entry>
2017-06-09 22:27:30 +00:00
</table>
<table>
<property>/FMGC/internal/cost-index</property>
<entry><ind> 0</ind><dep>0.97</dep></entry>
<entry><ind>120</ind><dep>1.05</dep></entry>
2017-06-09 22:27:30 +00:00
</table>
</product>
</expression>
</input>
<output>/FMGC/internal/mng-alt-mach</output>
<min>0.500</min>
<max>0.815</max>
2017-06-09 22:27:30 +00:00
</filter>
<filter>
<name>FMGC Target IAS PFD</name>
<type>gain</type>
<gain>1.0</gain>
2017-06-09 22:27:30 +00:00
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<condition>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</condition>
<property>/it-autoflight/input/spd-kts</property>
</input>
<input>
<condition>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</condition>
<expression>
<product>
<div>
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
<property>/instrumentation/airspeed-indicator/indicated-mach</property>
</div>
<property>/it-autoflight/input/spd-mach</property>
</product>
</expression>
2017-10-05 01:01:25 +00:00
</input>
2017-06-09 22:27:30 +00:00
<output>/FMGC/internal/target-ias-pfd</output>
</filter>
2017-06-03 21:52:43 +00:00
<filter>
<name>KTS INPUT FILTER</name>
<debug>false</debug>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<input>
2017-06-03 22:26:45 +00:00
<condition>
<not-equals>
<property>/it-autoflight/mode/vert</property>
<value>T/O CLB</value>
</not-equals>
</condition>
2017-06-03 21:52:43 +00:00
<property>/it-autoflight/input/spd-kts</property>
</input>
2017-06-03 22:26:45 +00:00
<input>
<condition>
<equals>
<property>/it-autoflight/mode/vert</property>
<value>T/O CLB</value>
</equals>
</condition>
<property>/it-autoflight/settings/togaspd</property>
</input>
2017-06-03 21:52:43 +00:00
<output>/it-autoflight/internal/flch-kts</output>
<type>noise-spike</type>
<max-rate-of-change>
<condition>
<or>
2017-09-06 18:00:30 +00:00
<and>
<not-equals>
<property>/it-autoflight/output/vert</property>
<value>4</value>
</not-equals>
<not-equals>
<property>/it-autoflight/output/vert</property>
<value>7</value>
</not-equals>
</and>
2017-06-03 21:52:43 +00:00
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
</condition>
<value>100</value>
</max-rate-of-change>
<max-rate-of-change>
<condition>
<and>
2017-09-06 18:00:30 +00:00
<or>
<equals>
<property>/it-autoflight/output/vert</property>
<value>4</value>
</equals>
<equals>
<property>/it-autoflight/output/vert</property>
<value>7</value>
</equals>
</or>
2017-06-03 21:52:43 +00:00
<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>5</value>
</max-rate-of-change>
</filter>
<filter>
<name>MACH INPUT FILTER</name>
<debug>false</debug>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<input>
<property>/it-autoflight/input/spd-mach</property>
</input>
<output>/it-autoflight/internal/flch-mach</output>
<type>noise-spike</type>
<max-rate-of-change>
<condition>
<or>
2017-09-06 18:00:30 +00:00
<not-equals>
<property>/it-autoflight/output/vert</property>
<value>4</value>
</not-equals>
2017-06-03 21:52:43 +00:00
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
</condition>
<value>1</value>
</max-rate-of-change>
<max-rate-of-change>
<condition>
<and>
2017-09-06 18:00:30 +00:00
<equals>
<property>/it-autoflight/output/vert</property>
<value>4</value>
</equals>
2017-06-03 21:52:43 +00:00
<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>
</max-rate-of-change>
</filter>
2017-10-05 01:01:25 +00:00
<filter>
<name>IAS SYNC</name>
<type>gain</type>
<gain>1.0</gain>
2017-06-03 21:52:43 +00:00
<enable>
<condition>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</condition>
</enable>
2017-10-05 01:01:25 +00:00
<update-interval-secs type="double">0.5</update-interval-secs>
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
2017-06-03 21:52:43 +00:00
<output>/it-autoflight/input/spd-kts</output>
2017-10-05 01:01:25 +00:00
</filter>
2017-06-03 21:52:43 +00:00
2017-10-05 01:01:25 +00:00
<filter>
<name>MACH SYNC</name>
<type>gain</type>
<gain>1.0</gain>
2017-06-03 21:52:43 +00:00
<enable>
<condition>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</condition>
</enable>
2017-10-05 01:01:25 +00:00
<update-interval-secs type="double">0.5</update-interval-secs>
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
2017-06-03 21:52:43 +00:00
<output>/it-autoflight/input/spd-mach</output>
2017-10-05 01:01:25 +00:00
</filter>
2017-11-16 21:06:58 +00:00
<filter>
<name>HEADING DEG</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<property>/instrumentation/efis/mfd/true-north</property>
</condition>
<property>/orientation/heading-deg</property>
</input>
<input>
<property>/orientation/heading-magnetic-deg</property>
</input>
<reference>0</reference>
<output>/it-autoflight/internal/heading-deg</output>
<output>/instrumentation/pfd/heading-deg</output>
</filter>
<filter>
<name>TRACK DEG</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<property>/instrumentation/efis/mfd/true-north</property>
<greater-than>
<property>/velocities/groundspeed-kt</property>
<value>1</value>
</greater-than>
</and>
</condition>
<property>/orientation/track-deg</property>
</input>
<input>
<condition>
<and>
<not><property>/instrumentation/efis/mfd/true-north</property></not>
<greater-than>
<property>/velocities/groundspeed-kt</property>
<value>1</value>
</greater-than>
</and>
</condition>
<property>/orientation/track-magnetic-deg</property>
</input>
<input>/instrumentation/pfd/heading-deg</input>
<reference>0</reference>
<output>/it-autoflight/internal/track-deg</output>
<output>/instrumentation/pfd/track-deg</output>
</filter>
<filter>
<name>DRIFT ANGLE</name>
<type>gain</type>
<gain>1.0</gain>
<input>/orientation/track-magnetic-deg</input>
<reference>/orientation/heading-magnetic-deg</reference>
<output>/it-autoflight/internal/drift-angle-deg</output>
<period>
<min>-180</min>
<max>180</max>
</period>
</filter>
2017-06-03 21:52:43 +00:00
<filter>
<name>HEADING ERROR DEG</name>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
2017-06-03 21:52:43 +00:00
<input>
<condition>
<and>
<equals>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/input/trk</property>
<value>0</value>
</equals>
</and>
</condition>
<property>/it-autoflight/input/hdg</property>
<offset>
2017-11-16 21:06:58 +00:00
<property>/it-autoflight/internal/heading-deg</property>
2017-06-03 21:52:43 +00:00
<scale>-1.0</scale>
</offset>
</input>
<input>
<condition>
<and>
<equals>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/input/trk</property>
<value>1</value>
</equals>
</and>
</condition>
<property>/it-autoflight/input/hdg</property>
<offset>
2017-11-16 21:06:58 +00:00
<property>/it-autoflight/internal/track-deg</property>
2017-06-03 21:52:43 +00:00
<scale>-1.0</scale>
</offset>
</input>
<input>
<condition>
<equals>
<property>/it-autoflight/output/lat</property>
<value>1</value>
</equals>
</condition>
<expression>
<sum>
<property>/autopilot/route-manager/wp[0]/true-bearing-deg</property>
<product>
<property>/it-autoflight/internal/drift-angle-deg</property>
<value>-1</value>
</product>
<product>
<property>/orientation/heading-deg</property>
<value>-1</value>
</product>
</sum>
</expression>
2017-06-03 21:52:43 +00:00
</input>
<input>
<condition>
<and>
<not-equals>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</not-equals>
<not-equals>
<property>/it-autoflight/output/lat</property>
<value>1</value>
</not-equals>
</and>
</condition>
<value>0</value>
</input>
<output>/it-autoflight/internal/heading-error-deg</output>
<period>
<min>-180</min>
<max>180</max>
</period>
</filter>
<filter>
<name>VERT SPEED SYNC</name>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<enable>
<condition>
<not-equals>
<property>/it-autoflight/output/vert</property>
<value>1</value>
</not-equals>
</condition>
</enable>
<input>
<expression>
<floor>
<property>/it-autoflight/internal/vert-speed-fpm</property>
</floor>
</expression>
</input>
<output>/it-autoflight/input/vs</output>
</filter>
2017-06-03 21:52:43 +00:00
<filter>
<name>VERT SPEED FILTER</name>
<debug>false</debug>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<input>
<property>/it-autoflight/input/vs</property>
</input>
<output>/it-autoflight/internal/vs</output>
<type>noise-spike</type>
<max-rate-of-change>
<condition>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
</condition>
<value>2000</value>
</max-rate-of-change>
<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>300</value>
</max-rate-of-change>
</filter>
<filter>
<name>NAV ERROR DEG</name>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
2017-06-03 21:52:43 +00:00
<input>
<property>/instrumentation/nav[0]/radials/target-auto-hdg-deg</property>
<offset>
<property>/orientation/heading-deg</property>
<scale>-1.0</scale>
</offset>
</input>
<output>/it-autoflight/internal/nav-heading-error-deg</output>
<period>
<min>-180</min>
<max>180</max>
</period>
</filter>
<filter>
<name>INTERNAL VERTICAL SPEED COMPUTER</name>
<debug>false</debug>
<type>gain</type>
2017-11-27 15:19:44 +00:00
<gain>60.0</gain>
2017-06-03 21:52:43 +00:00
<input>/velocities/vertical-speed-fps</input>
<output>/it-autoflight/internal/vert-speed-fpm</output>
</filter>
<filter>
<name>INTERNAL VERTICAL SPEED COMPUTER SYNC 4</name>
2017-06-03 21:52:43 +00:00
<debug>false</debug>
<type>gain</type>
2017-11-27 15:19:44 +00:00
<gain>1.0</gain>
2017-06-03 21:52:43 +00:00
<enable>
<condition>
<and>
<not-equals>
<property>/it-autoflight/output/vert</property>
<value>4</value>
</not-equals>
<not-equals>
<property>/it-autoflight/output/vert</property>
<value>7</value>
</not-equals>
</and>
</condition>
</enable>
2017-11-27 15:19:44 +00:00
<input>/it-autoflight/internal/vert-speed-fpm</input>
2017-06-03 21:52:43 +00:00
<output>/it-autoflight/internal/target-fpm-b</output>
</filter>
<filter>
<name>INTERNAL VERTICAL SPEED COMPUTER SYNC 5</name>
<debug>false</debug>
<type>gain</type>
2017-11-27 15:19:44 +00:00
<gain>1.0</gain>
<enable>
<condition>
<not-equals>
<property>/it-autoflight/output/vert</property>
<value>5</value>
</not-equals>
</condition>
</enable>
2017-11-27 15:19:44 +00:00
<input>/it-autoflight/internal/vert-speed-fpm</input>
<output>/it-autoflight/internal/target-fpm-d</output>
</filter>
2017-06-03 21:52:43 +00:00
<filter>
<name>NAV1 G/S FPM Calc</name>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
2017-06-03 21:52:43 +00:00
<input>/instrumentation/nav[0]/gs-rate-of-climb-fpm</input>
<output>/it-autoflight/internal/nav1-rate-of-climb-fpm</output>
<min>
<condition>
2017-11-17 02:15:02 +00:00
<not-equals>
<property>/options/steep-ils</property>
2017-11-17 02:15:02 +00:00
<value>1</value>
</not-equals>
</condition>
2017-10-17 23:34:52 +00:00
<value>-1200</value>
</min>
<min>
<condition>
<equals>
<property>/options/steep-ils</property>
<value>1</value>
</equals>
</condition>
<value>-2200</value>
</min>
2017-06-03 21:52:43 +00:00
<max>0</max>
</filter>
<!-- =============================================================== -->
<!-- Flight Director -->
<!-- =============================================================== -->
<filter>
<name>IT-CONTROLLER: TARGET ROLL CMD</name>
<debug>false</debug>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<input>
<property>/it-autoflight/internal/target-roll-deg</property>
</input>
<output>/it-autoflight/internal/target-roll-fd</output>
<type>noise-spike</type>
<max-rate-of-change>15</max-rate-of-change>
</filter>
2017-06-03 21:52:43 +00:00
<filter>
<name>FD: ROLL</name>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<not-equals>
<property>/it-autoflight/output/lat</property>
<value>4</value>
</not-equals>
<not-equals>
<property>/it-autoflight/output/lat</property>
<value>5</value>
</not-equals>
</and>
</condition>
<expression>
<dif>
<property>/it-autoflight/internal/target-roll-fd</property>
2017-06-03 21:52:43 +00:00
<property>/orientation/roll-deg</property>
</dif>
</expression>
</input>
<input>
<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>
<expression>
<dif>
<value>0</value>
<property>/orientation/roll-deg</property>
</dif>
</expression>
</input>
<output>/it-autoflight/fd/roll-bar</output>
<min>-30</min>
<max>30</max>
</filter>
<filter>
<name>FD: PITCH</name>
<debug>false</debug>
<type>noise-spike</type>
2017-06-03 21:52:43 +00:00
<input>
<expression>
<product>
<dif>
<property>/it-autoflight/internal/target-common-fpm</property>
<property>/it-autoflight/internal/vert-speed-fpm</property>
</dif>
<table>
<property>/instrumentation/airspeed-indicator/indicated-mach</property>
<entry><ind>0.20</ind><dep>0.004</dep></entry>
<entry><ind>0.95</ind><dep>0.002</dep></entry>
</table>
</product>
2017-06-03 21:52:43 +00:00
</expression>
</input>
<output>/it-autoflight/fd/pitch-bar</output>
<min>-15</min>
<max>30</max>
<max-rate-of-change>10</max-rate-of-change>
2017-06-03 21:52:43 +00:00
</filter>
</PropertyList>