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
|
||||
####
|
||||
|
@ -107,6 +108,14 @@ setlistener("/instrumentation/kns-80/displayed-radial", func {
|
|||
}
|
||||
});
|
||||
|
||||
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,6 +413,7 @@ Syd Adams
|
|||
<property>instrumentation/kns-80/displayed-distance</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<bias>0.005</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
@ -425,6 +426,7 @@ Syd Adams
|
|||
<object-name>dist.102</object-name>
|
||||
<property>instrumentation/kns-80/displayed-distance</property>
|
||||
<factor>0.1</factor>
|
||||
<bias>0.005</bias>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
|
@ -439,6 +441,7 @@ Syd Adams
|
|||
<property>instrumentation/kns-80/displayed-distance</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<bias>0.005</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
|
@ -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