FMGC: Fix localizer not capturing if on course too close to beam
This commit is contained in:
parent
c3cd26a30d
commit
3b428d1e1a
1 changed files with 5 additions and 5 deletions
|
@ -763,13 +763,13 @@ var ITAF = {
|
|||
Radio.locDeflTemp = Radio.locDefl.getValue();
|
||||
Radio.signalQualityTemp = Radio.signalQuality.getValue();
|
||||
if (abs(Radio.locDeflTemp) <= 0.95 and Radio.locDeflTemp != 0 and Radio.signalQualityTemp >= 0.99) {
|
||||
if (Radio.locDeflTemp >= 0 and Internal.navHeadingErrorDegTemp <= 0) {
|
||||
if (abs(Radio.locDeflTemp[Input.radioSelTemp]) <= 0.25) {
|
||||
me.activateLoc();
|
||||
} else if (Radio.locDeflTemp < 0 and Internal.navHeadingErrorDegTemp >= 0) {
|
||||
} else if (Radio.locDeflTemp[Input.radioSelTemp] >= 0 and Internal.navHeadingErrorDegTemp[Input.radioSelTemp] <= 0) {
|
||||
me.activateLoc();
|
||||
}
|
||||
|
||||
if (t != 1) { # Do not do this if loop calls it
|
||||
} else if (Radio.locDeflTemp[Input.radioSelTemp] < 0 and Internal.navHeadingErrorDegTemp[Input.radioSelTemp] >= 0) {
|
||||
me.activateLoc();
|
||||
} else if (t != 1) { # Do not do this if loop calls it
|
||||
if (Output.lat.getValue() != 2) {
|
||||
me.updateLnavArm(0);
|
||||
me.updateLocArm(1);
|
||||
|
|
Loading…
Reference in a new issue