A3XX: FMGC: Fix missing drift-angle calculator, causing NAV to do bad tracking in crosswinds

This commit is contained in:
Joshua Davidson 2017-12-21 14:05:14 -05:00
parent 75e2229441
commit ff57e4d2f6
2 changed files with 15 additions and 2 deletions

View file

@ -438,6 +438,19 @@
<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>
<filter>
<name>HEADING ERROR DEG</name>
<debug>false</debug>
@ -492,7 +505,7 @@
<sum>
<property>/autopilot/route-manager/wp[0]/true-bearing-deg</property>
<product>
<property>/autopilot/internal/drift-angle-deg</property>
<property>/it-autoflight/internal/drift-angle-deg</property>
<value>-1</value>
</product>
<product>

View file

@ -1 +1 @@
4106
4107