2017-04-07 18:09:40 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
|
2018-12-20 01:55:02 +00:00
|
|
|
<!-- Copyright (c) 2018 Joshua Davidson (it0uchpods) -->
|
2017-07-13 17:30:33 +00:00
|
|
|
|
2017-04-07 18:09:40 +00:00
|
|
|
<!-- A3XX Aircraft Config Dialog -->
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<name>aircraft-config-fbw</name>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
<text>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>FBW Settings</label>
|
|
|
|
</text>
|
|
|
|
<button>
|
|
|
|
<halign>right</halign>
|
|
|
|
<pref-width>20</pref-width>
|
|
|
|
<pref-height>20</pref-height>
|
|
|
|
<legend>X</legend>
|
|
|
|
<key>Esc</key>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<hrule/>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
|
2017-04-17 23:02:43 +00:00
|
|
|
<checkbox>
|
|
|
|
<label>Define Custom FBW Mode</label>
|
|
|
|
<halign>left</halign>
|
|
|
|
<property>/it-fbw/override</property>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
<live>true</live>
|
|
|
|
</checkbox>
|
2017-04-07 18:09:40 +00:00
|
|
|
<button>
|
|
|
|
<halign>center</halign>
|
|
|
|
<legend>Use NORMAL Law</legend>
|
|
|
|
<pref-width>140</pref-width>
|
2017-04-17 23:02:43 +00:00
|
|
|
<enable>
|
|
|
|
<property>/it-fbw/override</property>
|
|
|
|
</enable>
|
2017-04-07 18:09:40 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2017-07-05 02:20:23 +00:00
|
|
|
setprop("/it-fbw/degrade-law", 0);
|
2017-04-17 04:10:36 +00:00
|
|
|
setprop("/it-fbw/law", 0);
|
2017-04-07 18:09:40 +00:00
|
|
|
gui.popupTip("Fly By Wire switched to NORMAL law!");
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
<button>
|
|
|
|
<halign>center</halign>
|
|
|
|
<legend>Use ALTERNATE Law</legend>
|
|
|
|
<pref-width>140</pref-width>
|
2017-04-17 23:02:43 +00:00
|
|
|
<enable>
|
|
|
|
<property>/it-fbw/override</property>
|
|
|
|
</enable>
|
2017-04-07 18:09:40 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2017-07-05 02:20:23 +00:00
|
|
|
setprop("/it-fbw/degrade-law", 1);
|
2017-04-17 04:10:36 +00:00
|
|
|
setprop("/it-fbw/law", 1);
|
2017-04-07 18:09:40 +00:00
|
|
|
gui.popupTip("Fly By Wire switched to ALTERNATE law!");
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
<button>
|
|
|
|
<halign>center</halign>
|
|
|
|
<legend>Use DIRECT Law</legend>
|
|
|
|
<pref-width>140</pref-width>
|
2017-04-17 23:02:43 +00:00
|
|
|
<enable>
|
|
|
|
<property>/it-fbw/override</property>
|
|
|
|
</enable>
|
2017-04-07 18:09:40 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2017-07-05 02:20:23 +00:00
|
|
|
setprop("/it-fbw/degrade-law", 2);
|
2017-04-17 04:10:36 +00:00
|
|
|
setprop("/it-fbw/law", 2);
|
2017-04-07 18:09:40 +00:00
|
|
|
gui.popupTip("Fly By Wire switched to DIRECT law!");
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
<button>
|
|
|
|
<halign>center</halign>
|
|
|
|
<legend>Use BACKUP Law</legend>
|
|
|
|
<pref-width>140</pref-width>
|
2017-04-17 23:02:43 +00:00
|
|
|
<enable>
|
|
|
|
<property>/it-fbw/override</property>
|
|
|
|
</enable>
|
2017-04-07 18:09:40 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2017-07-05 02:20:23 +00:00
|
|
|
setprop("/it-fbw/degrade-law", 3);
|
2017-04-17 04:10:36 +00:00
|
|
|
setprop("/it-fbw/law", 3);
|
2017-04-07 18:09:40 +00:00
|
|
|
gui.popupTip("Fly By Wire switched to MECHANICAL BACKUP law!");
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
2017-05-11 22:58:16 +00:00
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
|
|
|
|
<hrule>
|
|
|
|
<stretch type="bool">true</stretch>
|
|
|
|
</hrule>
|
|
|
|
<text>
|
|
|
|
<label>Roll</label>
|
|
|
|
</text>
|
|
|
|
<hrule>
|
|
|
|
<stretch type="bool">true</stretch>
|
|
|
|
</hrule>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>vbox</layout>
|
2018-07-16 01:26:26 +00:00
|
|
|
|
|
|
|
<text>
|
|
|
|
<label>L:</label>
|
|
|
|
</text>
|
2017-05-11 22:58:16 +00:00
|
|
|
<slider>
|
2018-07-16 01:26:26 +00:00
|
|
|
<pref-height>150</pref-height>
|
|
|
|
<vertical>true</vertical>
|
|
|
|
<property>/fdm/jsbsim/hydraulics/aileron-l/final-deg</property>
|
|
|
|
<min>-25</min>
|
|
|
|
<max>25</max>
|
|
|
|
<step>0.0025</step>
|
|
|
|
<live>true</live>
|
|
|
|
</slider>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<label>R:</label>
|
|
|
|
</text>
|
|
|
|
<slider>
|
|
|
|
<pref-height>150</pref-height>
|
|
|
|
<vertical>true</vertical>
|
|
|
|
<property>/fdm/jsbsim/hydraulics/aileron-r/final-deg</property>
|
|
|
|
<min>-25</min>
|
|
|
|
<max>25</max>
|
|
|
|
<step>0.0025</step>
|
2017-05-11 22:58:16 +00:00
|
|
|
<live>true</live>
|
|
|
|
</slider>
|
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
|
|
|
|
<hrule>
|
|
|
|
<stretch type="bool">true</stretch>
|
|
|
|
</hrule>
|
|
|
|
<text>
|
|
|
|
<label>Pitch</label>
|
|
|
|
</text>
|
|
|
|
<hrule>
|
|
|
|
<stretch type="bool">true</stretch>
|
|
|
|
</hrule>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
|
|
|
|
<text>
|
2018-07-16 01:26:26 +00:00
|
|
|
<label>L:</label>
|
2017-05-11 22:58:16 +00:00
|
|
|
</text>
|
|
|
|
<slider>
|
|
|
|
<pref-height>150</pref-height>
|
|
|
|
<vertical>true</vertical>
|
2018-07-16 01:26:26 +00:00
|
|
|
<property>/fdm/jsbsim/hydraulics/elevator-l/final-deg</property>
|
|
|
|
<min>-30</min>
|
|
|
|
<max>17</max>
|
|
|
|
<step>0.003</step>
|
2017-05-11 22:58:16 +00:00
|
|
|
<live>true</live>
|
|
|
|
</slider>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
|
|
|
|
<text>
|
2018-07-16 01:26:26 +00:00
|
|
|
<label>Trim:</label>
|
|
|
|
</text>
|
|
|
|
<slider>
|
|
|
|
<pref-height>150</pref-height>
|
|
|
|
<vertical>true</vertical>
|
|
|
|
<property>/fdm/jsbsim/hydraulics/elevator-trim/final-deg</property>
|
|
|
|
<min>-12.5</min>
|
|
|
|
<max>4</max>
|
|
|
|
<step>0.00125</step>
|
|
|
|
<live>true</live>
|
|
|
|
</slider>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<label>R:</label>
|
2017-05-11 22:58:16 +00:00
|
|
|
</text>
|
|
|
|
<slider>
|
|
|
|
<pref-height>150</pref-height>
|
|
|
|
<vertical>true</vertical>
|
2018-07-16 01:26:26 +00:00
|
|
|
<property>/fdm/jsbsim/hydraulics/elevator-r/final-deg</property>
|
|
|
|
<min>-30</min>
|
|
|
|
<max>17</max>
|
|
|
|
<step>0.003</step>
|
2017-05-11 22:58:16 +00:00
|
|
|
<live>true</live>
|
|
|
|
</slider>
|
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
|
|
|
|
<hrule>
|
|
|
|
<stretch type="bool">true</stretch>
|
|
|
|
</hrule>
|
|
|
|
<text>
|
2018-07-16 01:26:26 +00:00
|
|
|
<label>Rudder</label>
|
2017-05-11 22:58:16 +00:00
|
|
|
</text>
|
|
|
|
<hrule>
|
|
|
|
<stretch type="bool">true</stretch>
|
|
|
|
</hrule>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
|
|
|
|
<slider>
|
|
|
|
<pref-width>150</pref-width>
|
2018-07-16 01:26:26 +00:00
|
|
|
<property>/fdm/jsbsim/hydraulics/rudder/final-deg</property>
|
|
|
|
<min>-25</min>
|
|
|
|
<max>25</max>
|
|
|
|
<step>0.0025</step>
|
2017-05-11 22:58:16 +00:00
|
|
|
<live>true</live>
|
|
|
|
</slider>
|
|
|
|
</group>
|
|
|
|
</group>
|
2017-04-07 18:09:40 +00:00
|
|
|
</group>
|
|
|
|
|
|
|
|
</PropertyList>
|