This commit is contained in:
omega13a 2017-05-31 13:59:51 -07:00
commit d09f27cbec
21 changed files with 5329 additions and 871 deletions

View file

@ -75,14 +75,6 @@
<autopilot n="5"> <autopilot n="5">
<name>Custom engine values system</name> <name>Custom engine values system</name>
<path>Aircraft/A320Family/Systems/engine-timing.xml</path> <path>Aircraft/A320Family/Systems/engine-timing.xml</path>
</autopilot>
<autopilot n="6">
<name>Autobrake</name>
<path>Aircraft/A320Family/Systems/a320-autobrake.xml</path>
</autopilot>
<autopilot n="7">
<name>Spoilers</name>
<path>Aircraft/A320Family/Systems/a320-spoilers.xml</path>
</autopilot> </autopilot>
<autopilot n="8"> <autopilot n="8">
<path>Systems/fl2070_sound.xml</path> <path>Systems/fl2070_sound.xml</path>
@ -426,6 +418,7 @@
</engine> </engine>
</engines> </engines>
<flight> <flight>
<aileron-input>0</aileron-input>
<aileron-fbw>0</aileron-fbw> <aileron-fbw>0</aileron-fbw>
<aileron-left>0.5</aileron-left> <aileron-left>0.5</aileron-left>
<aileron-right>-0.5</aileron-right> <aileron-right>-0.5</aileron-right>

View file

@ -386,16 +386,10 @@
<type>select</type> <type>select</type>
<object-name>lat.dash</object-name> <object-name>lat.dash</object-name>
<condition> <condition>
<and>
<not-equals> <not-equals>
<property>/it-autoflight/output/lat</property> <property>/it-autoflight/output/lat</property>
<value>0</value> <value>0</value>
</not-equals> </not-equals>
<equals>
<property>/it-autoflight/custom/hdg-input</property>
<value>0</value>
</equals>
</and>
</condition> </condition>
</animation> </animation>
@ -560,7 +554,7 @@
<binding> <binding>
<condition> <condition>
<equals> <equals>
<property>/it-autoflight/input/lat</property> <property>/it-autoflight/output/lat</property>
<value>0</value> <value>0</value>
</equals> </equals>
</condition> </condition>
@ -578,7 +572,7 @@
<binding> <binding>
<condition> <condition>
<equals> <equals>
<property>/it-autoflight/input/lat</property> <property>/it-autoflight/output/lat</property>
<value>0</value> <value>0</value>
</equals> </equals>
</condition> </condition>

View file

@ -444,4 +444,14 @@
</axis> </axis>
</animation> </animation>
<model>
<name>RAT</name>
<path>Aircraft/A320Family/Models/RAT/RAT.xml</path>
<offsets>
<x-m>18</x-m>
<y-m>-1</y-m>
<z-m>-2.9</z-m>
</offsets>
</model>
</PropertyList> </PropertyList>

View file

@ -354,4 +354,14 @@
</axis> </axis>
</animation> </animation>
<model>
<name>RAT</name>
<path>Aircraft/A320Family/Models/RAT/RAT.xml</path>
<offsets>
<x-m>18</x-m>
<y-m>-1</y-m>
<z-m>-2.9</z-m>
</offsets>
</model>
</PropertyList> </PropertyList>

View file

@ -669,4 +669,14 @@
</axis> </axis>
</animation> </animation>
<model>
<name>RAT</name>
<path>Aircraft/A320Family/Models/RAT/RAT.xml</path>
<offsets>
<x-m>18</x-m>
<y-m>-1</y-m>
<z-m>-2.9</z-m>
</offsets>
</model>
</PropertyList> </PropertyList>

View file

@ -444,4 +444,14 @@
</axis> </axis>
</animation> </animation>
<model>
<name>RAT</name>
<path>Aircraft/A320Family/Models/RAT/RAT.xml</path>
<offsets>
<x-m>18</x-m>
<y-m>-1</y-m>
<z-m>-2.9</z-m>
</offsets>
</model>
</PropertyList> </PropertyList>

View file

@ -1010,6 +1010,24 @@
</condition> </condition>
</animation> </animation>
<animation>
<name>RAT MAN pick</name>
<type>pick</type>
<object-name>RATMan</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>/controls/hydraulic/rat-man</property>
</binding>
<binding>
<command>nasal</command>
<script>setprop("/sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
<animation> <animation>
<name>Blue Elec Pump pick</name> <name>Blue Elec Pump pick</name>
<type>pick</type> <type>pick</type>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 KiB

After

Width:  |  Height:  |  Size: 466 KiB

View file

@ -4,7 +4,7 @@
<sim> <sim>
<model> <model>
<livery> <livery>
<name>jetBlue</name> <name>JetBlue Airways</name>
<texture>Liveries/A321/IAE/jetBlue.png</texture> <texture>Liveries/A321/IAE/jetBlue.png</texture>
</livery> </livery>
</model> </model>

4912
Models/RAT/RAT.ac Normal file

File diff suppressed because it is too large Load diff

36
Models/RAT/RAT.xml Normal file
View file

@ -0,0 +1,36 @@
<?xml version = '1.0' encoding = 'UTF-8' ?>
<PropertyList>
<path>RAT.ac</path>
<!-- Ram Air Turbine Select and Spin Animations -->
<animation>
<name>Ram Air Turbine Spin</name>
<type>spin</type>
<object-name>fan</object-name>
<factor>5</factor>
<property>velocities/airspeed-kt</property>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0</z-m>
</center>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>Ram Air Turbine Select</name>
<type>select</type>
<object-name>fan</object-name>
<object-name>holder</object-name>
<condition>
<property>/controls/hydraulic/rat-deployed</property>
</condition>
</animation>
</PropertyList>

View file

@ -18,6 +18,7 @@ var elec_init = func {
setprop("/controls/electrical/switches/idg2", 0); setprop("/controls/electrical/switches/idg2", 0);
setprop("/controls/electrical/switches/gen1", 0); setprop("/controls/electrical/switches/gen1", 0);
setprop("/controls/electrical/switches/gen2", 0); setprop("/controls/electrical/switches/gen2", 0);
setprop("/controls/electrical/switches/emer-gen", 0);
setprop("/controls/electrical/switches/gen-apu", 0); setprop("/controls/electrical/switches/gen-apu", 0);
setprop("/controls/electrical/switches/gen-ext", 0); setprop("/controls/electrical/switches/gen-ext", 0);
setprop("/controls/electrical/switches/apu-ext-crosstie", 1); setprop("/controls/electrical/switches/apu-ext-crosstie", 1);
@ -36,11 +37,13 @@ var elec_init = func {
setprop("/systems/electrical/bus/dc-ess", 0); setprop("/systems/electrical/bus/dc-ess", 0);
setprop("/systems/electrical/bus/ac1", 0); setprop("/systems/electrical/bus/ac1", 0);
setprop("/systems/electrical/bus/ac2", 0); setprop("/systems/electrical/bus/ac2", 0);
setprop("/systems/electrical/bus/emergen-hz", 0);
setprop("/systems/electrical/bus/gen1-hz", 0); setprop("/systems/electrical/bus/gen1-hz", 0);
setprop("/systems/electrical/bus/gen2-hz", 0); setprop("/systems/electrical/bus/gen2-hz", 0);
setprop("/systems/electrical/bus/ac-ess", 0); setprop("/systems/electrical/bus/ac-ess", 0);
setprop("/systems/electrical/extra/ext-volts", 0); setprop("/systems/electrical/extra/ext-volts", 0);
setprop("/systems/electrical/extra/apu-volts", 0); setprop("/systems/electrical/extra/apu-volts", 0);
setprop("/systems/electrical/extra/emergen-volts", 0);
setprop("/systems/electrical/extra/gen1-volts", 0); setprop("/systems/electrical/extra/gen1-volts", 0);
setprop("/systems/electrical/extra/gen2-volts", 0); setprop("/systems/electrical/extra/gen2-volts", 0);
setprop("/systems/electrical/extra/ext-hz", 0); setprop("/systems/electrical/extra/ext-hz", 0);
@ -124,6 +127,12 @@ var master_elec = func {
var galley_shed = getprop("/systems/electrical/extra/galleyshed"); var galley_shed = getprop("/systems/electrical/extra/galleyshed");
var bat1_con = getprop("/systems/electrical/extra/battery/bat1-contact"); var bat1_con = getprop("/systems/electrical/extra/battery/bat1-contact");
var bat2_con = getprop("/systems/electrical/extra/battery/bat2-contact"); var bat2_con = getprop("/systems/electrical/extra/battery/bat2-contact");
var emergen = getprop("/controls/electrical/switches/emer-gen");
var emergenvolts = getprop("/systems/electrical/extra/emergen-volts");
var emergenhz = getprop("/systems/electrical/bus/emergen-hz");
var gs = getprop("/velocities/groundspeed-kt");
var rat = getprop("/controls/hydraulic/rat");
var manrat = getprop("/controls/hydraulic/rat-man");
# Left cross tie yes? # Left cross tie yes?
@ -274,6 +283,22 @@ var master_elec = func {
setprop("/systems/electrical/gen-ext", 0); setprop("/systems/electrical/gen-ext", 0);
} }
if ((ac1 == 0) and (ac2 == 0) and (gs > 100) or (manrat)) {
setprop("/controls/hydraulic/rat-deployed", 1);
setprop("/controls/hydraulic/rat", 1);
setprop("/controls/electrical/switches/emer-gen", 1);
setprop("/systems/electrical/bus/dc-ess", ac_volt_std);
setprop("/systems/electrical/bus/ac-ess", dc_volt_std);
}
if (rat and (gs < 100)) {
setprop("/controls/electrical/switches/emer-gen", 0);
setprop("/controls/hydraulic/rat", 0);
setprop("/systems/electrical/bus/dc-ess", 0);
setprop("/systems/electrical/bus/ac-ess", 0);
}
# Battery Amps # Battery Amps
if (battery1_sw) { if (battery1_sw) {
setprop("/systems/electrical/battery1-amps", dc_amps_std); setprop("/systems/electrical/battery1-amps", dc_amps_std);
@ -414,11 +439,11 @@ var charge2 = maketimer(6, func {
var bat2_volts = getprop("/systems/electrical/battery2-volts"); var bat2_volts = getprop("/systems/electrical/battery2-volts");
setprop("/systems/electrical/battery2-volts", bat2_volts + 0.1); setprop("/systems/electrical/battery2-volts", bat2_volts + 0.1);
}); });
var decharge1 = maketimer(60, func { var decharge1 = maketimer(69, func { # interval is at 69 seconds, to allow about 30 min from 25.9
var bat1_volts = getprop("/systems/electrical/battery1-volts"); var bat1_volts = getprop("/systems/electrical/battery1-volts");
setprop("/systems/electrical/battery1-volts", bat1_volts - 0.1); setprop("/systems/electrical/battery1-volts", bat1_volts - 0.1);
}); });
var decharge2 = maketimer(60, func { var decharge2 = maketimer(69, func {
var bat2_volts = getprop("/systems/electrical/battery2-volts"); var bat2_volts = getprop("/systems/electrical/battery2-volts");
setprop("/systems/electrical/battery2-volts", bat2_volts - 0.1); setprop("/systems/electrical/battery2-volts", bat2_volts - 0.1);
}); });

View file

@ -12,6 +12,8 @@ var hyd_init = func {
setprop("/controls/hydraulic/elec-pump-yellow", 0); setprop("/controls/hydraulic/elec-pump-yellow", 0);
setprop("/controls/hydraulic/ptu", 1); setprop("/controls/hydraulic/ptu", 1);
setprop("/controls/hydraulic/rat-man", 0); setprop("/controls/hydraulic/rat-man", 0);
setprop("/controls/hydraulic/rat", 0);
setprop("/controls/hydraulic/rat-deployed", 0);
setprop("/systems/hydraulic/ptu-active", 0); setprop("/systems/hydraulic/ptu-active", 0);
setprop("/systems/hydraulic/blue-psi", 0); setprop("/systems/hydraulic/blue-psi", 0);
setprop("/systems/hydraulic/green-psi", 0); setprop("/systems/hydraulic/green-psi", 0);
@ -38,6 +40,9 @@ var master_hyd = func {
var stateR = getprop("/engines/engine[1]/state"); var stateR = getprop("/engines/engine[1]/state");
var dc_ess = getprop("/systems/electrical/bus/dc-ess"); var dc_ess = getprop("/systems/electrical/bus/dc-ess");
var psi_diff = green_psi - yellow_psi; var psi_diff = green_psi - yellow_psi;
var rat = getprop("/controls/hydraulic/rat");
var ratout = getprop("/controls/hydraulic/rat-deployed");
var gs = getprop("/velocities/groundspeed-kt");
if (psi_diff > 500 or psi_diff < -500 and ptu_sw) { if (psi_diff > 500 or psi_diff < -500 and ptu_sw) {
setprop("/systems/hydraulic/ptu-active", 1); setprop("/systems/hydraulic/ptu-active", 1);
@ -45,6 +50,13 @@ var master_hyd = func {
setprop("/systems/hydraulic/ptu-active", 0); setprop("/systems/hydraulic/ptu-active", 0);
} }
if ((rat_man_sw == 1) and (gs > 100)) {
setprop("/controls/hydraulic/rat", 1);
setprop("/controls/hydraulic/rat-deployed", 1);
} else if (gs < 100) {
setprop("/controls/hydraulic/rat", 0);
}
var ptu_active = getprop("/systems/hydraulic/ptu-active"); var ptu_active = getprop("/systems/hydraulic/ptu-active");
if (elec_pump_blue_sw and dc_ess >= 25 and (stateL == 3 or stateR == 3)) { if (elec_pump_blue_sw and dc_ess >= 25 and (stateL == 3 or stateR == 3)) {
@ -53,7 +65,7 @@ var master_hyd = func {
} else { } else {
setprop("/systems/hydraulic/blue-psi", 3000); setprop("/systems/hydraulic/blue-psi", 3000);
} }
} else if (getprop("/instrumentation/airspeed-indicator/indicated-speed-kt") >= 120 and rat_man_sw == 1) { } else if (gs >= 100 and rat) {
if (blue_psi < 2400) { if (blue_psi < 2400) {
setprop("/systems/hydraulic/blue-psi", blue_psi + 100); setprop("/systems/hydraulic/blue-psi", blue_psi + 100);
} else { } else {

View file

@ -1,330 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Airbus A320 autobrake configuration -->
<!-- Adapated from the Boeing 777-200ER -->
<PropertyList>
<logic>
<name>Disabled state</name>
<!-- ensure output is consistent when no mode is selected-->
<enable>
<condition>
<equals>
<property>/autopilot/autobrake/step</property>
<value>0</value>
</equals>
</condition>
</enable>
<input><false/></input>
<output>/autopilot/autobrake/engaged</output>
</logic>
<logic>
<name>Max (RTO in Boeing terms) selected</name>
<input>
<equals>
<property>/autopilot/autobrake/step</property>
<value>3</value>
</equals>
</input>
<output>/autopilot/autobrake/max-selected</output>
</logic>
<logic>
<name>Autobrake Selected</name>
<input>
<greater-than>
<property>/autopilot/autobrake/step</property>
<value>0</value>
</greater-than>
</input>
<output>/autopilot/autobrake/selected</output>
</logic>
<logic>
<name>Throttles At Idle</name>
<input>
<!-- engine 0 -->
<and>
<or>
<less-than>
<property>/controls/engines/engine[0]/throttle</property>
<property>/autopilot/autobrake/config/idle-throttle</property>
</less-than>
<property>/controls/engines/engine[0]/reverser</property>
</or>
<!-- engine 1 -->
<or>
<less-than>
<property>/controls/engines/engine[1]/throttle</property>
<property>/autopilot/autobrake/config/idle-throttle</property>
</less-than>
<property>/controls/engines/engine[1]/reverser</property>
</or>
</and>
</input>
<output>/autopilot/autobrake/throttles-at-idle</output>
</logic>
<logic>
<name>Airborne</name>
<input>
<not><property>/gear/gear/wow</property></not>
</input>
<output>/autopilot/autobrake/airborne</output>
</logic>
<logic>
<name>High-speed</name>
<input>
<greater-than>
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
<value>40</value>
</greater-than>
</input>
<output>/autopilot/autobrake/above-40-kts</output>
</logic>
<logic>
<name>Spoilers deployed</name>
<input>
<greater-than>
<property>/surface-positions/speedbrake-pos-norm</property>
<value>0</value>
</greater-than>
</input>
<output>/autopilot/autobrake/spoilers-deployed</output>
</logic>
<!-- pilot brake input -->
<logic>
<name>Pilot Input</name>
<input>
<less-than>
<property>/autopilot/autobrake/config/pilot-input</property>
<expression>
<max>
<property>/controls/gear/brake-left</property>
<property>/controls/gear/brake-right</property>
</max>
</expression>
</less-than>
</input>
<output>/autopilot/autobrake/pilot-input</output>
</logic>
<flipflop>
<name>Autobrake Engage logic</name>
<debug>false</debug>
<type>RS</type>
<enable>
<condition>
<and>
<property>/autopilot/autobrake/selected</property>
<not>
<property>/autopilot/autobrake/max-selected</property>
</not>
</and>
</condition>
</enable>
<S>
<and>
<property>/autopilot/autobrake/throttles-at-idle</property>
<property>/autopilot/autobrake/spoilers-deployed</property>
<not>
<property>/autopilot/autobrake/airborne</property>
</not>
</and>
</S>
<R>
<false/>
</R>
<output>/autopilot/autobrake/engaged</output>
</flipflop>
<filter>
<name>MAX cancel logic</name>
<type>gain</type>
<gain>1.0</gain>
<debug>false</debug>
<enable>
<condition>
<property>/autopilot/autobrake/max-selected</property>
<property>/autopilot/autobrake/airborne</property>
</condition>
</enable>
<input><value>0</value></input> <!-- switch to 'off' -->
<output>/autopilot/autobrake/step</output>
</filter>
<flipflop>
<name>MAX engage logic</name>
<type>RS</type>
<debug>false</debug>
<enable>
<condition>
<property>/autopilot/autobrake/max-selected</property>
<property>/autopilot/autobrake/above-40-kts</property>
</condition>
</enable>
<S>
<and>
<property>/autopilot/autobrake/throttles-at-idle</property>
<property>/autopilot/autobrake/spoilers-deployed</property>
</and>
</S>
<R>
<false/>
</R>
<output>/autopilot/autobrake/engaged</output>
</flipflop>
<filter>
<name>Disengage logic</name>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<enable>
<condition>
<property>/autopilot/autobrake/engaged</property>
<or>
<!-- disengage on pilot input -->
<property>/autopilot/autobrake/pilot-input</property>
<!-- disengage if the throttles are not at idle -->
<not><property>/autopilot/autobrake/throttles-at-idle</property></not>
<!-- disengage if the spoilers are retracted -->
<not><property>/autopilot/autobrake/spoilers-deployed</property></not>
</or>
</condition>
</enable>
<input><value>0</value></input> <!-- switch to 'off' -->
<output>/autopilot/autobrake/step</output>
</filter>
<!-- model the accelerometer portion of the AB system.
This could differentiate indicated-airspeed, but I suspect real-
world systems use accelerometers directly. -->
<filter>
<name>Deceleration Sensor</name>
<type>noise-spike</type>
<max-rate-of-change>5.0</max-rate-of-change>
<input>
<scale>-1</scale> <!-- deceleration, not acceleration -->
<property>/fdm/jsbsim/accelerations/udot-ft_sec2</property>
</input>
<output>/autopilot/autobrake/actual-decel-ftsec2</output>
</filter>
<!-- translate dial setting levels into target decelerations, based upon
information in the POH -->
<filter>
<name>Target Deceleration Table</name>
<type>gain</type>
<debug>false</debug>
<gain>1.0</gain>
<output>/autopilot/autobrake/target-decel-ftsec2</output>
<input>
<condition>
<not>
<property>/autopilot/autobrake/max-selected</property>
</not>
</condition>
<expression>
<!-- values taken from http://www.pprune.org/tech-log/304333-a320-autoland-distance-autobrake-vs-manual-landing-distance-autobrake-2.html#post3809602 -->
<table>
<property>/autopilot/autobrake/step</property>
<entry><ind>0</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>5.6</dep></entry>
<entry><ind>2</ind><dep>9.8</dep></entry>
</table>
</expression>
</input>
<input>
<condition>
<property>/autopilot/autobrake/max-selected</property>
</condition>
<!-- RTO setting applies max hydraulic pressure, simulate this
with a huge value here, to ensure the PI drives to 1.0 output -->
<value>50</value>
</input>
</filter>
<pi-simple-controller>
<name>Brake Effort Computer</name>
<debug>false</debug>
<enable>
<property>/autopilot/autobrake/engaged</property>
</enable>
<input><property>/autopilot/autobrake/actual-decel-ftsec2</property></input>
<reference>/autopilot/autobrake/target-decel-ftsec2</reference>
<output>/autopilot/autobrake/output-brake</output>
<min>0.0</min>
<max>1.0</max>
<config>
<Kp>1.0</Kp>
<Ki>0.0</Ki>
</config>
</pi-simple-controller>
<!-- left output summer -->
<filter>
<name>Left Output Summer</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<property>/autopilot/autobrake/engaged</property>
</condition>
<expression>
<max>
<property>/controls/gear/brake-left</property>
<property>/autopilot/autobrake/output-brake</property>
</max>
</expression>
</input>
<!-- default input -->
<input>
<property>/controls/gear/brake-left</property>
</input>
<output>/autopilot/autobrake/brake-left-output</output>
</filter>
<!-- right output summer -->
<filter>
<name>Right Output Summer</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<property>/autopilot/autobrake/engaged</property>
</condition>
<expression>
<max>
<property>/controls/gear/brake-right</property>
<property>/autopilot/autobrake/output-brake</property>
</max>
</expression>
</input>
<!-- default input -->
<input>
<property>/controls/gear/brake-right</property>
</input>
<output>/autopilot/autobrake/brake-right-output</output>
</filter>
</PropertyList>

View file

@ -1,77 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Airbus A320 speedbrake/ground spoiler configuration -->
<PropertyList>
<flipflop>
<name>Auto Speedbrake Engage logic</name>
<debug>false</debug>
<type>RS</type>
<enable>
<condition>
<and>
<equals>
<property>/controls/flight/speedbrake-arm</property>
<value>1</value>
</equals>
<less-than>
<property>/engines/engine[0]/reverser-pos-norm</property>
<value>0.01</value>
</less-than>
<less-than>
<property>/engines/engine[1]/reverser-pos-norm</property>
<value>0.01</value>
</less-than>
</and>
</condition>
</enable>
<S>
<and>
<less-than>
<property>/controls/engines/engine/throttle</property>
<value>0.15</value>
</less-than>
<less-than>
<property>/controls/engines/engine[1]/throttle</property>
<value>0.15</value>
</less-than>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
<greater-than>
<property>/velocities/groundspeed-kt</property>
<value>60</value>
</greater-than>
</and>
</S>
<R>
<or>
<greater-than>
<property>/controls/engines/engine/throttle</property>
<value>0.16</value>
</greater-than>
<greater-than>
<property>/controls/engines/engine[1]/throttle</property>
<value>0.16</value>
</greater-than>
</or>
</R>
<output>/controls/flight/speedbrake-lever</output>
</flipflop>
<filter>
<name>Main speedbrake controller</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<max>
<property>/controls/flight/ground-spoilers</property>
<property>/controls/flight/speedbrake-lever</property>
</max>
</expression>
</input>
<output>/controls/flight/speedbrake</output>
</filter>
</PropertyList>

View file

@ -1,68 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<name>failures-dlg</name>
<layout>vbox</layout>
<text>
<label>Failures</label>
</text>
<hrule/>
<text>
<label>Engine fire</label>
</text>
<group>
<layout>hbox</layout>
<checkbox>
<label>Engine 1</label>
<property>engines/engine[0]/on-fire</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<checkbox>
<label>Engine 2</label>
<property>engines/engine[1]/on-fire</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<checkbox>
<label>APU</label>
<property>engines/apu/on-fire</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
</group>
<hrule/>
<group>
<layout>vbox</layout>
<button>
<legend>Close</legend>
<default>true</default>
<key>Esc</key>
<padding>10</padding>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</PropertyList>

View file

@ -4,7 +4,10 @@
<PropertyList> <PropertyList>
<!-- Aileron/Spoileron/Speedbrake Control --> <!-- =============================================================== -->
<!-- Aileron Control -->
<!-- =============================================================== -->
<filter> <filter>
<debug>false</debug> <debug>false</debug>
<type>gain</type> <type>gain</type>
@ -36,7 +39,16 @@
</equals> </equals>
</and> </and>
</condition> </condition>
<expression>
<sum>
<property>/surface-positions/speedbrake-pos-norm</property> <property>/surface-positions/speedbrake-pos-norm</property>
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind>0.2</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>-1.0</dep></entry>
</table>
</sum>
</expression>
<scale>-0.5</scale> <scale>-0.5</scale>
</input> </input>
<input> <input>
@ -125,7 +137,16 @@
</equals> </equals>
</and> </and>
</condition> </condition>
<expression>
<sum>
<property>/surface-positions/speedbrake-pos-norm</property> <property>/surface-positions/speedbrake-pos-norm</property>
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind>-0.2</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
</table>
</sum>
</expression>
<scale>0.5</scale> <scale>0.5</scale>
</input> </input>
<input> <input>
@ -183,6 +204,10 @@
<max-rate-of-change>2.5</max-rate-of-change> <max-rate-of-change>2.5</max-rate-of-change>
</filter> </filter>
<!-- =============================================================== -->
<!-- Spoiler Control -->
<!-- =============================================================== -->
<filter> <filter>
<debug>false</debug> <debug>false</debug>
<type>gain</type> <type>gain</type>
@ -191,6 +216,7 @@
<condition> <condition>
<and> <and>
<or> <or>
<and>
<greater-than-equals> <greater-than-equals>
<property>/systems/hydraulic/green-psi</property> <property>/systems/hydraulic/green-psi</property>
<value>1500</value> <value>1500</value>
@ -199,10 +225,17 @@
<property>/systems/hydraulic/blue-psi</property> <property>/systems/hydraulic/blue-psi</property>
<value>1500</value> <value>1500</value>
</greater-than-equals> </greater-than-equals>
</and>
<and>
<greater-than-equals>
<property>/systems/hydraulic/blue-psi</property>
<value>1500</value>
</greater-than-equals>
<greater-than-equals> <greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property> <property>/systems/hydraulic/yellow-psi</property>
<value>1500</value> <value>1500</value>
</greater-than-equals> </greater-than-equals>
</and>
</or> </or>
<not-equals> <not-equals>
<property>/controls/flight/speedbrake-lever</property> <property>/controls/flight/speedbrake-lever</property>
@ -214,9 +247,9 @@
<sum> <sum>
<property>/surface-positions/speedbrake-pos-norm</property> <property>/surface-positions/speedbrake-pos-norm</property>
<table> <table>
<property>/controls/flight/aileron-fbw</property> <property>/controls/flight/roll-fbw</property>
<entry><ind>0</ind><dep> 0</dep></entry> <entry><ind>0.2</ind><dep> 0</dep></entry>
<entry><ind>1</ind><dep>-0.5</dep></entry> <entry><ind>1.0</ind><dep>-0.5</dep></entry>
</table> </table>
</sum> </sum>
</expression> </expression>
@ -243,6 +276,7 @@
<input> <input>
<condition> <condition>
<or> <or>
<and>
<greater-than-equals> <greater-than-equals>
<property>/systems/hydraulic/green-psi</property> <property>/systems/hydraulic/green-psi</property>
<value>1500</value> <value>1500</value>
@ -251,16 +285,23 @@
<property>/systems/hydraulic/blue-psi</property> <property>/systems/hydraulic/blue-psi</property>
<value>1500</value> <value>1500</value>
</greater-than-equals> </greater-than-equals>
</and>
<and>
<greater-than-equals>
<property>/systems/hydraulic/blue-psi</property>
<value>1500</value>
</greater-than-equals>
<greater-than-equals> <greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property> <property>/systems/hydraulic/yellow-psi</property>
<value>1500</value> <value>1500</value>
</greater-than-equals> </greater-than-equals>
</and>
</or> </or>
</condition> </condition>
<expression> <expression>
<table> <table>
<property>/controls/flight/aileron-fbw</property> <property>/controls/flight/spoiler-left-fbw-cmd</property>
<entry><ind> 0.0</ind><dep> 0</dep></entry> <entry><ind>-0.2</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>0.5</dep></entry> <entry><ind>-1.0</ind><dep>0.5</dep></entry>
</table> </table>
</expression> </expression>
@ -275,7 +316,7 @@
<type>noise-spike</type> <type>noise-spike</type>
<input>/controls/flight/spoiler-left-cmd</input> <input>/controls/flight/spoiler-left-cmd</input>
<output>/controls/flight/spoiler-left</output> <output>/controls/flight/spoiler-left</output>
<max-rate-of-change>1.5</max-rate-of-change> <max-rate-of-change>1.0</max-rate-of-change>
</filter> </filter>
<filter> <filter>
@ -286,6 +327,7 @@
<condition> <condition>
<and> <and>
<or> <or>
<and>
<greater-than-equals> <greater-than-equals>
<property>/systems/hydraulic/green-psi</property> <property>/systems/hydraulic/green-psi</property>
<value>1500</value> <value>1500</value>
@ -294,10 +336,17 @@
<property>/systems/hydraulic/blue-psi</property> <property>/systems/hydraulic/blue-psi</property>
<value>1500</value> <value>1500</value>
</greater-than-equals> </greater-than-equals>
</and>
<and>
<greater-than-equals>
<property>/systems/hydraulic/blue-psi</property>
<value>1500</value>
</greater-than-equals>
<greater-than-equals> <greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property> <property>/systems/hydraulic/yellow-psi</property>
<value>1500</value> <value>1500</value>
</greater-than-equals> </greater-than-equals>
</and>
</or> </or>
<not-equals> <not-equals>
<property>/controls/flight/speedbrake-lever</property> <property>/controls/flight/speedbrake-lever</property>
@ -309,9 +358,9 @@
<sum> <sum>
<property>/surface-positions/speedbrake-pos-norm</property> <property>/surface-positions/speedbrake-pos-norm</property>
<table> <table>
<property>/controls/flight/aileron-fbw</property> <property>/controls/flight/roll-fbw</property>
<entry><ind> 0</ind><dep> 0</dep></entry> <entry><ind>-0.2</ind><dep> 0</dep></entry>
<entry><ind>-1</ind><dep>-0.5</dep></entry> <entry><ind>-1.0</ind><dep>-0.5</dep></entry>
</table> </table>
</sum> </sum>
</expression> </expression>
@ -338,6 +387,7 @@
<input> <input>
<condition> <condition>
<or> <or>
<and>
<greater-than-equals> <greater-than-equals>
<property>/systems/hydraulic/green-psi</property> <property>/systems/hydraulic/green-psi</property>
<value>1500</value> <value>1500</value>
@ -346,16 +396,23 @@
<property>/systems/hydraulic/blue-psi</property> <property>/systems/hydraulic/blue-psi</property>
<value>1500</value> <value>1500</value>
</greater-than-equals> </greater-than-equals>
</and>
<and>
<greater-than-equals>
<property>/systems/hydraulic/blue-psi</property>
<value>1500</value>
</greater-than-equals>
<greater-than-equals> <greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property> <property>/systems/hydraulic/yellow-psi</property>
<value>1500</value> <value>1500</value>
</greater-than-equals> </greater-than-equals>
</and>
</or> </or>
</condition> </condition>
<expression> <expression>
<table> <table>
<property>/controls/flight/aileron-fbw</property> <property>/controls/flight/spoiler-right-fbw-cmd</property>
<entry><ind>0.0</ind><dep> 0</dep></entry> <entry><ind>0.2</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>0.5</dep></entry> <entry><ind>1.0</ind><dep>0.5</dep></entry>
</table> </table>
</expression> </expression>
@ -370,7 +427,7 @@
<type>noise-spike</type> <type>noise-spike</type>
<input>/controls/flight/spoiler-right-cmd</input> <input>/controls/flight/spoiler-right-cmd</input>
<output>/controls/flight/spoiler-right</output> <output>/controls/flight/spoiler-right</output>
<max-rate-of-change>1.5</max-rate-of-change> <max-rate-of-change>1.0</max-rate-of-change>
</filter> </filter>
<filter> <filter>
@ -400,7 +457,10 @@
<output>/controls/flight/aileron-sum</output> <output>/controls/flight/aileron-sum</output>
</filter> </filter>
<!-- =============================================================== -->
<!-- Elevator Control --> <!-- Elevator Control -->
<!-- =============================================================== -->
<filter> <filter>
<debug>false</debug> <debug>false</debug>
<type>gain</type> <type>gain</type>
@ -520,7 +580,10 @@
<output>/controls/flight/elevator-sum</output> <output>/controls/flight/elevator-sum</output>
</filter> </filter>
<!-- Rudder --> <!-- =============================================================== -->
<!-- Rudder Control -->
<!-- =============================================================== -->
<filter> <filter>
<debug>false</debug> <debug>false</debug>
<type>gain</type> <type>gain</type>
@ -581,4 +644,78 @@
<max-rate-of-change>2.5</max-rate-of-change> <max-rate-of-change>2.5</max-rate-of-change>
</filter> </filter>
<!-- =============================================================== -->
<!-- Speedbrake Logic -->
<!-- =============================================================== -->
<flipflop>
<name>Auto Speedbrake</name>
<debug>false</debug>
<type>RS</type>
<enable>
<condition>
<and>
<equals>
<property>/controls/flight/speedbrake-arm</property>
<value>1</value>
</equals>
<less-than>
<property>/engines/engine[0]/reverser-pos-norm</property>
<value>0.01</value>
</less-than>
<less-than>
<property>/engines/engine[1]/reverser-pos-norm</property>
<value>0.01</value>
</less-than>
</and>
</condition>
</enable>
<S>
<and>
<less-than>
<property>/controls/engines/engine/throttle</property>
<value>0.15</value>
</less-than>
<less-than>
<property>/controls/engines/engine[1]/throttle</property>
<value>0.15</value>
</less-than>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
<greater-than>
<property>/velocities/groundspeed-kt</property>
<value>60</value>
</greater-than>
</and>
</S>
<R>
<or>
<greater-than>
<property>/controls/engines/engine/throttle</property>
<value>0.16</value>
</greater-than>
<greater-than>
<property>/controls/engines/engine[1]/throttle</property>
<value>0.16</value>
</greater-than>
</or>
</R>
<output>/controls/flight/speedbrake-lever</output>
</flipflop>
<filter>
<name>Main speedbrake controller</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<max>
<property>/controls/flight/ground-spoilers</property>
<property>/controls/flight/speedbrake-lever</property>
</max>
</expression>
</input>
<output>/controls/flight/speedbrake</output>
</filter>
</PropertyList> </PropertyList>

View file

@ -278,7 +278,7 @@
</condition> </condition>
<value>0</value> <value>0</value>
</input> </input>
<output>/it-autoflight/internal/heading-error-deg-cmd</output> <output>/it-autoflight/internal/heading-error-deg</output>
<period> <period>
<min>-180</min> <min>-180</min>
<max>180</max> <max>180</max>
@ -286,68 +286,6 @@
<gain>1.0</gain> <gain>1.0</gain>
</filter> </filter>
<filter>
<name>HEADING ERROR FILTER</name>
<debug>false</debug>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<input>
<property>/it-autoflight/internal/heading-error-deg-cmd</property>
</input>
<output>/it-autoflight/internal/heading-error-deg</output>
<type>noise-spike</type>
<max-rate-of-change>
<condition>
<or>
<and>
<not-equals>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</not-equals>
<not-equals>
<property>/it-autoflight/output/lat</property>
<value>1</value>
</not-equals>
</and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
</condition>
<value>90</value>
</max-rate-of-change>
<max-rate-of-change>
<condition>
<and>
<or>
<equals>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/output/lat</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
</and>
</condition>
<value>4</value>
</max-rate-of-change>
</filter>
<filter> <filter>
<name>VERT SPEED FILTER</name> <name>VERT SPEED FILTER</name>
<debug>false</debug> <debug>false</debug>
@ -623,7 +561,7 @@
</input> </input>
<output>/it-autoflight/internal/target-roll</output> <output>/it-autoflight/internal/target-roll</output>
<type>noise-spike</type> <type>noise-spike</type>
<max-rate-of-change>15</max-rate-of-change> <max-rate-of-change>6</max-rate-of-change>
</filter> </filter>
<pid-controller> <pid-controller>
@ -740,7 +678,7 @@
</input> </input>
<output>/controls/flight/aileron</output> <output>/controls/flight/aileron</output>
<type>noise-spike</type> <type>noise-spike</type>
<max-rate-of-change>0.9</max-rate-of-change> <max-rate-of-change>2.5</max-rate-of-change>
</filter> </filter>
<!-- =============================================================== --> <!-- =============================================================== -->
@ -888,7 +826,7 @@
<value>4</value> <value>4</value>
</equals> </equals>
</condition> </condition>
<value>-40</value> <value>-50</value>
</Kp> </Kp>
<Kp> <Kp>
<condition> <condition>
@ -897,7 +835,7 @@
<value>7</value> <value>7</value>
</equals> </equals>
</condition> </condition>
<value>-55</value> <value>-60</value>
</Kp> </Kp>
<beta>1.0</beta> <beta>1.0</beta>
<alpha>0.1</alpha> <alpha>0.1</alpha>
@ -1029,7 +967,7 @@
<property>/it-autoflight/internal/target-fpm-b</property> <property>/it-autoflight/internal/target-fpm-b</property>
</output> </output>
<config> <config>
<Kp>-40</Kp> <Kp>-50</Kp>
<beta>1.0</beta> <beta>1.0</beta>
<alpha>0.1</alpha> <alpha>0.1</alpha>
<gamma>0.0</gamma> <gamma>0.0</gamma>
@ -1264,7 +1202,7 @@
<property>/it-autoflight/config/autoland/kp-pitch</property> <property>/it-autoflight/config/autoland/kp-pitch</property>
</Kp> </Kp>
<Ti>5.0</Ti> <Ti>5.0</Ti>
<Td>0.001</Td> <Td>0.003</Td>
<u_min> <u_min>
<condition> <condition>
<not-equals> <not-equals>
@ -1326,7 +1264,7 @@
</input> </input>
<output>/it-autoflight/internal/target-pitch</output> <output>/it-autoflight/internal/target-pitch</output>
<type>noise-spike</type> <type>noise-spike</type>
<max-rate-of-change>10</max-rate-of-change> <max-rate-of-change>6</max-rate-of-change>
</filter> </filter>
<pid-controller> <pid-controller>
@ -1401,7 +1339,7 @@
</input> </input>
<output>/controls/flight/elevator</output> <output>/controls/flight/elevator</output>
<type>noise-spike</type> <type>noise-spike</type>
<max-rate-of-change>0.4</max-rate-of-change> <max-rate-of-change>2.5</max-rate-of-change>
</filter> </filter>
<!-- =============================================================== --> <!-- =============================================================== -->

View file

@ -5,14 +5,22 @@
<PropertyList> <PropertyList>
<!-- =============================================================== --> <!-- =============================================================== -->
<!-- Elevator Position Feeding --> <!-- Surface Position Feeding -->
<!-- =============================================================== --> <!-- =============================================================== -->
<filter> <filter>
<debug>false</debug> <debug>false</debug>
<type>gain</type> <type>noise-spike</type>
<gain>1.0</gain> <input>/controls/flight/aileron</input>
<output>/controls/flight/aileron-input</output>
<max-rate-of-change>2.5</max-rate-of-change>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<input> <input>
<condition> <condition>
<and> <and>
@ -61,6 +69,7 @@
<property>/controls/flight/elevator</property> <property>/controls/flight/elevator</property>
</input> </input>
<output>/controls/flight/elevator-input</output> <output>/controls/flight/elevator-input</output>
<max-rate-of-change>2.5</max-rate-of-change>
</filter> </filter>
<!-- =============================================================== --> <!-- =============================================================== -->
@ -106,11 +115,11 @@
<property>/controls/flight/aileron-fbw-cmd</property> <property>/controls/flight/aileron-fbw-cmd</property>
</output> </output>
<config> <config>
<Kp>0.14</Kp> <Kp>0.12</Kp>
<beta>1</beta> <beta>1</beta>
<alpha>0.1</alpha> <alpha>0.1</alpha>
<gamma>0</gamma> <gamma>0</gamma>
<Ti>5</Ti> <Ti>10</Ti>
<Td>0.005</Td> <Td>0.005</Td>
<u_min>-1</u_min> <u_min>-1</u_min>
<u_max>1</u_max> <u_max>1</u_max>
@ -178,7 +187,7 @@
</equals> </equals>
</or> </or>
</condition> </condition>
<property>/controls/flight/aileron</property> <property>/controls/flight/aileron-input</property>
</input> </input>
<input> <input>
<condition> <condition>
@ -189,11 +198,42 @@
</condition> </condition>
<value>0</value> <value>0</value>
</input> </input>
<output>/controls/flight/aileron-fbw</output> <output>/controls/flight/roll-fbw</output>
<type>noise-spike</type> <type>noise-spike</type>
<max-rate-of-change>10</max-rate-of-change> <max-rate-of-change>10</max-rate-of-change>
</filter> </filter>
<filter>
<name>IT-FBW: AILERON</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>/controls/flight/roll-fbw</input>
<output>/controls/flight/aileron-fbw</output>
</filter>
<filter>
<name>IT-FBW: LEFT SPOILER</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>/controls/flight/roll-fbw</input>
<output>/controls/flight/spoiler-left-fbw-cmd</output>
<min>-1</min>
<max>0</max>
</filter>
<filter>
<name>IT-FBW: RIGHT SPOILER</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>/controls/flight/roll-fbw</input>
<output>/controls/flight/spoiler-right-fbw-cmd</output>
<min>0</min>
<max>1</max>
</filter>
<!-- =============================================================== --> <!-- =============================================================== -->
<!-- Vertical --> <!-- Vertical -->
<!-- =============================================================== --> <!-- =============================================================== -->
@ -247,11 +287,11 @@
<property>/controls/flight/elevator-fbw-cmd</property> <property>/controls/flight/elevator-fbw-cmd</property>
</output> </output>
<config> <config>
<Kp>-0.25</Kp> <Kp>-0.22</Kp>
<beta>1</beta> <beta>1</beta>
<alpha>0.1</alpha> <alpha>0.1</alpha>
<gamma>0</gamma> <gamma>0</gamma>
<Ti>5</Ti> <Ti>10</Ti>
<Td>0.005</Td> <Td>0.005</Td>
<u_min>-1</u_min> <u_min>-1</u_min>
<u_max>1</u_max> <u_max>1</u_max>
@ -321,7 +361,7 @@
</equals> </equals>
</or> </or>
</condition> </condition>
<property>/controls/flight/elevator</property> <property>/controls/flight/elevator-input</property>
</input> </input>
<input> <input>
<condition> <condition>

View file

@ -36,21 +36,21 @@
<sum> <sum>
<property>/it-fbw/roll-deg</property> <property>/it-fbw/roll-deg</property>
<table> <table>
<independentVar lookup="row">/controls/flight/aileron</independentVar> <independentVar lookup="row">/controls/flight/aileron-input</independentVar>
<tableData> <tableData>
-1.0 -0.1 -1.0 -0.15
-0.7 -0.05 -0.7 -0.1
-0.5 -0.02 -0.5 -0.05
-0.3 -0.011 -0.3 -0.025
-0.15 -0.004 -0.15 -0.01
-0.05 -0.0015 -0.05 -0.005
0.00 0.000 0.00 0.00
0.05 0.0015 0.05 0.005
0.15 0.004 0.15 0.01
0.3 0.011 0.3 0.025
0.5 0.02 0.5 0.05
0.7 0.05 0.7 0.1
1.0 0.1 1.0 0.15
</tableData> </tableData>
</table> </table>
</sum> </sum>

View file

@ -1,212 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<name>lights-dlg</name>
<layout>vbox</layout>
<text>
<label>A320 Light Controller</label>
</text>
<hrule />
<group>
<layout>vbox</layout>
<text>
<label>Landing lights</label>
</text>
<group>
<layout>hbox</layout>
<checkbox>
<label>Left</label>
<property>controls/lighting/landing-lights[0]</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<checkbox>
<label>Nosegear</label>
<property>controls/lighting/landing-lights[1]</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<checkbox>
<label>Right</label>
<property>controls/lighting/landing-lights[2]</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
</group>
<hrule/>
<text>
<label>Navigation/logo lights</label>
</text>
<group>
<layout>hbox</layout>
<button>
<legend>Off</legend>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>property-assign</command>
<property>controls/lighting/nav-lights-switch</property>
<value>0</value>
</binding>
</button>
<button>
<legend>1</legend>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>property-assign</command>
<property>controls/lighting/nav-lights-switch</property>
<value>1</value>
</binding>
</button>
<button>
<legend>2</legend>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>property-assign</command>
<property>controls/lighting/nav-lights-switch</property>
<value>2</value>
</binding>
</button>
</group>
<checkbox>
<label>Strobe lights</label>
<property>controls/lighting/strobe</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<!-- <checkbox>
<label>Wing lights</label>
<property>controls/lighting/wing-lights</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>-->
<checkbox>
<label>Beacon</label>
<property>controls/lighting/beacon</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<text>
<label>Cockpit dome lighting</label>
</text>
<slider>
<width>200</width>
<property>controls/lighting/dome-norm</property>
<step>0.5</step>
<min>0</min>
<max>1</max>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<label>Cabin lighting</label>
</text>
<slider>
<width>200</width>
<property>controls/lighting/interior</property>
<step>0.05</step>
<min>0</min>
<max>1</max>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<label>Overhead panel lighting</label>
</text>
<slider>
<width>200</width>
<property>controls/lighting/overhead-panel-norm</property>
<step>0.05</step>
<min>0</min>
<max>1</max>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<label>Pedestal/main panel lighting</label>
</text>
<slider>
<width>200</width>
<property>controls/lighting/main-panel-pedestal-norm</property>
<step>0.05</step>
<min>0</min>
<max>1</max>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<checkbox>
<label>3D light cones</label>
<property>controls/lighting/cones</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
</group>
<hrule />
<group>
<layout>vbox</layout>
<button>
<legend>Close</legend>
<default>true</default>
<key>Esc</key>
<padding>10</padding>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</PropertyList>