2016-11-04 22:13:12 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!-- IT-AUTOFLIGHT -->
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Predictors -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
|
|
|
<predict-simple>
|
2017-04-02 15:57:08 +00:00
|
|
|
<name>ALTITUDE 7 SECONDS AHEAD</name>
|
2016-11-04 22:13:12 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<input>/instrumentation/altimeter/indicated-altitude-ft</input>
|
2017-04-02 15:57:08 +00:00
|
|
|
<output>/it-autoflight/internal/altitude-7-sec-ahead</output>
|
|
|
|
<seconds>7.0</seconds>
|
2016-11-04 22:13:12 +00:00
|
|
|
<filter-gain>0.1</filter-gain>
|
|
|
|
</predict-simple>
|
|
|
|
|
|
|
|
<predict-simple>
|
|
|
|
<name>VOR/LOC 5 SECONDS AHEAD</name>
|
|
|
|
<input>/it-autoflight/internal/nav1-track-error-deg</input>
|
|
|
|
<output>/it-autoflight/internal/nav1-error-5-sec-ahead</output>
|
|
|
|
<seconds>12</seconds>
|
|
|
|
<filter-gain>0.1</filter-gain>
|
|
|
|
</predict-simple>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>VOR/LOC HEADING ERROR FILTER</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<input>/it-autoflight/internal/nav1-error-5-sec-ahead</input>
|
|
|
|
<output>/it-autoflight/internal/nav1-heading-error-deg-filtered</output>
|
|
|
|
<max-rate-of-change>90.0</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Autopilot Helpers -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
2017-03-27 20:18:28 +00:00
|
|
|
<filter>
|
|
|
|
<name>MAGNETIC HDG ERROR DEG</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<property>/it-autoflight/input/hdg</property>
|
|
|
|
<offset>
|
|
|
|
<property>/orientation/heading-magnetic-deg</property>
|
|
|
|
<scale>-1.0</scale>
|
|
|
|
</offset>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/heading-bug-error-deg</output>
|
|
|
|
<output>/it-autoflight/internal/fdm-heading-bug-error-deg</output>
|
|
|
|
<period>
|
|
|
|
<min>-180</min>
|
|
|
|
<max>180</max>
|
|
|
|
</period>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
</filter>
|
2016-11-04 22:13:12 +00:00
|
|
|
|
2017-03-27 20:18:28 +00:00
|
|
|
<filter>
|
|
|
|
<name>TRUE HDG ERROR DEG</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<property>/it-autoflight/input/hdg</property>
|
|
|
|
<offset>
|
|
|
|
<property>/orientation/heading-deg</property>
|
|
|
|
<scale>-1.0</scale>
|
|
|
|
</offset>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/true-heading-error-deg</output>
|
|
|
|
<period>
|
|
|
|
<min>-180</min>
|
|
|
|
<max>180</max>
|
|
|
|
</period>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
</filter>
|
2016-11-04 22:13:12 +00:00
|
|
|
|
2017-03-27 20:18:28 +00:00
|
|
|
<filter>
|
|
|
|
<name>LNAV HDG ERROR DEG</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<property>/autopilot/settings/true-heading-deg</property>
|
|
|
|
<offset>
|
|
|
|
<property>/orientation/heading-deg</property>
|
|
|
|
<scale>-1.0</scale>
|
|
|
|
</offset>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/lnav-hdg-error-deg</output>
|
|
|
|
<period>
|
|
|
|
<min>-180</min>
|
|
|
|
<max>180</max>
|
|
|
|
</period>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
</filter>
|
2016-11-04 22:13:12 +00:00
|
|
|
|
2017-03-27 20:18:28 +00:00
|
|
|
<filter>
|
|
|
|
<name>NAV ERROR DEG</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/settings/use-nav2-radio</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/instrumentation/nav[0]/radials/target-auto-hdg-deg</property>
|
|
|
|
<offset>
|
|
|
|
<property>/orientation/heading-deg</property>
|
|
|
|
<scale>-1.0</scale>
|
|
|
|
</offset>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/settings/use-nav2-radio</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/instrumentation/nav[1]/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>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
</filter>
|
2016-11-04 22:13:12 +00:00
|
|
|
|
2017-03-27 20:18:28 +00:00
|
|
|
<filter>
|
|
|
|
<name>NAV COURSE ERROR</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/settings/use-nav2-radio</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/instrumentation/nav[0]/radials/selected-deg</property>
|
|
|
|
<offset>
|
|
|
|
<property>/orientation/heading-magnetic-deg</property>
|
|
|
|
<scale>-1.0</scale>
|
|
|
|
</offset>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/settings/use-nav2-radio</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/instrumentation/nav[1]/radials/selected-deg</property>
|
|
|
|
<offset>
|
|
|
|
<property>/orientation/heading-magnetic-deg</property>
|
|
|
|
<scale>-1.0</scale>
|
|
|
|
</offset>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/nav-course-error</output>
|
|
|
|
<period>
|
|
|
|
<min>-180</min>
|
|
|
|
<max>180</max>
|
|
|
|
</period>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
</filter>
|
2016-11-04 22:13:12 +00:00
|
|
|
|
2017-03-27 20:18:28 +00:00
|
|
|
<filter>
|
|
|
|
<name>INTERNAL VERTICAL SPEED COMPUTER</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>/velocities/vertical-speed-fps</input>
|
|
|
|
<output>/it-autoflight/internal/vert-speed-fpm</output>
|
|
|
|
<gain>60.0</gain>
|
|
|
|
</filter>
|
2016-11-04 22:13:12 +00:00
|
|
|
|
2017-03-27 20:18:28 +00:00
|
|
|
<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>
|
2016-11-04 22:13:12 +00:00
|
|
|
|
2017-03-27 20:18:28 +00:00
|
|
|
<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>
|
2016-11-04 22:13:12 +00:00
|
|
|
|
2017-03-27 20:18:28 +00:00
|
|
|
<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>
|
2016-11-04 22:13:12 +00:00
|
|
|
|
2017-03-27 20:18:28 +00:00
|
|
|
<filter>
|
|
|
|
<name>STATIC PRESSURE COMPUTER</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>derivative</type>
|
|
|
|
<input>/systems/static[0]/pressure-inhg</input>
|
|
|
|
<output>/it-autoflight/internal/pressure-rate</output>
|
|
|
|
<filter-time>1.0</filter-time>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>NAV1 TRACK ERROR</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<property>/instrumentation/nav[0]/radials/target-auto-hdg-deg</property>
|
|
|
|
<offset>
|
|
|
|
<property>/orientation/track-deg</property>
|
|
|
|
<scale>-1.0</scale>
|
|
|
|
</offset>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/nav1-track-error-deg</output>
|
|
|
|
<period>
|
|
|
|
<min>-180</min>
|
|
|
|
<max>180</max>
|
|
|
|
</period>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
</filter>
|
2016-11-04 22:13:12 +00:00
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Lateral Modes -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
2017-03-27 20:18:28 +00:00
|
|
|
<pi-simple-controller>
|
|
|
|
<name>ROLL CONTROLLER: HDG/LNAV</name>
|
2016-11-04 22:13:12 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/lat</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/lat</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/lat</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/input/trk</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/heading-bug-error-deg</property>
|
2017-01-11 22:39:47 +00:00
|
|
|
<scale>
|
|
|
|
<property>/it-autoflight/config/cmd/roll-scale</property>
|
|
|
|
</scale>
|
2016-11-04 22:13:12 +00:00
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/lat</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/input/trk</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/true-heading-error-deg</property>
|
2017-01-11 22:39:47 +00:00
|
|
|
<scale>
|
|
|
|
<property>/it-autoflight/config/cmd/roll-scale</property>
|
|
|
|
</scale>
|
2016-11-04 22:13:12 +00:00
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/lat</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/lnav-hdg-error-deg</property>
|
2017-01-11 22:39:47 +00:00
|
|
|
<scale>
|
|
|
|
<property>/it-autoflight/config/cmd/roll-scale</property>
|
|
|
|
</scale>
|
|
|
|
</input>
|
2017-03-27 20:18:28 +00:00
|
|
|
<reference>
|
|
|
|
<value>0</value>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/it-autoflight/internal/target-roll-deg</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
|
|
|
<property>/it-autoflight/config/cmd/roll-kp</property>
|
|
|
|
</Kp>
|
|
|
|
<Ki>0.0</Ki>
|
|
|
|
<min>
|
|
|
|
<condition>
|
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>1</value>
|
|
|
|
</not-equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/input/bank-limit</property>
|
|
|
|
<scale>-1</scale>
|
|
|
|
</min>
|
|
|
|
<min>
|
|
|
|
<condition>
|
2017-01-11 22:39:47 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
2017-03-27 20:18:28 +00:00
|
|
|
<value>1</value>
|
2017-01-11 22:39:47 +00:00
|
|
|
</equals>
|
2017-03-27 20:18:28 +00:00
|
|
|
</condition>
|
|
|
|
<value>-25</value>
|
|
|
|
</min>
|
|
|
|
<max>
|
|
|
|
<condition>
|
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>1</value>
|
|
|
|
</not-equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/input/bank-limit</property>
|
|
|
|
</max>
|
|
|
|
<max>
|
|
|
|
<condition>
|
2017-01-11 22:39:47 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
2017-03-27 20:18:28 +00:00
|
|
|
<value>1</value>
|
2017-01-11 22:39:47 +00:00
|
|
|
</equals>
|
2017-03-27 20:18:28 +00:00
|
|
|
</condition>
|
|
|
|
<value>25</value>
|
|
|
|
</max>
|
|
|
|
</config>
|
|
|
|
</pi-simple-controller>
|
2016-11-04 22:13:12 +00:00
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>VORLOC TRK</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/lat</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
2017-02-19 22:24:50 +00:00
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/settings/use-backcourse</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/nav-heading-error-deg</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/settings/use-backcourse</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/nav-bc-heading-error-deg</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<value>0.0</value>
|
|
|
|
</reference>
|
|
|
|
<output>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/target-roll-deg</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
2017-01-11 22:39:47 +00:00
|
|
|
<Kp>
|
|
|
|
<property>/it-autoflight/config/cmd/vorloc</property>
|
|
|
|
</Kp>
|
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10.0</Ti>
|
|
|
|
<Td>0.00001</Td>
|
|
|
|
<u_min>-30</u_min>
|
|
|
|
<u_max>30</u_max>
|
2016-11-04 22:13:12 +00:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
2017-01-11 22:39:47 +00:00
|
|
|
|
2017-02-11 20:19:49 +00:00
|
|
|
<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>
|
2017-03-27 20:18:28 +00:00
|
|
|
<output>/it-autoflight/internal/target-roll</output>
|
2017-02-11 20:19:49 +00:00
|
|
|
<type>noise-spike</type>
|
2017-03-27 20:18:28 +00:00
|
|
|
<max-rate-of-change>15</max-rate-of-change>
|
2017-02-11 20:19:49 +00:00
|
|
|
</filter>
|
|
|
|
|
2016-11-04 22:13:12 +00:00
|
|
|
<pid-controller>
|
2017-01-11 22:39:47 +00:00
|
|
|
<name>IT-CONTROLLER: ROLL</name>
|
2016-11-04 22:13:12 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
2017-01-11 22:39:47 +00:00
|
|
|
<or>
|
2016-11-04 22:13:12 +00:00
|
|
|
<equals>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>1</value>
|
2016-11-04 22:13:12 +00:00
|
|
|
</equals>
|
2017-01-11 22:39:47 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2016-11-04 22:13:12 +00:00
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
</input>
|
|
|
|
<reference>
|
2017-03-27 20:18:28 +00:00
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/target-roll</property>
|
|
|
|
</reference>
|
|
|
|
<reference>
|
|
|
|
<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>
|
|
|
|
<value>0</value>
|
2016-11-04 22:13:12 +00:00
|
|
|
</reference>
|
|
|
|
<output>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/aileron-cmd</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
2017-01-11 22:39:47 +00:00
|
|
|
<condition>
|
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>2</value>
|
|
|
|
</not-equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/config/roll/kp</property>
|
|
|
|
</Kp>
|
|
|
|
<Kp>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/config/roll/kp-vloc</property>
|
|
|
|
</Kp>
|
|
|
|
<Kp>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/config/autoland/kp-roll</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</Kp>
|
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
2017-01-11 22:39:47 +00:00
|
|
|
<gamma>0.0</gamma>
|
2016-12-05 20:20:56 +00:00
|
|
|
<Ti>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/config/roll/ti</property>
|
|
|
|
</Ti>
|
2016-12-05 20:20:56 +00:00
|
|
|
<Td>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/config/roll/td</property>
|
|
|
|
</Td>
|
2016-11-04 22:13:12 +00:00
|
|
|
<u_min>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/config/roll/umin</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</u_min>
|
|
|
|
<u_max>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/config/roll/umax</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
2017-01-11 22:39:47 +00:00
|
|
|
|
2016-11-04 22:13:12 +00:00
|
|
|
<filter>
|
2017-01-11 22:39:47 +00:00
|
|
|
<name>IT-CONTROLLER: ROLL CMD</name>
|
2016-11-04 22:13:12 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/ap1</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/ap2</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/aileron-cmd</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</input>
|
|
|
|
<output>/controls/flight/aileron</output>
|
|
|
|
<type>noise-spike</type>
|
2017-03-27 20:18:28 +00:00
|
|
|
<max-rate-of-change>0.9</max-rate-of-change>
|
2016-11-04 22:13:12 +00:00
|
|
|
</filter>
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Vertical Modes -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>ALTITUDE CAPTURE/HOLD</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
2017-03-27 20:18:28 +00:00
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>8</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/prof-vert</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</or>
|
2016-11-04 22:13:12 +00:00
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
2017-04-02 15:57:08 +00:00
|
|
|
<property>/it-autoflight/internal/altitude-7-sec-ahead</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</input>
|
|
|
|
<reference>
|
2017-03-27 20:18:28 +00:00
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/alt</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</reference>
|
2017-03-27 20:18:28 +00:00
|
|
|
<reference>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>8</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/prof-alt</property>
|
|
|
|
</reference>
|
2016-11-04 22:13:12 +00:00
|
|
|
<output>
|
|
|
|
<property>/it-autoflight/internal/target-pitch-deg</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
2017-01-11 22:39:47 +00:00
|
|
|
<Kp>
|
|
|
|
<property>/it-autoflight/config/cmd/alt</property>
|
|
|
|
</Kp>
|
2016-11-04 22:13:12 +00:00
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.5</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10.0</Ti>
|
|
|
|
<Td>0.0001</Td>
|
|
|
|
<u_min>
|
|
|
|
<property>/it-autoflight/internal/min-pitch</property>
|
|
|
|
</u_min>
|
|
|
|
<u_max>
|
|
|
|
<property>/it-autoflight/internal/max-pitch</property>
|
|
|
|
</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
2017-01-30 23:12:19 +00:00
|
|
|
<pid-controller>
|
|
|
|
<name>FPA HOLD</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>5</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/it-autoflight/internal/fpa</property>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<property>/it-autoflight/input/fpa</property>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/it-autoflight/internal/target-pitch-deg</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
|
|
|
<property>/it-autoflight/config/cmd/fpa</property>
|
|
|
|
</Kp>
|
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>1.0</Ti>
|
|
|
|
<Td>0.00001</Td>
|
|
|
|
<u_min>
|
|
|
|
<value>-10</value>
|
|
|
|
</u_min>
|
|
|
|
<u_max>
|
|
|
|
<value>30</value>
|
|
|
|
</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
2016-11-04 22:13:12 +00:00
|
|
|
<pi-simple-controller>
|
|
|
|
<name>AUTOLAND VS HOLD</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/vert</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>6</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<scale>0.2</scale>
|
|
|
|
</input>
|
|
|
|
<reference>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/autoland/target-vs</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<scale>0.2</scale>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/it-autoflight/internal/target-pitch-deg</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
2016-12-05 20:20:56 +00:00
|
|
|
<Kp>
|
|
|
|
<property>/it-autoflight/config/autoland/kp-pitch</property>
|
|
|
|
</Kp>
|
2016-11-04 22:13:12 +00:00
|
|
|
<Ki>0.010</Ki>
|
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.5</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10.0</Ti>
|
|
|
|
<Td>0.0001</Td>
|
|
|
|
<min>
|
|
|
|
<value>0</value>
|
|
|
|
</min>
|
|
|
|
<max>
|
|
|
|
<value>15</value>
|
|
|
|
</max>
|
|
|
|
</config>
|
|
|
|
</pi-simple-controller>
|
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>GLIDESLOPE HOLD</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/vert</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/velocities/vertical-speed-fps</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</input>
|
|
|
|
<reference>
|
2017-02-19 22:24:50 +00:00
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/settings/use-nav2-radio</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/instrumentation/nav[0]/gs-rate-of-climb</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</reference>
|
2017-02-19 22:24:50 +00:00
|
|
|
<reference>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/settings/use-nav2-radio</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/instrumentation/nav[1]/gs-rate-of-climb</property>
|
|
|
|
</reference>
|
2016-11-04 22:13:12 +00:00
|
|
|
<output>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/target-pitch-deg</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/config/cmd/gs</property>
|
2016-12-05 20:20:56 +00:00
|
|
|
</Kp>
|
2016-11-04 22:13:12 +00:00
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.5</alpha>
|
2016-12-05 20:20:56 +00:00
|
|
|
<gamma>0.0</gamma>
|
2016-11-04 22:13:12 +00:00
|
|
|
<Ti>10.0</Ti>
|
|
|
|
<Td>0.0001</Td>
|
2017-01-11 22:39:47 +00:00
|
|
|
<u_min>-5</u_min>
|
2016-11-04 22:13:12 +00:00
|
|
|
<u_max>7</u_max>
|
2016-12-05 20:20:56 +00:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
2016-11-04 22:13:12 +00:00
|
|
|
|
|
|
|
<pid-controller>
|
2017-03-27 20:18:28 +00:00
|
|
|
<name>FLCH SPEED BY PITCH</name>
|
2016-11-04 22:13:12 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
2017-03-27 20:18:28 +00:00
|
|
|
<and>
|
|
|
|
<not-equals>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/output/vert</property>
|
2017-03-27 20:18:28 +00:00
|
|
|
<value>7</value>
|
|
|
|
</not-equals>
|
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>8</value>
|
|
|
|
</not-equals>
|
|
|
|
</and>
|
2016-11-04 22:13:12 +00:00
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/input/kts-mach</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2017-04-05 19:36:34 +00:00
|
|
|
<property>/it-autoflight/internal/lookahead-10-sec-airspeed-kt</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/input/kts-mach</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2017-04-05 19:36:34 +00:00
|
|
|
<property>/it-autoflight/internal/lookahead-10-sec-mach</property>
|
2017-03-27 20:18:28 +00:00
|
|
|
<scale>500.0</scale>
|
2016-11-04 22:13:12 +00:00
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/input/kts-mach</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/input/spd-kts</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</reference>
|
|
|
|
<reference>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/input/kts-mach</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/input/spd-mach</property>
|
2017-03-27 20:18:28 +00:00
|
|
|
<scale>500.0</scale>
|
2016-11-04 22:13:12 +00:00
|
|
|
</reference>
|
|
|
|
<output>
|
2017-03-27 20:18:28 +00:00
|
|
|
<property>/it-autoflight/internal/target-fps</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
2017-01-11 22:39:47 +00:00
|
|
|
<Kp>
|
|
|
|
<property>/it-autoflight/config/cmd/flch</property>
|
|
|
|
</Kp>
|
2016-11-04 22:13:12 +00:00
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10.0</Ti>
|
|
|
|
<Td>0.00001</Td>
|
|
|
|
<u_min>
|
|
|
|
<condition>
|
|
|
|
<greater-than>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/alt</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
2017-03-27 20:18:28 +00:00
|
|
|
<value>1.6</value>
|
2016-11-04 22:13:12 +00:00
|
|
|
</u_min>
|
|
|
|
<u_min>
|
|
|
|
<condition>
|
|
|
|
<less-than>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/alt</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
|
|
|
</less-than>
|
|
|
|
</condition>
|
2017-03-27 20:18:28 +00:00
|
|
|
<value>-100</value>
|
2016-11-04 22:13:12 +00:00
|
|
|
</u_min>
|
|
|
|
<u_max>
|
|
|
|
<condition>
|
|
|
|
<greater-than>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/alt</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
2017-03-27 20:18:28 +00:00
|
|
|
<value>166</value>
|
2016-11-04 22:13:12 +00:00
|
|
|
</u_max>
|
|
|
|
<u_max>
|
|
|
|
<condition>
|
|
|
|
<less-than>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/alt</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
|
|
|
</less-than>
|
|
|
|
</condition>
|
2017-03-27 20:18:28 +00:00
|
|
|
<value>-1.6</value>
|
2016-11-04 22:13:12 +00:00
|
|
|
</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
2017-01-30 23:12:19 +00:00
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>TOGA SPEED BY PITCH</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
2017-03-27 20:18:28 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>7</value>
|
|
|
|
</equals>
|
2017-01-30 23:12:19 +00:00
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
2017-04-05 19:36:34 +00:00
|
|
|
<property>/it-autoflight/internal/lookahead-10-sec-airspeed-kt</property>
|
2017-01-30 23:12:19 +00:00
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/mode/vert</property>
|
|
|
|
<value>T/O CLB</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/settings/togaspd</property>
|
|
|
|
</reference>
|
|
|
|
<reference>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/mode/vert</property>
|
|
|
|
<value>G/A CLB</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/input/spd-kts</property>
|
|
|
|
</reference>
|
|
|
|
<output>
|
2017-03-27 20:18:28 +00:00
|
|
|
<property>/it-autoflight/internal/target-fps</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
|
|
|
<property>/it-autoflight/config/cmd/flch</property>
|
|
|
|
</Kp>
|
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10.0</Ti>
|
|
|
|
<Td>0.00001</Td>
|
|
|
|
<u_min>
|
|
|
|
<value>1.6</value>
|
|
|
|
</u_min>
|
|
|
|
<u_max>
|
|
|
|
<value>166</value>
|
|
|
|
</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>VNAV SPEED BY PITCH</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>8</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2017-04-05 19:36:34 +00:00
|
|
|
<property>/it-autoflight/internal/lookahead-10-sec-airspeed-kt</property>
|
2017-03-27 20:18:28 +00:00
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2017-04-05 19:36:34 +00:00
|
|
|
<property>/it-autoflight/internal/lookahead-10-sec-mach</property>
|
2017-03-27 20:18:28 +00:00
|
|
|
<scale>500.0</scale>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/input/spd-kts</property>
|
|
|
|
</reference>
|
|
|
|
<reference>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/input/spd-mach</property>
|
|
|
|
<scale>500.0</scale>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/it-autoflight/internal/target-fps</property>
|
2017-01-30 23:12:19 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
|
|
|
<property>/it-autoflight/config/cmd/flch</property>
|
|
|
|
</Kp>
|
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10.0</Ti>
|
|
|
|
<Td>0.00001</Td>
|
|
|
|
<u_min>
|
2017-03-27 20:18:28 +00:00
|
|
|
<condition>
|
|
|
|
<greater-than>
|
|
|
|
<property>/it-autoflight/internal/prof-alt</property>
|
|
|
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<value>1.6</value>
|
|
|
|
</u_min>
|
|
|
|
<u_min>
|
|
|
|
<condition>
|
|
|
|
<less-than>
|
|
|
|
<property>/it-autoflight/internal/prof-alt</property>
|
|
|
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
|
|
|
</less-than>
|
|
|
|
</condition>
|
|
|
|
<value>-100</value>
|
2017-01-30 23:12:19 +00:00
|
|
|
</u_min>
|
|
|
|
<u_max>
|
2017-03-27 20:18:28 +00:00
|
|
|
<condition>
|
|
|
|
<greater-than>
|
|
|
|
<property>/it-autoflight/internal/prof-alt</property>
|
|
|
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
|
|
|
</greater-than>
|
|
|
|
</condition>
|
|
|
|
<value>166</value>
|
2017-01-30 23:12:19 +00:00
|
|
|
</u_max>
|
2017-03-27 20:18:28 +00:00
|
|
|
<u_max>
|
|
|
|
<condition>
|
|
|
|
<less-than>
|
|
|
|
<property>/it-autoflight/internal/prof-alt</property>
|
|
|
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
|
|
|
</less-than>
|
|
|
|
</condition>
|
|
|
|
<value>-1.6</value>
|
|
|
|
</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>FPM HOLD</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>7</value>
|
|
|
|
</equals>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>8</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/prof-vert</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/prof-vert</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
|
|
|
|
<scale>0.01666666</scale>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/input/vs</property>
|
|
|
|
<scale>0.01666666</scale>
|
|
|
|
</reference>
|
|
|
|
<reference>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>7</value>
|
|
|
|
</equals>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>8</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/prof-vert</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/target-fps</property>
|
|
|
|
</reference>
|
|
|
|
<reference>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>8</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/prof-vert</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/prof-fpm</property>
|
|
|
|
<scale>-0.01666666</scale>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/it-autoflight/internal/target-pitch-deg</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
|
|
|
<property>/it-autoflight/config/cmd/vs</property>
|
|
|
|
</Kp>
|
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>5.0</Ti>
|
|
|
|
<Td>0.00001</Td>
|
|
|
|
<u_min>
|
|
|
|
<value>-10</value>
|
|
|
|
</u_min>
|
|
|
|
<u_max>
|
|
|
|
<value>25</value>
|
|
|
|
</u_max>
|
2017-01-30 23:12:19 +00:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
2017-02-11 20:19:49 +00:00
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>IT-CONTROLLER: TARGET PITCH CMD</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
|
|
|
<input>
|
|
|
|
<property>/it-autoflight/internal/target-pitch-deg</property>
|
|
|
|
</input>
|
2017-03-27 20:18:28 +00:00
|
|
|
<output>/it-autoflight/internal/target-pitch</output>
|
2017-02-11 20:19:49 +00:00
|
|
|
<type>noise-spike</type>
|
|
|
|
<max-rate-of-change>10</max-rate-of-change>
|
|
|
|
</filter>
|
2016-11-04 22:13:12 +00:00
|
|
|
|
|
|
|
<pid-controller>
|
2017-01-11 22:39:47 +00:00
|
|
|
<name>IT-CONTROLLER: PITCH</name>
|
2016-11-04 22:13:12 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
2017-01-11 22:39:47 +00:00
|
|
|
<or>
|
2016-11-04 22:13:12 +00:00
|
|
|
<equals>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>1</value>
|
2016-11-04 22:13:12 +00:00
|
|
|
</equals>
|
2017-01-11 22:39:47 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
2016-11-04 22:13:12 +00:00
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/orientation/pitch-deg</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</input>
|
|
|
|
<reference>
|
2017-03-27 20:18:28 +00:00
|
|
|
<property>/it-autoflight/internal/target-pitch</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</reference>
|
|
|
|
<output>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/config/pitch/kp</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</Kp>
|
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
2016-12-05 20:20:56 +00:00
|
|
|
<Ti>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/config/pitch/ti</property>
|
|
|
|
</Ti>
|
2016-12-05 20:20:56 +00:00
|
|
|
<Td>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/config/pitch/td</property>
|
2016-12-05 20:20:56 +00:00
|
|
|
</Td>
|
2016-11-04 22:13:12 +00:00
|
|
|
<u_min>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/config/pitch/umin</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</u_min>
|
|
|
|
<u_max>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/config/pitch/umax</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
2017-01-11 22:39:47 +00:00
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>IT-CONTROLLER: PITCH CMD</name>
|
|
|
|
<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>
|
|
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
|
|
|
</input>
|
|
|
|
<output>/controls/flight/elevator</output>
|
|
|
|
<type>noise-spike</type>
|
2017-03-27 20:18:28 +00:00
|
|
|
<max-rate-of-change>0.4</max-rate-of-change>
|
2017-01-11 22:39:47 +00:00
|
|
|
</filter>
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Rudder Control -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
|
|
|
<pi-simple-controller>
|
|
|
|
<name>RUDDER VORLOC TRK</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/it-autoflight/internal/nav1-heading-error-deg</property>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<value>0</value>
|
|
|
|
</reference>
|
|
|
|
<output>/it-autoflight/internal/rudder-cmd</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
|
|
|
<property>/it-autoflight/config/autoland/kp-rudder</property>
|
|
|
|
</Kp>
|
|
|
|
<Ki>0</Ki>
|
|
|
|
</config>
|
|
|
|
<min>-0.25</min>
|
|
|
|
<max>0.25</max>
|
|
|
|
</pi-simple-controller>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>IT-CONTROLLER: RUDDER CMD</name>
|
|
|
|
<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>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>4</value>
|
|
|
|
</not-equals>
|
|
|
|
</condition>
|
|
|
|
<value>0</value>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/rudder-cmd</property>
|
|
|
|
</input>
|
|
|
|
<output>/controls/flight/rudder</output>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<max-rate-of-change>0.20</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Control Wheel Steering -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
2016-11-04 22:13:12 +00:00
|
|
|
<pid-controller>
|
2017-01-11 22:39:47 +00:00
|
|
|
<name>IT-CONTROLLER: CWS ROLL</name>
|
2016-11-04 22:13:12 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
2017-01-11 22:39:47 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/internal/cwsr</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/cws</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<property>/it-autoflight/internal/cws-roll-deg</property>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/it-autoflight/internal/cws-ail-cmd</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
|
|
|
<property>/it-autoflight/config/roll/kp</property>
|
|
|
|
</Kp>
|
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>
|
|
|
|
<property>/it-autoflight/config/roll/ti</property>
|
|
|
|
</Ti>
|
|
|
|
<Td>
|
|
|
|
<property>/it-autoflight/config/roll/td</property>
|
|
|
|
</Td>
|
|
|
|
<u_min>-1.0</u_min>
|
|
|
|
<u_max>1.0</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>IT-CONTROLLER: CWS ROLL CMD</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/cws</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/internal/cwsr</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/cws-ail-cmd</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/internal/cwsr</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<value>0</value>
|
|
|
|
</input>
|
|
|
|
<output>/controls/flight/aileron-trim</output>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<max-rate-of-change>0.9</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>IT-CONTROLLER: CWS PITCH</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/internal/cwsp</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/cws</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
2016-11-04 22:13:12 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/orientation/pitch-deg</property>
|
|
|
|
</input>
|
|
|
|
<reference>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/internal/cws-pitch-deg</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</reference>
|
|
|
|
<output>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/internal/cws-elv-cmd</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/config/pitch/kp-cws</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</Kp>
|
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
2016-12-05 20:20:56 +00:00
|
|
|
<Ti>
|
|
|
|
<property>/it-autoflight/config/pitch/ti</property>
|
|
|
|
</Ti>
|
|
|
|
<Td>
|
|
|
|
<property>/it-autoflight/config/pitch/td</property>
|
|
|
|
</Td>
|
2017-01-11 22:39:47 +00:00
|
|
|
<u_min>-1.0</u_min>
|
|
|
|
<u_max>1.0</u_max>
|
2016-11-04 22:13:12 +00:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<filter>
|
2017-01-11 22:39:47 +00:00
|
|
|
<name>IT-CONTROLLER: CWS PITCH CMD</name>
|
2016-11-04 22:13:12 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
2017-01-11 22:39:47 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/cws</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
2016-11-04 22:13:12 +00:00
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
2017-01-11 22:39:47 +00:00
|
|
|
<property>/it-autoflight/internal/cws-elv-cmd</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</input>
|
2017-01-11 22:39:47 +00:00
|
|
|
<output>/controls/flight/elevator-trim</output>
|
2016-11-04 22:13:12 +00:00
|
|
|
<type>noise-spike</type>
|
2017-01-11 22:39:47 +00:00
|
|
|
<max-rate-of-change>0.5</max-rate-of-change>
|
2016-11-04 22:13:12 +00:00
|
|
|
</filter>
|
|
|
|
|
2017-01-11 22:39:47 +00:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Autotrim -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
2016-11-04 22:13:12 +00:00
|
|
|
<pid-controller>
|
|
|
|
<name>AP PITCH HELPER PLUS</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<greater-than>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>0.05</value>
|
|
|
|
</greater-than>
|
|
|
|
<or>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/ap1</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/ap2</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<value>0</value>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<value>1</value>
|
|
|
|
</reference>
|
|
|
|
<output>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/elevator-trim-cmd</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>0.08</Kp>
|
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10</Ti>
|
|
|
|
<Td>0.00001</Td>
|
|
|
|
<u_min>-1.00</u_min>
|
|
|
|
<u_max>1.00</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>AP PITCH HELPER MINUS</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>-0.05</value>
|
|
|
|
</less-than>
|
|
|
|
<or>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/ap1</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/ap2</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<value>0</value>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<value>1</value>
|
|
|
|
</reference>
|
|
|
|
<output>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/elevator-trim-cmd</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>-0.08</Kp>
|
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10</Ti>
|
|
|
|
<Td>0.00001</Td>
|
|
|
|
<u_min>-1.00</u_min>
|
|
|
|
<u_max>1.00</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<filter>
|
2017-01-11 22:39:47 +00:00
|
|
|
<name>IT-CONTROLLER: PITCH TRIM CMD</name>
|
2016-11-04 22:13:12 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<or>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/ap1</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/output/ap2</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
<or>
|
|
|
|
<greater-than>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>0.05</value>
|
|
|
|
</greater-than>
|
|
|
|
<less-than>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/elevator-cmd</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<value>-0.05</value>
|
|
|
|
</less-than>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
2016-12-05 20:20:56 +00:00
|
|
|
<property>/it-autoflight/internal/elevator-trim-cmd</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
</input>
|
|
|
|
<output>/controls/flight/elevator-trim</output>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<max-rate-of-change>0.01</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Flight Director -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FD: ROLL</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<input>
|
2017-04-05 19:36:34 +00:00
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</condition>
|
2016-11-04 22:13:12 +00:00
|
|
|
<expression>
|
|
|
|
<dif>
|
2017-03-27 20:18:28 +00:00
|
|
|
<property>/it-autoflight/internal/target-roll</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
</dif>
|
|
|
|
</expression>
|
|
|
|
</input>
|
2017-04-05 19:36:34 +00:00
|
|
|
<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>
|
2016-11-04 22:13:12 +00:00
|
|
|
<output>/it-autoflight/fd/roll-bar</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FD: PITCH</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<dif>
|
2017-03-27 20:18:28 +00:00
|
|
|
<property>/it-autoflight/internal/target-pitch</property>
|
2016-11-04 22:13:12 +00:00
|
|
|
<property>/orientation/pitch-deg</property>
|
|
|
|
</dif>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/fd/pitch-bar</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
</PropertyList>
|