Control: ACCONFIG Bugfix in Flap/Slat
This commit is contained in:
parent
1237b5ffd4
commit
de4d370afe
4 changed files with 26 additions and 13 deletions
|
@ -742,6 +742,9 @@
|
|||
</services>
|
||||
|
||||
<systems>
|
||||
<acconfig n="0">
|
||||
<autoconfig-running>0</autoconfig-running>
|
||||
</acconfig>
|
||||
<electrical n="0">
|
||||
<bus n="0">
|
||||
<dc-ess>0</dc-ess>
|
||||
|
|
|
@ -269,12 +269,14 @@ var colddark_b = func {
|
|||
# Continues the Cold and Dark script, after engines fully shutdown.
|
||||
setprop("/controls/APU/master", 0);
|
||||
setprop("/controls/APU/start", 0);
|
||||
setprop("/controls/gear/brake-left", 0);
|
||||
setprop("/controls/gear/brake-right", 0);
|
||||
setprop("/systems/acconfig/autoconfig-running", 0);
|
||||
ps_load_dlg.close();
|
||||
ps_loaded_dlg.open();
|
||||
spinning.stop();
|
||||
settimer(func {
|
||||
setprop("/controls/gear/brake-left", 0);
|
||||
setprop("/controls/gear/brake-right", 0);
|
||||
setprop("/systems/acconfig/autoconfig-running", 0);
|
||||
ps_load_dlg.close();
|
||||
ps_loaded_dlg.open();
|
||||
spinning.stop();
|
||||
}, 2);
|
||||
}
|
||||
|
||||
# Ready to Start Eng
|
||||
|
@ -347,12 +349,14 @@ var beforestart_b = func {
|
|||
setprop("/controls/radio/rmp[0]/on", 1);
|
||||
setprop("/controls/radio/rmp[1]/on", 1);
|
||||
setprop("/controls/radio/rmp[2]/on", 1);
|
||||
setprop("/controls/gear/brake-left", 0);
|
||||
setprop("/controls/gear/brake-right", 0);
|
||||
setprop("/systems/acconfig/autoconfig-running", 0);
|
||||
ps_load_dlg.close();
|
||||
ps_loaded_dlg.open();
|
||||
spinning.stop();
|
||||
settimer(func {
|
||||
setprop("/controls/gear/brake-left", 0);
|
||||
setprop("/controls/gear/brake-right", 0);
|
||||
setprop("/systems/acconfig/autoconfig-running", 0);
|
||||
ps_load_dlg.close();
|
||||
ps_loaded_dlg.open();
|
||||
spinning.stop();
|
||||
}, 2);
|
||||
}
|
||||
|
||||
# Ready to Taxi
|
||||
|
|
|
@ -1690,6 +1690,9 @@
|
|||
|
||||
<switch name="fcs/flap-pos-rate">
|
||||
<default value="0.0"/>
|
||||
<test value="100">
|
||||
/systems/acconfig/autoconfig-running eq 1
|
||||
</test>
|
||||
<test logic="AND" value="1.16666666">
|
||||
/systems/hydraulic/green-psi ge 1500
|
||||
/systems/hydraulic/yellow-psi ge 1500
|
||||
|
@ -1746,6 +1749,9 @@
|
|||
|
||||
<switch name="fcs/slat-pos-rate">
|
||||
<default value="0.0"/>
|
||||
<test value="100">
|
||||
/systems/acconfig/autoconfig-running eq 1
|
||||
</test>
|
||||
<test logic="AND" value="1.35">
|
||||
/systems/hydraulic/blue-psi ge 1500
|
||||
/systems/hydraulic/green-psi ge 1500
|
||||
|
|
|
@ -1 +1 @@
|
|||
4737
|
||||
4738
|
Reference in a new issue