A3XX: FMGC: Fix missing drift-angle calculator, causing NAV to do bad tracking in crosswinds
This commit is contained in:
parent
75e2229441
commit
ff57e4d2f6
2 changed files with 15 additions and 2 deletions
|
@ -438,6 +438,19 @@
|
||||||
<output>/instrumentation/pfd/track-deg</output>
|
<output>/instrumentation/pfd/track-deg</output>
|
||||||
</filter>
|
</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>
|
<filter>
|
||||||
<name>HEADING ERROR DEG</name>
|
<name>HEADING ERROR DEG</name>
|
||||||
<debug>false</debug>
|
<debug>false</debug>
|
||||||
|
@ -492,7 +505,7 @@
|
||||||
<sum>
|
<sum>
|
||||||
<property>/autopilot/route-manager/wp[0]/true-bearing-deg</property>
|
<property>/autopilot/route-manager/wp[0]/true-bearing-deg</property>
|
||||||
<product>
|
<product>
|
||||||
<property>/autopilot/internal/drift-angle-deg</property>
|
<property>/it-autoflight/internal/drift-angle-deg</property>
|
||||||
<value>-1</value>
|
<value>-1</value>
|
||||||
</product>
|
</product>
|
||||||
<product>
|
<product>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
4106
|
4107
|
Reference in a new issue