1
0
Fork 0

Bugfix autopilot disconnect with FBW failure

This commit is contained in:
legoboyvdlp R 2020-07-17 19:50:44 +01:00
parent aebdca0ad5
commit 998db7162f

View file

@ -55,6 +55,7 @@
setprop("/it-fbw/law", 0);
setprop("/it-fbw/degrade-yaw-law", 0);
setprop("/it-fbw/yaw-law", 0);
fbw.FBW.apOff = 0;
gui.popupTip("Fly By Wire switched to NORMAL law!");
</script>
</binding>
@ -73,6 +74,7 @@
setprop("/it-fbw/law", 1);
setprop("/it-fbw/degrade-yaw-law", 1);
setprop("/it-fbw/yaw-law", 1);
fbw.FBW.apOff = 1;
gui.popupTip("Fly By Wire switched to ALTERNATE law!");
</script>
</binding>
@ -91,6 +93,7 @@
setprop("/it-fbw/law", 2);
setprop("/it-fbw/degrade-yaw-law", 2);
setprop("/it-fbw/yaw-law", 2);
fbw.FBW.apOff = 1;
gui.popupTip("Fly By Wire switched to DIRECT law!");
</script>
</binding>
@ -109,6 +112,7 @@
setprop("/it-fbw/law", 3);
setprop("/it-fbw/degrade-yaw-law", 2);
setprop("/it-fbw/yaw-law", 2);
fbw.FBW.apOff = 1;
gui.popupTip("Fly By Wire switched to MECHANICAL BACKUP law!");
</script>
</binding>