A33X: Fix Managed Speed bugs
This commit is contained in:
parent
99b3e5a78c
commit
fcd1fd508b
2 changed files with 9 additions and 1 deletions
|
@ -454,6 +454,14 @@ var ManagedSPD = maketimer(0.25, func {
|
|||
mng_alt_mach_cmd = getprop("/FMGC/internal/mng-alt-mach");
|
||||
mng_alt_mach = math.round(mng_alt_mach_cmd, 0.001);
|
||||
|
||||
if (mach > mng_alt_mach and (phase == 2 or phase == 3)) {
|
||||
setprop("/FMGC/internal/mach-switchover", 1);
|
||||
}
|
||||
|
||||
if (ias > mng_alt_spd and (phase == 4 or phase == 5)) {
|
||||
setprop("/FMGC/internal/mach-switchover", 0);
|
||||
}
|
||||
|
||||
if ((mode == " " or mode == "SRS") and (phase == 0 or phase == 1)) {
|
||||
if (mngktsmach) {
|
||||
setprop("/FMGC/internal/mng-kts-mach", 0);
|
||||
|
|
|
@ -159,7 +159,7 @@
|
|||
<table>
|
||||
<property>/FMGC/internal/cost-index</property>
|
||||
<entry><ind> 0</ind><dep>1.00</dep></entry>
|
||||
<entry><ind>120</ind><dep>1.14</dep></entry>
|
||||
<entry><ind>120</ind><dep>1.19</dep></entry>
|
||||
</table>
|
||||
</product>
|
||||
</expression>
|
||||
|
|
Reference in a new issue