A3XX: Change autospeedbrake and autobrake GS threshold to 72

This commit is contained in:
Joshua Davidson 2017-12-03 09:09:43 -05:00
parent 574c1f78f5
commit b9959b3ce1
2 changed files with 8 additions and 7 deletions

View file

@ -65,7 +65,7 @@ var absChk = maketimer(0.2, func {
thr2 = getprop("/controls/engines/engine[1]/throttle"); thr2 = getprop("/controls/engines/engine[1]/throttle");
wow0 = getprop("/gear/gear[0]/wow"); wow0 = getprop("/gear/gear[0]/wow");
gnd_speed = getprop("/velocities/groundspeed-kt"); gnd_speed = getprop("/velocities/groundspeed-kt");
if (gnd_speed > 60) { if (gnd_speed > 72) {
if (getprop("/controls/autobrake/mode") != 0 and thr1 < 0.15 and thr2 < 0.15 and wow0 == 1) { if (getprop("/controls/autobrake/mode") != 0 and thr1 < 0.15 and thr2 < 0.15 and wow0 == 1) {
setprop("/controls/autobrake/active", 1); setprop("/controls/autobrake/active", 1);
if (getprop("/controls/autobrake/mode") == 1) { # LO if (getprop("/controls/autobrake/mode") == 1) { # LO

View file

@ -1793,7 +1793,7 @@
<S> <S>
<and> <and>
<less-than> <less-than>
<property>/controls/engines/engine/throttle</property> <property>/controls/engines/engine[0]/throttle</property>
<value>0.15</value> <value>0.15</value>
</less-than> </less-than>
<less-than> <less-than>
@ -1804,14 +1804,14 @@
<property>/gear/gear[2]/wow</property> <property>/gear/gear[2]/wow</property>
<greater-than> <greater-than>
<property>/velocities/groundspeed-kt</property> <property>/velocities/groundspeed-kt</property>
<value>60</value> <value>72</value>
</greater-than> </greater-than>
</and> </and>
</S> </S>
<R> <R>
<or> <or>
<greater-than> <greater-than>
<property>/controls/engines/engine/throttle</property> <property>/controls/engines/engine[0]/throttle</property>
<value>0.16</value> <value>0.16</value>
</greater-than> </greater-than>
<greater-than> <greater-than>
@ -1849,6 +1849,7 @@
</filter> </filter>
<!-- Braking --> <!-- Braking -->
<filter> <filter>
<name>Left Press</name> <name>Left Press</name>
<type>gain</type> <type>gain</type>
@ -1887,9 +1888,9 @@
<output>/systems/hydraulic/brakes/pressure-right-psi</output> <output>/systems/hydraulic/brakes/pressure-right-psi</output>
</filter> </filter>
<!-- =============================================================== --> <!-- =============================================================== -->
<!-- Landing Gear --> <!-- Landing Gear -->
<!-- =============================================================== --> <!-- =============================================================== -->
<filter> <filter>
<name>Left Door</name> <name>Left Door</name>