ITAF Update

This commit is contained in:
Joshua Davidson 2017-04-02 18:32:04 -04:00
parent 55ef57eea3
commit a3ff8a0b4e
3 changed files with 6 additions and 5 deletions

View file

@ -21,7 +21,7 @@ var ap_init = func {
setprop("/it-autoflight/input/lat-arm", 0); setprop("/it-autoflight/input/lat-arm", 0);
setprop("/it-autoflight/input/vert", 7); setprop("/it-autoflight/input/vert", 7);
setprop("/it-autoflight/input/prof-arm", 0); setprop("/it-autoflight/input/prof-arm", 0);
setprop("/it-autoflight/input/bank-limit", 30); setprop("/it-autoflight/input/bank-limit", getprop("/it-autoflight/settings/default-bank-limit"));
setprop("/it-autoflight/input/trk", 0); setprop("/it-autoflight/input/trk", 0);
setprop("/it-autoflight/input/toga", 0); setprop("/it-autoflight/input/toga", 0);
setprop("/it-autoflight/output/ap1", 0); setprop("/it-autoflight/output/ap1", 0);

View file

@ -698,9 +698,11 @@
<pref-width>70</pref-width> <pref-width>70</pref-width>
<legend>AUTO</legend> <legend>AUTO</legend>
<binding> <binding>
<command>property-assign</command> <command>nasal</command>
<property>/it-autoflight/input/bank-limit</property> <script>
<value>30</value> var dbl = getprop("/it-autoflight/settings/default-bank-limit");
setprop("/it-autoflight/input/bank-limit", dbl);
</script>
</binding> </binding>
</button> </button>

View file

@ -224,7 +224,6 @@
</condition> </condition>
</enable> </enable>
<input> <input>
<property>/controls/flight/throttle-cmd</property> <property>/controls/flight/throttle-cmd</property>
</input> </input>
<output> <output>