1
0
Fork 0

FMGC: Bugfix FD engagement from blank modes + desync bug

This commit is contained in:
Josh Davidson 2021-10-12 16:06:16 -04:00
parent 68533de7f6
commit 115e7393bc
3 changed files with 68 additions and 39 deletions

View file

@ -798,7 +798,7 @@
</not-equals> </not-equals>
</and> </and>
</condition> </condition>
<value>50</value> <value>1000</value>
</max-rate-of-change> </max-rate-of-change>
<max-rate-of-change>15</max-rate-of-change> <max-rate-of-change>15</max-rate-of-change>
</filter> </filter>

View file

@ -356,7 +356,7 @@
</filter> </filter>
<filter> <filter>
<name>TARGET FPM</name> <name>Target FPM</name>
<debug>false</debug> <debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
@ -420,6 +420,15 @@
</condition> </condition>
<property>/it-autoflight/internal/nav-rate-of-climb-fpm</property> <property>/it-autoflight/internal/nav-rate-of-climb-fpm</property>
</input> </input>
<input>
<condition>
<equals>
<property>/it-autoflight/output/vert</property>
<value>9</value>
</equals>
</condition>
<property>/it-autoflight/internal/vert-speed-fpm</property>
</input>
<output>/it-autoflight/internal/target-common-fpm</output> <output>/it-autoflight/internal/target-common-fpm</output>
</filter> </filter>
@ -447,6 +456,10 @@
<value>1</value> <value>1</value>
</equals> </equals>
</or> </or>
<not-equals>
<property>/it-autoflight/output/vert</property>
<value>9</value>
</not-equals>
</and> </and>
</condition> </condition>
</enable> </enable>
@ -600,6 +613,10 @@
<value>1</value> <value>1</value>
</equals> </equals>
</or> </or>
<not-equals>
<property>/it-autoflight/output/vert</property>
<value>9</value>
</not-equals>
</and> </and>
</not> </not>
</condition> </condition>

View file

@ -144,6 +144,7 @@
<gain>1.0</gain> <gain>1.0</gain>
<enable> <enable>
<condition> <condition>
<or>
<and> <and>
<not-equals> <not-equals>
<property>/it-autoflight/output/ap1</property> <property>/it-autoflight/output/ap1</property>
@ -162,6 +163,11 @@
<value>1</value> <value>1</value>
</not-equals> </not-equals>
</and> </and>
<equals>
<property>/it-autoflight/output/lat</property>
<value>9</value>
</equals>
</or>
</condition> </condition>
</enable> </enable>
<input>/orientation/roll-deg</input> <input>/orientation/roll-deg</input>
@ -181,6 +187,7 @@
<output>/it-autoflight/internal/target-roll</output> <output>/it-autoflight/internal/target-roll</output>
<max-rate-of-change> <max-rate-of-change>
<condition> <condition>
<or>
<and> <and>
<not-equals> <not-equals>
<property>/it-autoflight/output/ap1</property> <property>/it-autoflight/output/ap1</property>
@ -199,8 +206,13 @@
<value>1</value> <value>1</value>
</not-equals> </not-equals>
</and> </and>
<equals>
<property>/it-autoflight/output/lat</property>
<value>9</value>
</equals>
</or>
</condition> </condition>
<value>50</value> <value>1000</value>
</max-rate-of-change> </max-rate-of-change>
<max-rate-of-change> <max-rate-of-change>
<condition> <condition>