Bugfix autopilot disconnect with FBW failure
This commit is contained in:
parent
aebdca0ad5
commit
998db7162f
1 changed files with 4 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue