1
0
Fork 0

Added push/pull ( button 1) to KNS-80 volume knob to toggle nav ident signal

This commit is contained in:
sydadams 2007-04-19 02:20:46 +00:00
parent 4fe8eb5266
commit 7420f9fe65
4 changed files with 89 additions and 32 deletions

View file

@ -37,6 +37,7 @@ _setlistener("/sim/signals/fdm-initialized", func {
KNS80.getNode("wpt[3]/frequency",1).setValue(10800);
KNS80.getNode("wpt[3]/radial",1).setValue(0);
KNS80.getNode("wpt[3]/distance",1).setValue(0.0);
props.globals.getNode("/instrumentation/nav/ident").setBoolValue(0);
FDM_ON = 1;
print("KNS-80 Nav System ... OK");
},1);

View file

@ -317,6 +317,19 @@
<wrap>false</wrap>
</binding>
</action>
<action>
<name>ident toggle1</name>
<button>1</button>
<x>43</x>
<y>-34</y>
<w>6</w>
<h>8</h>
<binding>
<command>property-toggle</command>
<property>instrumentation/nav/ident</property>
</binding>
</action>
<action>
<name>nav power on</name>
@ -360,6 +373,19 @@
<wrap>false</wrap>
</binding>
</action>
<action>
<name>ident toggle2</name>
<button>1</button>
<x>37</x>
<y>-34</y>
<w>6</w>
<h>8</h>
<binding>
<command>property-toggle</command>
<property>instrumentation/nav/ident</property>
</binding>
</action>
<action>
<name>nav power off</name>

View file

@ -44,10 +44,10 @@ texture "KNS80.rgb"
texrep 1 1
crease 30.000000
numvert 4
0.002936 -0.024708 -0.040417
0.002936 -0.027358 -0.035827
0.002936 -0.032658 -0.035827
0.002936 -0.035308 -0.040417
0.002936 -0.024373 -0.039972
0.002936 -0.02719 -0.035092
0.002936 -0.032826 -0.035092
0.002936 -0.035644 -0.039972
numsurf 1
SURF 0x10
mat 2
@ -479,10 +479,10 @@ texture "KNS80.rgb"
texrep 1 1
crease 30.000000
numvert 4
0.002936 -0.027358 -0.045007
0.002936 -0.032658 -0.045007
0.002936 -0.035308 -0.040417
0.002936 -0.024708 -0.040417
0.002936 -0.02719 -0.044852
0.002936 -0.032826 -0.044852
0.002936 -0.035644 -0.039972
0.002936 -0.024373 -0.039972
numsurf 1
SURF 0x10
mat 2
@ -795,30 +795,30 @@ texture "KNS80.rgb"
texrep 1 1
crease 45.000000
numvert 24
0.002848 -0.033526 -0.041698
0.002848 -0.033695 -0.039767
0.002848 -0.032876 -0.038011
0.002848 -0.031289 -0.036899
0.002848 -0.029358 -0.03673
0.002848 -0.027602 -0.037549
0.002848 -0.02649 -0.039137
0.002848 -0.026321 -0.041067
0.002848 -0.02714 -0.042824
0.002848 -0.028728 -0.043935
0.002848 -0.030658 -0.044104
0.002848 -0.032415 -0.043285
0.007193 -0.033526 -0.041698
0.007193 -0.033695 -0.039767
0.007193 -0.032876 -0.038011
0.007193 -0.031289 -0.036899
0.007193 -0.029358 -0.03673
0.007193 -0.027602 -0.037549
0.007193 -0.02649 -0.039137
0.007193 -0.026321 -0.041067
0.007193 -0.02714 -0.042824
0.007193 -0.028728 -0.043935
0.007193 -0.030658 -0.044104
0.007193 -0.032415 -0.043285
-0.002063 -0.033518 -0.041281
-0.002063 -0.033687 -0.03935
-0.002063 -0.032868 -0.037594
-0.002063 -0.031281 -0.036482
-0.002063 -0.02935 -0.036313
-0.002063 -0.027594 -0.037132
-0.002063 -0.026482 -0.03872
-0.002063 -0.026313 -0.04065
-0.002063 -0.027132 -0.042407
-0.002063 -0.02872 -0.043518
-0.002063 -0.03065 -0.043687
-0.002063 -0.032407 -0.042868
0.007193 -0.033518 -0.041281
0.007193 -0.033687 -0.03935
0.007193 -0.032868 -0.037594
0.007193 -0.031281 -0.036482
0.007193 -0.02935 -0.036313
0.007193 -0.027594 -0.037132
0.007193 -0.026482 -0.03872
0.007193 -0.026313 -0.04065
0.007193 -0.027132 -0.042407
0.007193 -0.02872 -0.043518
0.007193 -0.03065 -0.043687
0.007193 -0.032407 -0.042868
numsurf 17
SURF 0x10
mat 2

View file

@ -297,6 +297,23 @@ Syd Adams
</axis>
</animation>
<animation>
<type>translate</type>
<object-name>KNS80.volume</object-name>
<property>instrumentation/nav/ident</property>
<factor>0.005</factor>
<center>
<x-m>0.003</x-m>
<y-m>0.040</y-m>
<z-m>-0.030</z-m>
</center>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- Frequency -->
<animation>
@ -735,5 +752,18 @@ Syd Adams
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>KNS80.volume</object-name>
<action>
<button>1</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>instrumentation/nav/ident</property>
</binding>
</action>
</animation>
</PropertyList>