2017-06-09 22:27:30 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2017-07-13 17:30:33 +00:00
|
|
|
<!--
|
2017-08-16 20:53:35 +00:00
|
|
|
#########################################
|
|
|
|
# Copyright (c) it0uchpods Design Group #
|
|
|
|
#########################################
|
2017-07-13 17:30:33 +00:00
|
|
|
-->
|
|
|
|
|
2017-07-13 18:44:57 +00:00
|
|
|
<!-- IT-AUTOFLIGHT -->
|
|
|
|
|
2017-06-09 22:27:30 +00:00
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Lateral Modes -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
|
|
|
<pi-simple-controller>
|
|
|
|
<name>ROLL CONTROLLER: HDG/LNAV</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd1</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/it-autoflight/internal/heading-error-deg</property>
|
|
|
|
<scale>
|
|
|
|
<property>/it-autoflight/config/cmd/roll-scale</property>
|
|
|
|
</scale>
|
|
|
|
</input>
|
|
|
|
<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>
|
2017-06-19 19:44:00 +00:00
|
|
|
<property>/it-autoflight/internal/bank-limit</property>
|
2017-06-09 22:27:30 +00:00
|
|
|
<scale>-1</scale>
|
|
|
|
</min>
|
|
|
|
<max>
|
2017-06-19 19:44:00 +00:00
|
|
|
<property>/it-autoflight/internal/bank-limit</property>
|
2017-06-09 22:27:30 +00:00
|
|
|
</max>
|
|
|
|
</config>
|
|
|
|
</pi-simple-controller>
|
|
|
|
|
2017-06-20 18:56:14 +00:00
|
|
|
<pi-simple-controller>
|
2017-06-09 22:27:30 +00:00
|
|
|
<name>VORLOC TRK</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd1</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<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>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<value>0.0</value>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/it-autoflight/internal/target-roll-deg</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
|
|
|
<property>/it-autoflight/config/cmd/vorloc</property>
|
|
|
|
</Kp>
|
2017-10-03 03:17:23 +00:00
|
|
|
<Ki>-0.0001</Ki>
|
2017-06-20 18:56:14 +00:00
|
|
|
<min>
|
2017-06-19 19:44:00 +00:00
|
|
|
<property>/it-autoflight/internal/bank-limit</property>
|
|
|
|
<scale>-1</scale>
|
2017-06-20 18:56:14 +00:00
|
|
|
</min>
|
|
|
|
<max>
|
2017-06-19 19:44:00 +00:00
|
|
|
<property>/it-autoflight/internal/bank-limit</property>
|
2017-06-20 18:56:14 +00:00
|
|
|
</max>
|
2017-06-09 22:27:30 +00:00
|
|
|
</config>
|
2017-06-20 18:56:14 +00:00
|
|
|
</pi-simple-controller>
|
2017-06-09 22:27:30 +00:00
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>ROLL DEG SYNC</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>1</value>
|
|
|
|
</not-equals>
|
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</not-equals>
|
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/fd1</property>
|
|
|
|
<value>1</value>
|
|
|
|
</not-equals>
|
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/fd2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</not-equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>/orientation/roll-deg</input>
|
|
|
|
<output>/it-autoflight/internal/target-roll-deg</output>
|
2017-06-19 19:44:00 +00:00
|
|
|
<min>
|
|
|
|
<property>/it-autoflight/internal/bank-limit</property>
|
|
|
|
<scale>-1</scale>
|
|
|
|
</min>
|
|
|
|
<max>
|
|
|
|
<property>/it-autoflight/internal/bank-limit</property>
|
|
|
|
</max>
|
2017-06-09 22:27:30 +00:00
|
|
|
</filter>
|
|
|
|
|
|
|
|
<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</output>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<max-rate-of-change>6</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
2017-07-22 02:32:12 +00:00
|
|
|
<filter>
|
|
|
|
<name>System Command: Roll Rate</name>
|
2017-06-09 22:27:30 +00:00
|
|
|
<debug>false</debug>
|
2017-07-22 02:32:12 +00:00
|
|
|
<type>gain</type>
|
|
|
|
<gain>
|
|
|
|
<property>/it-autoflight/config/roll/gain</property>
|
|
|
|
</gain>
|
2017-06-09 22:27:30 +00:00
|
|
|
<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>
|
|
|
|
<reference>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
</reference>
|
|
|
|
<output>
|
2017-07-22 02:32:12 +00:00
|
|
|
<property>/it-autoflight/internal/aileron-cmd</property> <!-- Inputs to the FBW Roll Rate -->
|
|
|
|
</output>
|
|
|
|
<min>
|
|
|
|
<property>/it-autoflight/config/roll/min</property>
|
|
|
|
</min>
|
|
|
|
<max>
|
|
|
|
<property>/it-autoflight/config/roll/max</property>
|
|
|
|
</max>
|
|
|
|
</filter>
|
2017-06-09 22:27:30 +00:00
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Yaw 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/nav-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>
|
2017-06-13 23:31:16 +00:00
|
|
|
<min>-0.15</min>
|
|
|
|
<max>0.15</max>
|
2017-06-09 22:27:30 +00:00
|
|
|
</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>
|
2017-06-13 00:44:24 +00:00
|
|
|
<max-rate-of-change>0.6</max-rate-of-change>
|
2017-06-09 22:27:30 +00:00
|
|
|
</filter>
|
|
|
|
|
|
|
|
</PropertyList>
|