minor fixes and catching up
This commit is contained in:
parent
d5e2f26a84
commit
9f811b66c6
3 changed files with 15 additions and 10 deletions
|
@ -132,7 +132,7 @@ update_nav = func {
|
|||
if(VNAV == "gs-arm"){
|
||||
if(NAVGS_RANGE.getValue()< 30000){
|
||||
test = GS_DEFLECTION.getValue();
|
||||
if(test < 10 or test > -10){fdprop.getNode("fdmodeV").setValue("gs");}
|
||||
if(test < 1 ){fdprop.getNode("fdmodeV").setValue("gs");}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -140,7 +140,13 @@ update_nav = func {
|
|||
var offset = fdprop.getNode("alt-offset").getValue();
|
||||
if(offset > -990 and offset < 990){
|
||||
fdprop.getNode("fdmodeV").setValue("alt");}
|
||||
}
|
||||
}
|
||||
|
||||
if(VNAV == "alt"){
|
||||
offset = fdprop.getNode("alt-offset").getValue();
|
||||
if(offset < -990 and offset > 990){
|
||||
fdprop.getNode("fdmodeV").setValue("alt-arm");}
|
||||
}
|
||||
}
|
||||
|
||||
get_altoffset = func{
|
||||
|
@ -161,4 +167,3 @@ update = func {
|
|||
}
|
||||
|
||||
settimer(update, 0);
|
||||
|
||||
|
|
|
@ -214,9 +214,9 @@ Syd Adams
|
|||
<object-name>kfc-crs.001</object-name>
|
||||
<property>instrumentation/nav/heading-needle-deflection</property>
|
||||
<interpolation>
|
||||
<entry><ind>-10.0</ind><dep>-0.0193</dep></entry>
|
||||
<entry><ind>-10.0</ind><dep>-0.018</dep></entry>
|
||||
<entry><ind>0.0</ind><dep>0.0</dep></entry>
|
||||
<entry><ind>10.0</ind><dep>0.0193</dep></entry>
|
||||
<entry><ind>10.0</ind><dep>0.018</dep></entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
|
@ -235,11 +235,11 @@ Syd Adams
|
|||
<object-name>GSneedle</object-name>
|
||||
<property>instrumentation/nav/gs-needle-deflection</property>
|
||||
<interpolation>
|
||||
<entry><ind>-100.0</ind><dep>-0.0183</dep></entry>
|
||||
<entry><ind>-10.0</ind><dep>-0.0183</dep></entry>
|
||||
<entry><ind>-100.0</ind><dep>-0.010</dep></entry>
|
||||
<entry><ind>-5.0</ind><dep>-0.010</dep></entry>
|
||||
<entry><ind>0.0</ind><dep>0.0</dep></entry>
|
||||
<entry><ind>10.0</ind><dep>0.0183</dep></entry>
|
||||
<entry><ind>100.0</ind><dep>0.0183</dep></entry>
|
||||
<entry><ind>10.0</ind><dep>0.0172</dep></entry>
|
||||
<entry><ind>100.0</ind><dep>0.0172</dep></entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
|
|
|
@ -116,7 +116,7 @@ setlistener("/instrumentation/kns-80/serviceable", func {
|
|||
|
||||
setlistener("/instrumentation/kns-80/volume", func {
|
||||
if(FDM_ON == 0){return;}
|
||||
#setprop("/instrumentation/nav/volume",cmdarg().getValue());
|
||||
setprop("/instrumentation/nav/volume",cmdarg().getValue());
|
||||
setprop("/instrumentation/dme/volume",cmdarg().getValue());
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue