1
0
Fork 0

Radar altimeter: bugfix. Should use -corrected for all.

This commit is contained in:
legoboyvdlp R 2021-02-27 12:32:55 +00:00
parent 1167faa6a8
commit e9b0938fd3
3 changed files with 11 additions and 9 deletions

View file

@ -1841,8 +1841,9 @@
<az-limit-deg type="int">30</az-limit-deg>
<elev-step-deg type="int">10</elev-step-deg>
<elev-limit type="int">30</elev-limit>
<max-range-m type="int">1219</max-range-m>
<max-range-m type="int">1525</max-range-m>
<serviceable type="bool">true</serviceable>
<radar-altitude-ft type="double">0</radar-altitude-ft>
</radar-altimeter>
<radar-altimeter n="1">
@ -1855,8 +1856,9 @@
<az-limit-deg type="int">30</az-limit-deg>
<elev-step-deg type="int">10</elev-step-deg>
<elev-limit type="int">30</elev-limit>
<max-range-m type="int">1219</max-range-m>
<max-range-m type="int">1525</max-range-m>
<serviceable type="bool">true</serviceable>
<radar-altitude-ft type="double">0</radar-altitude-ft>
</radar-altimeter>
<wxr>

View file

@ -914,7 +914,7 @@
</clipto>
</pure_gain>
<pure_gain name="/instrumentation/radar-altimeter[1]/radar-altitude-ft">
<pure_gain name="/instrumentation/radar-altimeter[1]/radar-altitude-ft-corrected">
<input>/instrumentation/radar-altimeter[1]/radar-altitude-ft</input>
<gain>1</gain>
<clipto>

View file

@ -2205,8 +2205,8 @@
<switch name="/ECAM/warnings/logic/stall/stall-warn-inhibit">
<default value="0"/>
<test logic="AND" value="1">
/instrumentation/radar-altimeter[0]/radar-altitude-ft lt 1500
/instrumentation/radar-altimeter[1]/radar-altitude-ft lt 1500
/instrumentation/radar-altimeter[0]/radar-altitude-ft-corrected lt 1500
/instrumentation/radar-altimeter[1]/radar-altitude-ft-corrected lt 1500
/it-fbw/law eq 0
/ECAM/warnings/logic/stall/phase-flipflop eq 1
</test>
@ -3015,8 +3015,8 @@
<default value="0"/>
<test logic="AND" value="1">
<test logic="OR">
/instrumentation/radar-altimeter[0]/radar-altitude-ft lt 750
/instrumentation/radar-altimeter[1]/radar-altitude-ft lt 750
/instrumentation/radar-altimeter[0]/radar-altitude-ft-corrected lt 750
/instrumentation/radar-altimeter[1]/radar-altitude-ft-corrected lt 750
</test>
/ECAM/phases/phase-calculation/takeoff-power eq 0
<test logic="OR">
@ -3051,8 +3051,8 @@
</test>
</test>
<test logic="OR">
/instrumentation/radar-altimeter[0]/radar-altitude-ft lt 750
/instrumentation/radar-altimeter[1]/radar-altitude-ft lt 750
/instrumentation/radar-altimeter[0]/radar-altitude-ft-corrected lt 750
/instrumentation/radar-altimeter[1]/radar-altitude-ft-corrected lt 750
</test>
/ECAM/phases/phase-calculation/takeoff-power eq 0
<test logic="OR">