A3XX: FMGC-b bugfix
This commit is contained in:
parent
d66cac6fce
commit
09e2235837
2 changed files with 4 additions and 4 deletions
|
@ -9,9 +9,10 @@
|
||||||
# IT-AUTOFLIGHT Based Autopilot #
|
# IT-AUTOFLIGHT Based Autopilot #
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
setprop("/it-autoflight/internal/heading-deg", 0);
|
setprop("/it-autoflight/internal/heading-deg", getprop("/orientation/heading-magnetic-deg"));
|
||||||
setprop("/it-autoflight/internal/track-deg", 0);
|
setprop("/it-autoflight/internal/track-deg", getprop("/orientation/track-magnetic-deg"));
|
||||||
setprop("/it-autoflight/internal/vert-speed-fpm", 0);
|
setprop("/it-autoflight/internal/vert-speed-fpm", 0);
|
||||||
|
setprop("/it-autoflight/internal/heading-error-deg", 0);
|
||||||
setprop("/it-autoflight/internal/heading-5-sec-ahead", 0);
|
setprop("/it-autoflight/internal/heading-5-sec-ahead", 0);
|
||||||
setprop("/it-autoflight/internal/altitude-5-sec-ahead", 0);
|
setprop("/it-autoflight/internal/altitude-5-sec-ahead", 0);
|
||||||
setprop("/it-autoflight/internal/lnav-advance-nm", 1);
|
setprop("/it-autoflight/internal/lnav-advance-nm", 1);
|
||||||
|
@ -78,7 +79,6 @@ var APinit = func {
|
||||||
setprop("/it-autoflight/input/spd-kts", 100);
|
setprop("/it-autoflight/input/spd-kts", 100);
|
||||||
setprop("/it-autoflight/input/spd-mach", 0.50);
|
setprop("/it-autoflight/input/spd-mach", 0.50);
|
||||||
setprop("/it-autoflight/custom/show-hdg", 0);
|
setprop("/it-autoflight/custom/show-hdg", 0);
|
||||||
setprop("/it-autoflight/internal/heading-error-deg", 0);
|
|
||||||
trkfpa_off();
|
trkfpa_off();
|
||||||
ap_varioust.start();
|
ap_varioust.start();
|
||||||
thrustmode();
|
thrustmode();
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
4012
|
4013
|
Reference in a new issue