Engineer: use stopwatch.

parent 16040697
......@@ -168,10 +168,18 @@ var _loop = func {
if(getprop("/fdm/jsbsim/propulsion/engine[" ~ ii ~ "]/panel/lever/throttle/pos-deg") < 10.0){
say("eng" ~ (ii + 1) ~ "idle", 2.0);
}
Tu144.Stopwatch(2, 1);
}else if(running[ii] < _running[ii]){
if(!getprop("/fdm/jsbsim/propulsion/engine[" ~ ii ~ "]/panel/lever/cutoff")){
say("eng" ~ (ii + 1) ~ "fault", 1.0);
}
var nrun = 0;
for(var jj = 0; jj < 4; jj = jj + 1){
nrun += running[jj];
}
if(!nrun){
Tu144.Stopwatch(2, 2);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment