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>
</and>
</condition>
<value>50</value>
<value>1000</value>
</max-rate-of-change>
<max-rate-of-change>15</max-rate-of-change>
</filter>

View file

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

View file

@ -144,24 +144,30 @@
<gain>1.0</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>
<or>
<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>
<equals>
<property>/it-autoflight/output/lat</property>
<value>9</value>
</equals>
</or>
</condition>
</enable>
<input>/orientation/roll-deg</input>
@ -181,26 +187,32 @@
<output>/it-autoflight/internal/target-roll</output>
<max-rate-of-change>
<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>
<or>
<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>
<equals>
<property>/it-autoflight/output/lat</property>
<value>9</value>
</equals>
</or>
</condition>
<value>50</value>
<value>1000</value>
</max-rate-of-change>
<max-rate-of-change>
<condition>