РТ-31: порог чувствительности утечки.

parent 01ba357d
......@@ -54,22 +54,22 @@ setlistener("/sim/signals/fdm-initialized", func(p) {
# FIXME Vary fuel CG on cruise alt/speed!
if((state == "parked") or (state == "gate")){
#Tu144.SetFuel(9000.0, 0.0, 0.0, 0.0);
#Tu144.SetFuel(8000.0, 0.0, 0.0, 0.0);
}else if(state == "taxi"){
Tu144.SetFuel(22000.0, 2000.0, 5000.0, 3000.0);
Tu144.FuelMeterTarget(3, 1, 9);
Tu144.FuelMeterTarget(3, 2, 0);
}else if(state == "take-off"){
Tu144.SetFuel(20000.0, 2000.0, 5000.0, 3000.0);
Tu144.FuelMeterTarget(2, 9, 9);
Tu144.FuelMeterTarget(3, 0, 0);
}else if(state == "approach"){
Tu144.SetFuel(10000.0, 0.0, 0000.0, 0.0);
Tu144.FuelMeterTarget(0, 9, 9);
Tu144.SetFuel(10000.0, 0.0, 0.0, 0.0);
Tu144.FuelMeterTarget(1, 0, 0);
}else if(state == "cruise"){
Tu144.SetFuel(20000.0, 2000.0, 0.0, 8000.0);
Tu144.FuelMeterTarget(2, 9, 9);
Tu144.FuelMeterTarget(3, 0, 0);
}else{
Tu144.SetFuel(20000.0, 0.0, 5000.0, 5000.0);
Tu144.FuelMeterTarget(2, 9, 9);
Tu144.FuelMeterTarget(3, 0, 0);
}
if((state == "parked") or (state == "gate")){
......
......@@ -2622,6 +2622,11 @@
<gain>1000.0</gain>
</pure_gain>
<summer name="&U;/RT/diff-kg">
<input>&U;/RT/contents-kg</input>
<input>-&U;/contents-kg</input>
</summer>
</channel>
......@@ -3871,7 +3876,7 @@
</test>
<test logic="AND" value="&U;/status/standby">
&U;/panel/switch/RT NE 0
&U;/contents-kg LT &U;/RT/contents-kg
&U;/RT/diff-kg GT 50.0
</test>
</switch>
......
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