1
0
Fork 0

bugfix - removed the 2.5 °C error correction causing the brakes temp to be < TAT

This commit is contained in:
vezza 2020-03-18 00:10:29 +01:00
parent dc02b2146c
commit 3e60a4d63c

View file

@ -70,10 +70,10 @@ var BrakeSystem =
setprop("gear/gear[2]/R-Thrust",0); setprop("gear/gear[2]/R-Thrust",0);
#Introducing a random error on temp sensors (max 5°C) #Introducing a random error on temp sensors (max 5°C)
setprop("gear/gear[1]/L1error-temp-degc", math.round(rand()*(5)) - 2.5); setprop("gear/gear[1]/L1error-temp-degc", math.round(rand()*(5)));
setprop("gear/gear[1]/L2error-temp-degc", math.round(rand()*(5)) - 2.5); setprop("gear/gear[1]/L2error-temp-degc", math.round(rand()*(5)));
setprop("gear/gear[2]/R3error-temp-degc", math.round(rand()*(5)) - 2.5); setprop("gear/gear[2]/R3error-temp-degc", math.round(rand()*(5)));
setprop("gear/gear[2]/R4error-temp-degc", math.round(rand()*(5)) - 2.5); setprop("gear/gear[2]/R4error-temp-degc", math.round(rand()*(5)));
#var atemp = getprop("environment/temperature-degc") or 0; #var atemp = getprop("environment/temperature-degc") or 0;
#var vmach = getprop("velocities/mach") or 0; #var vmach = getprop("velocities/mach") or 0;