Beginning of the RNAV system , thanks Ron
This commit is contained in:
parent
bf35e5fd61
commit
4fe8eb5266
2 changed files with 19 additions and 4 deletions
|
@ -1,5 +1,6 @@
|
|||
#### King KNS-80 Integrated Navigation System ####
|
||||
#### Syd Adams ####
|
||||
#### Ron Jensen ####
|
||||
####
|
||||
#### Must be included in the Set file to run the KNS80 radio
|
||||
####
|
||||
|
@ -106,7 +107,15 @@ setlistener("/instrumentation/kns-80/displayed-radial", func {
|
|||
NAV1_RADIAL.setValue(KNS80.getNode("wpt[" ~ radial ~ "]/radial").getValue());
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
setlistener("/instrumentation/kns-80/displayed-distance", func {
|
||||
if(FDM_ON != 0){
|
||||
var dis = cmdarg().getValue();
|
||||
var num = KNS80.getNode("display").getValue();
|
||||
KNS80.getNode("wpt[" ~ num ~ "]/distance").setValue(dis);
|
||||
}
|
||||
});
|
||||
|
||||
setlistener("/instrumentation/kns-80/serviceable", func {
|
||||
if(FDM_ON != 0){
|
||||
setprop("/instrumentation/nav/serviceable",cmdarg().getValue());
|
||||
|
|
|
@ -413,7 +413,8 @@ Syd Adams
|
|||
<property>instrumentation/kns-80/displayed-distance</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<bias>0.005</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
|
@ -425,7 +426,8 @@ Syd Adams
|
|||
<object-name>dist.102</object-name>
|
||||
<property>instrumentation/kns-80/displayed-distance</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<bias>0.005</bias>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
@ -439,7 +441,8 @@ Syd Adams
|
|||
<property>instrumentation/kns-80/displayed-distance</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<axis>
|
||||
<bias>0.005</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
|
@ -454,6 +457,7 @@ Syd Adams
|
|||
<property>instrumentation/dme/indicated-distance-nm</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<bias>0.05</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
@ -467,6 +471,7 @@ Syd Adams
|
|||
<property>instrumentation/dme/indicated-distance-nm</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<bias>0.05</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
@ -480,6 +485,7 @@ Syd Adams
|
|||
<property>instrumentation/dme/indicated-distance-nm</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<bias>0.05</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
|
Loading…
Add table
Reference in a new issue