Merge branch 'master' of github.com:it0uchpods/IDG-A32X

This commit is contained in:
Joshua Davidson 2017-11-15 22:50:32 -05:00
commit 2d38c84277
3 changed files with 8 additions and 8 deletions

View file

@ -25,8 +25,8 @@ setlistener("/sim/signals/fdm-initialized", func {
});
var APinit = func {
setprop("/instrumentation/efis[0]/mfd/true-north", 0);
setprop("/instrumentation/efis[1]/mfd/true-north", 0);
setprop("/instrumentation/efis[0]/trk-selected", 0);
setprop("/instrumentation/efis[1]/trk-selected", 0);
setprop("/it-autoflight/custom/trk-fpa", 0);
setprop("/it-autoflight/input/kts-mach", 0);
setprop("/it-autoflight/input/ap1", 0);
@ -496,8 +496,8 @@ var trkfpa_off = func {
setprop("/it-autoflight/input/vert", 1);
}
setprop("/it-autoflight/input/trk", 0);
setprop("/instrumentation/efis[0]/mfd/true-north", 0);
setprop("/instrumentation/efis[1]/mfd/true-north", 0);
setprop("/instrumentation/efis[0]/trk-selected", 0);
setprop("/instrumentation/efis[1]/trk-selected", 0);
var hed = getprop("/it-autoflight/internal/heading-error-deg");
if (hed >= -10 and hed <= 10 and getprop("/it-autoflight/output/lat") == 0) {
setprop("/it-autoflight/input/lat", 3);
@ -510,8 +510,8 @@ var trkfpa_on = func {
setprop("/it-autoflight/input/vert", 5);
}
setprop("/it-autoflight/input/trk", 1);
setprop("/instrumentation/efis[0]/mfd/true-north", 1);
setprop("/instrumentation/efis[1]/mfd/true-north", 1);
setprop("/instrumentation/efis[0]/trk-selected", 1);
setprop("/instrumentation/efis[1]/trk-selected", 1);
var hed = getprop("/it-autoflight/internal/heading-error-deg");
if (hed >= -10 and hed <= 10 and getprop("/it-autoflight/output/lat") == 0) {
setprop("/it-autoflight/input/lat", 3);

View file

@ -33,7 +33,7 @@
<value>1</value>
</equals>
</condition>
<property>/orientation/heading-deg</property>
<property>/orientation/track-magnetic-deg</property>
</input>
<output>/it-autoflight/internal/heading-5-sec-ahead</output>
<seconds>5.0</seconds>

View file

@ -1 +1 @@
4002
4003