Aerostar FDM , model updates...
Updated KFC200 ALTITUDE mode ... sets pitch hold until selected altitude is captured ... pitch controlled by switch on controller... KNS 80 nav radio can store 1 selected radial per stored frequency ... stored distance will come when I understand RNAV better... More instruments underway....
This commit is contained in:
parent
6af3e31f12
commit
f67b8ab124
11 changed files with 1669 additions and 837 deletions
|
@ -1,5 +1,4 @@
|
|||
AC3Db
|
||||
MATERIAL "DefaultWhite" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.5 0.5 0.5 shi 64 trans 0
|
||||
MATERIAL "led" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0.9 0.9 0.9 spec 0 0 0 shi 32 trans 0
|
||||
MATERIAL "metal" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.755939 0.755939 0.755939 shi 32 trans 0
|
||||
OBJECT world
|
||||
|
@ -8,7 +7,7 @@ OBJECT poly
|
|||
name "A-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 -0.005548 0.007149
|
||||
0.004285 -0.013097 0.007149
|
||||
|
@ -16,7 +15,7 @@ numvert 4
|
|||
0.004285 -0.005548 0.019403
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.623522162437 0.890665233135
|
||||
3 0.570849359035 0.890665233135
|
||||
|
@ -24,29 +23,29 @@ refs 4
|
|||
1 0.623522162437 0.858213663101
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "ALT-ON"
|
||||
name "O-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 0.011733 -0.010268
|
||||
0.004285 0.006468 -0.010268
|
||||
0.004285 0.006468 -0.021975
|
||||
0.004285 0.011733 -0.021975
|
||||
0.004285 -0.005548 0.006299
|
||||
0.004285 -0.013097 0.006299
|
||||
0.004285 -0.013097 -0.005955
|
||||
0.004285 -0.005548 -0.005955
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.748715698719 0.964951455593
|
||||
0 0.698393285275 0.964951455593
|
||||
1 0.698393285275 0.942317962646
|
||||
2 0.748715698719 0.942317962646
|
||||
3 0.679851472378 0.890665233135
|
||||
0 0.627178609371 0.890665233135
|
||||
1 0.627178609371 0.858213663101
|
||||
2 0.679851472378 0.858213663101
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "HDG-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 0.002148 0.027166
|
||||
0.004285 -0.003118 0.027166
|
||||
|
@ -54,7 +53,7 @@ numvert 4
|
|||
0.004285 0.002148 0.038873
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.537476122379 0.923746824265
|
||||
3 0.487153828144 0.923746824265
|
||||
|
@ -65,7 +64,7 @@ OBJECT poly
|
|||
name "FDannunciator"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 24
|
||||
0.003999 0.013033 0.039363
|
||||
0.003999 0.013033 -0.039363
|
||||
|
@ -93,126 +92,126 @@ numvert 24
|
|||
0.00543 -0.017494 0.0488
|
||||
numsurf 18
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
0 0.057136900723 0.971186041832
|
||||
1 0.398693561554 0.971186041832
|
||||
13 0.398693561554 0.971186041832
|
||||
12 0.057136900723 0.971186041832
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
3 0.057136900723 0.85809648037
|
||||
0 0.057136900723 0.971186041832
|
||||
12 0.057136900723 0.971186041832
|
||||
15 0.057136900723 0.85809648037
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
14 0.398693561554 0.85809648037
|
||||
13 0.398693561554 0.971186041832
|
||||
1 0.398693561554 0.971186041832
|
||||
2 0.398693561554 0.85809648037
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
15 0.057136900723 0.85809648037
|
||||
14 0.398693561554 0.85809648037
|
||||
2 0.398693561554 0.85809648037
|
||||
3 0.057136900723 0.85809648037
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
21 0.0161940678954 0.990538716316
|
||||
20 0.439636409283 0.990538716316
|
||||
7 0.439636409283 0.990538716316
|
||||
6 0.0161940678954 0.990538716316
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
23 0.0161940678954 0.838744044304
|
||||
17 0.00815110746771 0.848460614681
|
||||
4 0.00815110746771 0.848460614681
|
||||
10 0.0161940678954 0.838744044304
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
17 0.00815110746771 0.848460614681
|
||||
16 0.00815110746771 0.980821847916
|
||||
5 0.00815110746771 0.980821847916
|
||||
4 0.00815110746771 0.848460614681
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
16 0.00815110746771 0.980821847916
|
||||
21 0.0161940678954 0.990538716316
|
||||
6 0.0161940678954 0.990538716316
|
||||
5 0.00815110746771 0.980821847916
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
20 0.439636409283 0.990538716316
|
||||
18 0.447679311037 0.980821847916
|
||||
8 0.447679311037 0.980821847916
|
||||
7 0.439636409283 0.990538716316
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
18 0.447679311037 0.980821847916
|
||||
19 0.447679311037 0.848460614681
|
||||
9 0.447679311037 0.848460614681
|
||||
8 0.447679311037 0.980821847916
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
19 0.447679311037 0.848460614681
|
||||
22 0.439636409283 0.838744044304
|
||||
11 0.439636409283 0.838744044304
|
||||
9 0.447679311037 0.848460614681
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
20 0.439636409283 0.990538716316
|
||||
21 0.0161940678954 0.990538716316
|
||||
12 0.057136900723 0.971186041832
|
||||
13 0.398693561554 0.971186041832
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
21 0.0161940678954 0.990538716316
|
||||
23 0.0161940678954 0.838744044304
|
||||
15 0.057136900723 0.85809648037
|
||||
12 0.057136900723 0.971186041832
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
22 0.439636409283 0.838744044304
|
||||
20 0.439636409283 0.990538716316
|
||||
13 0.398693561554 0.971186041832
|
||||
14 0.398693561554 0.85809648037
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
23 0.0161940678954 0.838744044304
|
||||
22 0.439636409283 0.838744044304
|
||||
14 0.398693561554 0.85809648037
|
||||
15 0.057136900723 0.85809648037
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
23 0.0161940678954 0.838744044304
|
||||
21 0.0161940678954 0.990538716316
|
||||
16 0.00815110746771 0.980821847916
|
||||
17 0.00815110746771 0.848460614681
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
20 0.439636409283 0.990538716316
|
||||
22 0.439636409283 0.838744044304
|
||||
19 0.447679311037 0.848460614681
|
||||
18 0.447679311037 0.980821847916
|
||||
SURF 0x00
|
||||
mat 2
|
||||
mat 1
|
||||
refs 4
|
||||
22 0.0161940678954 0.838744044304
|
||||
23 0.439636409283 0.838744044304
|
||||
|
@ -223,7 +222,7 @@ OBJECT poly
|
|||
name "AP-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 0.011733 -0.03787
|
||||
0.004285 0.006468 -0.03787
|
||||
|
@ -231,7 +230,7 @@ numvert 4
|
|||
0.004285 0.011733 -0.026163
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.817042410374 0.964951455593
|
||||
3 0.766719996929 0.964951455593
|
||||
|
@ -239,48 +238,29 @@ refs 4
|
|||
1 0.817042410374 0.942317962646
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "O-ON"
|
||||
name "ALT-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 -0.005548 0.006299
|
||||
0.004285 -0.013097 0.006299
|
||||
0.004285 -0.013097 -0.005955
|
||||
0.004285 -0.005548 -0.005955
|
||||
0.004285 0.011733 -0.010268
|
||||
0.004285 0.006468 -0.010268
|
||||
0.004285 0.006468 -0.021975
|
||||
0.004285 0.011733 -0.021975
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.679851472378 0.890665233135
|
||||
0 0.627178609371 0.890665233135
|
||||
1 0.627178609371 0.858213663101
|
||||
2 0.679851472378 0.858213663101
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "NAVCPLD-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
numvert 4
|
||||
0.004285 0.002148 0.005991
|
||||
0.004285 -0.003118 0.005991
|
||||
0.004285 -0.003118 -0.005716
|
||||
0.004285 0.002148 -0.005716
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
refs 4
|
||||
3 0.67882424593 0.923746824265
|
||||
0 0.628501951694 0.923746824265
|
||||
1 0.628501951694 0.901113212109
|
||||
2 0.67882424593 0.901113212109
|
||||
3 0.748715698719 0.964951455593
|
||||
0 0.698393285275 0.964951455593
|
||||
1 0.698393285275 0.942317962646
|
||||
2 0.748715698719 0.942317962646
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "FD-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 0.011733 0.025225
|
||||
0.004285 0.006468 0.025225
|
||||
|
@ -288,7 +268,7 @@ numvert 4
|
|||
0.004285 0.011733 0.036931
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.545821964741 0.964951455593
|
||||
3 0.495499670506 0.964951455593
|
||||
|
@ -296,10 +276,29 @@ refs 4
|
|||
1 0.545821964741 0.942317962646
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "TRIM-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 -0.005548 -0.038512
|
||||
0.004285 -0.013097 -0.038512
|
||||
0.004285 -0.013097 -0.026259
|
||||
0.004285 -0.005548 -0.026259
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.819803655148 0.890665233135
|
||||
3 0.767130792141 0.890665233135
|
||||
2 0.767130792141 0.858213663101
|
||||
1 0.819803655148 0.858213663101
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "APPR-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 0.002148 0.022492
|
||||
0.004285 -0.003118 0.022492
|
||||
|
@ -307,7 +306,7 @@ numvert 4
|
|||
0.004285 0.002148 0.010786
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.607889473438 0.923746824265
|
||||
0 0.557567059994 0.923746824265
|
||||
|
@ -318,7 +317,7 @@ OBJECT poly
|
|||
name "M-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 -0.005548 -0.0192
|
||||
0.004285 -0.013097 -0.0192
|
||||
|
@ -326,7 +325,7 @@ numvert 4
|
|||
0.004285 -0.005548 -0.006947
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.736788570881 0.890665233135
|
||||
3 0.684115707874 0.890665233135
|
||||
|
@ -334,29 +333,10 @@ refs 4
|
|||
1 0.736788570881 0.858213663101
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "TRIM-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
numvert 4
|
||||
0.004285 -0.005548 -0.038512
|
||||
0.004285 -0.013097 -0.038512
|
||||
0.004285 -0.013097 -0.026259
|
||||
0.004285 -0.005548 -0.026259
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
refs 4
|
||||
0 0.819803655148 0.890665233135
|
||||
3 0.767130792141 0.890665233135
|
||||
2 0.767130792141 0.858213663101
|
||||
1 0.819803655148 0.858213663101
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "FD-annun"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.003674 0.014177 -0.040221
|
||||
0.003674 -0.014177 -0.040221
|
||||
|
@ -364,7 +344,7 @@ numvert 4
|
|||
0.003674 0.014177 0.040221
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.400960415602 0.975200414658
|
||||
3 0.055883333087 0.975200414658
|
||||
|
@ -372,10 +352,10 @@ refs 4
|
|||
1 0.400960415602 0.853564083576
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "NAVARM-ON"
|
||||
name "ARM-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 0.011733 -0.006323
|
||||
0.004285 0.006468 -0.006323
|
||||
|
@ -383,7 +363,7 @@ numvert 4
|
|||
0.004285 0.011733 0.005384
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.681432187557 0.964951455593
|
||||
3 0.631109774113 0.964951455593
|
||||
|
@ -394,7 +374,7 @@ OBJECT poly
|
|||
name "NAV-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 0.011733 0.02225
|
||||
0.004285 0.006468 0.02225
|
||||
|
@ -402,7 +382,7 @@ numvert 4
|
|||
0.004285 0.011733 0.010543
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.60893291235 0.964951455593
|
||||
0 0.558610498905 0.964951455593
|
||||
|
@ -413,7 +393,7 @@ OBJECT poly
|
|||
name "BC-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 -0.00671 0.038873
|
||||
0.004285 -0.011975 0.038873
|
||||
|
@ -421,7 +401,7 @@ numvert 4
|
|||
0.004285 -0.00671 0.027166
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.537476122379 0.885671675205
|
||||
0 0.487153828144 0.885671675205
|
||||
|
@ -432,7 +412,7 @@ OBJECT poly
|
|||
name "GA-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 0.002148 -0.026163
|
||||
0.004285 -0.003118 -0.026163
|
||||
|
@ -440,7 +420,7 @@ numvert 4
|
|||
0.004285 0.002148 -0.03787
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.817042410374 0.923746824265
|
||||
0 0.766719996929 0.923746824265
|
||||
|
@ -448,10 +428,29 @@ refs 4
|
|||
2 0.817042410374 0.901113212109
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "CPLD-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 0.002148 0.005991
|
||||
0.004285 -0.003118 0.005991
|
||||
0.004285 -0.003118 -0.005716
|
||||
0.004285 0.002148 -0.005716
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.67882424593 0.923746824265
|
||||
0 0.628501951694 0.923746824265
|
||||
1 0.628501951694 0.901113212109
|
||||
2 0.67882424593 0.901113212109
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "GS-ON"
|
||||
texture "kfc200.rgb"
|
||||
texrep 1 1
|
||||
crease 30
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.004285 0.002148 -0.021732
|
||||
0.004285 -0.003118 -0.021732
|
||||
|
@ -459,7 +458,7 @@ numvert 4
|
|||
0.004285 0.002148 -0.010026
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.747672617435 0.923746824265
|
||||
3 0.697350203991 0.923746824265
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
KA 285 Mode Annunciator Panel
|
||||
Syd Adams
|
||||
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
|
@ -31,18 +36,28 @@
|
|||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>NAVARM-ON</object-name>
|
||||
<object-name>ARM-ON</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/instrumentation/kfc200/fdmode</property>
|
||||
<value>nav-arm</value>
|
||||
</equals>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/instrumentation/kfc200/fdmode</property>
|
||||
<value>nav-arm</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/instrumentation/kfc200/fdmodeV</property>
|
||||
<value>alt-arm</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/instrumentation/kfc200/fdmodeV</property>
|
||||
<value>gs-arm</value>
|
||||
</equals>
|
||||
</or>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>NAVCPLD-ON</object-name>
|
||||
<object-name>CPLD-ON</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/instrumentation/kfc200/fdmode</property>
|
||||
|
@ -99,10 +114,16 @@
|
|||
<type>select</type>
|
||||
<object-name>ALT-ON</object-name>
|
||||
<condition>
|
||||
<or>
|
||||
<equals>
|
||||
<property>/instrumentation/kfc200/fdmodeV</property>
|
||||
<value>alt-arm</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>/instrumentation/kfc200/fdmodeV</property>
|
||||
<value>alt</value>
|
||||
</equals>
|
||||
</or>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,25 +1,184 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
KFC-200 FlightDirector / Autopilot Controller
|
||||
Syd Adams
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<path>fd-control.ac</path>
|
||||
<path>fd-control.ac</path>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>FDbase</object-name>
|
||||
<emission>
|
||||
<red>0.5</red>
|
||||
<green>0.4</green>
|
||||
<blue>0.3</blue>
|
||||
<factor-prop>/controls/lighting/instruments-norm</factor-prop>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>Pitch.down</object-name>
|
||||
<condition>
|
||||
<not-equals>
|
||||
<property>/autopilot/locks/altitude</property>
|
||||
<value></value>
|
||||
</not-equals>
|
||||
</condition>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>true</repeatable>
|
||||
<interval-sec>0.1</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/autopilot/settings/target-pitch-deg</property>
|
||||
<step>-0.05</step>
|
||||
<min>-15.0</min>
|
||||
<max>15.0</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>Pitch.up</object-name>
|
||||
<condition>
|
||||
<not-equals>
|
||||
<property>/autopilot/locks/altitude</property>
|
||||
<value></value>
|
||||
</not-equals>
|
||||
</condition>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>true</repeatable>
|
||||
<interval-sec>0.1</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/autopilot/settings/target-pitch-deg</property>
|
||||
<step>0.05</step>
|
||||
<min>-15.0</min>
|
||||
<max>15.0</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>HDG.btn</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if(getprop("/instrumentation/kfc200/fdmode") != "hdg"){
|
||||
setprop("/instrumentation/kfc200/fdmode","hdg");}
|
||||
else{setprop("/instrumentation/kfc200/fdmode","off");}
|
||||
</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>APtoggle</object-name>
|
||||
<property>/autopilot/locks/passive-mode</property>
|
||||
<factor>40</factor>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>1.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
<center>
|
||||
<x-m>0.002</x-m>
|
||||
<y-m>0.046</y-m>
|
||||
<z-m>0.002</z-m>
|
||||
</center>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>FD.btn</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/instrumentation/kfc200/fd_on</property>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>ALT.btn</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if(getprop("/instrumentation/kfc200/fdmodeV") != "alt-arm"){
|
||||
setprop("/instrumentation/kfc200/fdmodeV","alt-arm");}
|
||||
else{setprop("/instrumentation/kfc200/fdmodeV","off");}
|
||||
</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>NAV.btn</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if(getprop("/instrumentation/kfc200/fdmode") != "nav-arm"){
|
||||
setprop("/instrumentation/kfc200/fdmode","nav-arm");}
|
||||
else{setprop("/instrumentation/kfc200/fdmode","off");}
|
||||
</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>BC.btn</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if(getprop("/instrumentation/kfc200/fdmode") != "bc"){
|
||||
setprop("/instrumentation/kfc200/fdmode","bc");}
|
||||
else{setprop("/instrumentation/kfc200/fdmode","off");}
|
||||
</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>APPR.btn</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if(getprop("/instrumentation/kfc200/fdmode") != "appr"){
|
||||
setprop("/instrumentation/kfc200/fdmode","appr");}
|
||||
else{setprop("/instrumentation/kfc200/fdmode","off");}
|
||||
</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>APtoggle</object-name>
|
||||
<property>/autopilot/locks/passive-mode</property>
|
||||
<factor>40</factor>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>1.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
<center>
|
||||
<x-m>0.002</x-m>
|
||||
<y-m>0.046</y-m>
|
||||
<z-m>0.002</z-m>
|
||||
</center>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
|
@ -1,100 +1,98 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
KAS 297 ALTITUDE SELECTOR
|
||||
Syd Adams
|
||||
|
||||
*** requires kfc200.nas to run ***
|
||||
-->
|
||||
<PropertyList>
|
||||
|
||||
<path>kas297.ac</path>
|
||||
<path>kas297.ac</path>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Alert.msg</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>/instrumentation/kfc200/alt-alert</property>
|
||||
<value>1000.0</value>
|
||||
</less-than>
|
||||
<greater-than>
|
||||
<property>/instrumentation/kfc200/alt-alert</property>
|
||||
<value>300.0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Alert.msg</object-name>
|
||||
<condition>
|
||||
<property>/instrumentation/kfc200/alt-alert</property>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Arm.msg</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/autopilot/locks/altitude</property>
|
||||
<value>altitude-hold</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Arm.msg</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>/instrumentation/kfc200/fdmodeV</property>
|
||||
<value>alt-arm</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<!-- Altitude Select-->
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>altmsg</object-name>
|
||||
<property>/autopilot/settings/target-altitude-ft</property>
|
||||
<factor>0.00001</factor>
|
||||
<step>10000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>altmsg.001</object-name>
|
||||
<property>/autopilot/settings/target-altitude-ft</property>
|
||||
<factor>0.0001</factor>
|
||||
<step>1000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>altmsg.002</object-name>
|
||||
<property>/autopilot/settings/target-altitude-ft</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>altmsg.003</object-name>
|
||||
<property>/autopilot/settings/target-altitude-ft</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>altmsg.004</object-name>
|
||||
<property>/autopilot/settings/target-altitude-ft</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
<!-- Altitude Select -->
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>altmsg</object-name>
|
||||
<property>/autopilot/settings/target-altitude-ft</property>
|
||||
<factor>0.00001</factor>
|
||||
<step>10000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>altmsg.001</object-name>
|
||||
<property>/autopilot/settings/target-altitude-ft</property>
|
||||
<factor>0.0001</factor>
|
||||
<step>1000</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>altmsg.002</object-name>
|
||||
<property>/autopilot/settings/target-altitude-ft</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>altmsg.003</object-name>
|
||||
<property>/autopilot/settings/target-altitude-ft</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>altmsg.004</object-name>
|
||||
<property>/autopilot/settings/target-altitude-ft</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
|
@ -18,34 +18,38 @@ fdprop = props.globals.getNode("/instrumentation/kfc200",1);
|
|||
fdmode = "off";
|
||||
fdmodeV = "off";
|
||||
fdmode_last = "off";
|
||||
nav_dist = 0.0;
|
||||
last_nav_dist = 0.0;
|
||||
last_nav_time = 0.0;
|
||||
tth_filter = 0.0;
|
||||
alt_select = 0.0;
|
||||
current_alt=0.0;
|
||||
alt_select = 0.0;
|
||||
alt_offset = 0.0;
|
||||
kfcmode="";
|
||||
ap_on = 0.0;
|
||||
alt_alert = 0.0;
|
||||
DH = 0;
|
||||
|
||||
NAVGS = props.globals.getNode("/instrumentation/nav/has-gs",1);
|
||||
NAVGS_RANGE = props.globals.getNode("/instrumentation/nav/gs-distance",1);
|
||||
NAVBC = props.globals.getNode("/instrumentation/nav/back-course-btn",1);
|
||||
NAV_IN_RANGE = props.globals.getNode("/instrumentation/nav/in-range",1);
|
||||
HDG_DEFLECTION = props.globals.getNode("/instrumentation/nav/heading-needle-deflection",1);
|
||||
GS_DEFLECTION = props.globals.getNode("/instrumentation/nav/gs-needle-deflection",1);
|
||||
HDG = props.globals.getNode("/autopilot/locks/heading",1);
|
||||
ALT = props.globals.getNode("/autopilot/locks/altitude",1);
|
||||
SPD = props.globals.getNode("/autopilot/locks/speed",1);
|
||||
|
||||
setlistener("/sim/signals/fdm-initialized", func {
|
||||
fdprop.getChild("fd_on").setBoolValue(0);
|
||||
fdprop.getChild("fdmode").setValue(fdmode);
|
||||
setprop("/instrumentation/kfc200/alt-offset",alt_offset);
|
||||
setprop("/instrumentation/kfc200/fdmodeV","off");
|
||||
setprop("/instrumentation/kfc200/alt-alert",alt_alert);
|
||||
DH = getprop("/autopilot/route-manager/min-lock-altitude-agl-ft");
|
||||
current_alt = getprop("/instrumentation/altimer/indicated-altitude-ft");
|
||||
alt_select = getprop("/autopilot/settings/target-altitude-ft");
|
||||
fdprop.getNode("fd_on",1).setBoolValue(0);
|
||||
fdprop.getNode("fdmode",1).setValue("off");
|
||||
fdprop.getNode("fdmodeV",1).setValue("off");
|
||||
fdprop.getNode("alt-offset",1).setValue(0.0);
|
||||
fdprop.getNode("alt-alert",1).setBoolValue(0);
|
||||
DH = props.globals.getNode("/autopilot/route-manager/min-lock-altitude-agl-ft").getValue();
|
||||
alt_select = 0;
|
||||
print("KFC-200 ... OK");
|
||||
});
|
||||
|
||||
setlistener("/instrumentation/kfc200/fd_on", func {
|
||||
var fdON = cmdarg().getValue();
|
||||
if(fdON){clear_ap();}
|
||||
clear_ap();
|
||||
});
|
||||
|
||||
setlistener("/autopilot/settings/target-altitude-ft",func {
|
||||
alt_select = cmdarg().getValue();
|
||||
});
|
||||
|
||||
setlistener("/autopilot/route-manager/min-lock-altitude-agl-ft", func {
|
||||
|
@ -55,52 +59,62 @@ setlistener("/autopilot/route-manager/min-lock-altitude-agl-ft", func {
|
|||
|
||||
setlistener("/instrumentation/kfc200/fdmode", func {
|
||||
fdmode = cmdarg().getValue();
|
||||
props.globals.getNode("/instrumentation/nav/back-course-btn").setBoolValue(0);
|
||||
if(fdmode == "off"){clear_ap();return;}
|
||||
NAVBC.setBoolValue(0);
|
||||
if(fdmode == "off"){HDG.setValue("wing-leveler");return;}
|
||||
if(fdmode == "hdg"){
|
||||
setprop("/autopilot/locks/heading","dg-heading-hold");
|
||||
HDG.setValue("dg-heading-hold");
|
||||
return;}
|
||||
if(fdmode == "appr"){
|
||||
setprop("/instrumentation/kfc200/fdmodeV","gs");
|
||||
setprop("/autopilot/locks/heading","nav1-hold");
|
||||
return;}
|
||||
if(fdmode == "nav-arm"){
|
||||
setprop("/autopilot/locks/heading","dg-heading-hold");
|
||||
return;}
|
||||
if(fdmode == "nav-cpld"){
|
||||
setprop("/autopilot/locks/heading","nav1-hold");
|
||||
return;}
|
||||
if(fdmode == "bc"){
|
||||
setprop("/autopilot/locks/heading","nav1-hold");
|
||||
props.globals.getNode("/instrumentation/nav/back-course-btn").setBoolValue(1);
|
||||
HDG.setValue("nav1-hold");
|
||||
if(NAVGS.getBoolValue()){
|
||||
fdprop.getNode("fdmodeV").setValue("gs-arm");
|
||||
}
|
||||
return;}
|
||||
|
||||
});
|
||||
if(fdmode == "nav-arm"){
|
||||
HDG.setValue("dg-heading-hold");
|
||||
return;}
|
||||
if(fdmode == "nav-cpld"){
|
||||
HDG.setValue("nav1-hold");
|
||||
return;}
|
||||
if(fdmode == "bc"){
|
||||
HDG.setValue("nav1-hold");
|
||||
NAVBC.setBoolValue(1);
|
||||
return;}
|
||||
});
|
||||
|
||||
setlistener("/instrumentation/kfc200/fdmodeV", func {
|
||||
altmode = cmdarg().getValue();
|
||||
if(altmode == "off"){
|
||||
setprop("/autopilot/locks/altitude","pitch-hold");;return;}
|
||||
if(altmode == "off"){
|
||||
setprop("/autopilot/settings/target-pitch-deg",getprop("/orientation/pitch-deg"));
|
||||
ALT.setValue("pitch-hold");
|
||||
return;}
|
||||
if(altmode == "alt-arm"){
|
||||
ALT.setValue("pitch-hold");
|
||||
return;}
|
||||
if(altmode == "alt"){
|
||||
setprop("/autopilot/locks/altitude","altitude-hold");
|
||||
return;}
|
||||
if(altmode == "gs"){
|
||||
setprop("/autopilot/locks/altitude","gs1-hold");
|
||||
ALT.setValue("altitude-hold");
|
||||
return;}
|
||||
if(altmode == "gs-arm"){
|
||||
ALT.setValue("pitch-hold");
|
||||
return;}
|
||||
if(altmode == "gs"){
|
||||
ALT.setValue("gs1-hold");
|
||||
return;}
|
||||
});
|
||||
|
||||
|
||||
clear_ap = func {
|
||||
setprop("/autopilot/settings/target-pitch-deg",getprop("orientation/pitch-deg"));
|
||||
setprop("/autopilot/locks/heading","wing-leveler");
|
||||
setprop("/autopilot/locks/altitude","pitch-hold");
|
||||
setprop("/autopilot/settings/target-pitch-deg",getprop("/orientation/pitch-deg"));
|
||||
HDG.setValue("wing-leveler");
|
||||
ALT.setValue("pitch-hold");
|
||||
}
|
||||
|
||||
update_nav = func {
|
||||
var APmode = fdprop.getChild("fdmode").getValue();
|
||||
var APmode = fdprop.getNode("fdmode").getValue();
|
||||
var VNAV = fdprop.getNode("fdmodeV").getValue();
|
||||
if(APmode == "nav-arm"){
|
||||
if(getprop("instrumentation/nav/in-range")){
|
||||
var offset = getprop("instrumentation/nav/heading-needle-deflection");
|
||||
if(NAV_IN_RANGE.getBoolValue()){
|
||||
var offset = HDG_DEFLECTION.getValue();
|
||||
if(offset < 5 or offset > -5){
|
||||
fdprop.getChild("fdmode").setValue("nav-cpld");
|
||||
}else{
|
||||
|
@ -108,18 +122,28 @@ 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(VNAV == "alt-arm"){
|
||||
var offset = fdprop.getNode("alt-offset").getValue();
|
||||
if(offset > -990 and offset < 990){
|
||||
fdprop.getNode("fdmodeV").setValue("alt");}
|
||||
}
|
||||
}
|
||||
|
||||
get_altoffset = func(){
|
||||
alt_offset = 0.0;
|
||||
alt_select = getprop("/autopilot/settings/target-altitude-ft");
|
||||
if ( alt_select == nil or alt_select == "" ){ alt_select = 0.0;return (alt_select);}
|
||||
current_alt = getprop("/instrumentation/altimeter/indicated-altitude-ft");
|
||||
if(current_alt == nil){current_alt = 0.0;}
|
||||
alt_offset = (alt_select-current_alt);
|
||||
setprop("/instrumentation/kfc200/alt-alert",alt_offset);
|
||||
if(alt_offset > 500.0){alt_offset = 500.0;}
|
||||
if(alt_offset < -500.0){alt_offset = -500.0;}
|
||||
get_altoffset = func{
|
||||
current_alt = props.globals.getNode("/instrumentation/altimeter/indicated-altitude-ft").getValue();
|
||||
var offset = (current_alt - alt_select);
|
||||
var alert =0;
|
||||
fdprop.getNode("alt-offset").setValue(offset);
|
||||
if(offset > -1000 and offset < -300){alert = 1;}
|
||||
if(offset < 1000 and offset > 300){alert = 1;}
|
||||
fdprop.getNode("alt-alert").setBoolValue(alert);
|
||||
if(getprop("/position/altitude-agl-ft") < DH){props.globals.getNode("/autopilot/locks/passive-mode").setBoolValue(1);}
|
||||
}
|
||||
|
||||
|
|
|
@ -244,7 +244,7 @@
|
|||
<property>instrumentation/nav/gs-needle-deflection</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>-9999.0</ind><dep>-0.0183</dep>
|
||||
<ind>-100.0</ind><dep>-0.0183</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>-10.0</ind><dep>-0.0183</dep>
|
||||
|
@ -256,7 +256,7 @@
|
|||
<ind>10.0</ind><dep>0.0183</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>9999.0</ind><dep>0.0183</dep>
|
||||
<ind>100.0</ind><dep>0.0183</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
|
@ -326,11 +326,8 @@
|
|||
<property>instrumentation/nav/gs-distance</property>
|
||||
<value>30000.0</value>
|
||||
</less-than>
|
||||
<equals>
|
||||
<property>instrumentation/nav/has-gs</property>
|
||||
<value>true</value>
|
||||
</equals>
|
||||
</and>
|
||||
<property>instrumentation/nav/has-gs</property>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
KNS80 = props.globals.getNode("/instrumentation/kns-80",1);
|
||||
NAV1 = props.globals.getNode("/instrumentation/nav/frequencies/selected-mhz",1);
|
||||
NAV1_RADIAL = props.globals.getNode("/instrumentation/nav/radials/selected-deg",1);
|
||||
FDM_ON = 0;
|
||||
|
||||
setlistener("/sim/signals/fdm-initialized", func {
|
||||
|
@ -13,11 +14,22 @@ setlistener("/sim/signals/fdm-initialized", func {
|
|||
KNS80.getNode("volume",1).setValue(0.5);
|
||||
KNS80.getNode("display",1).setValue(0);
|
||||
KNS80.getNode("use",1).setValue(0);
|
||||
KNS80.getNode("data-mode",1).setValue(0);
|
||||
KNS80.getNode("displayed-frequency",1).setValue(NAV1.getValue()* 100);
|
||||
KNS80.getNode("frequency[0]",1).setValue(NAV1.getValue()* 100);
|
||||
KNS80.getNode("frequency[1]",1).setValue(10800);
|
||||
KNS80.getNode("frequency[2]",1).setValue(10800);
|
||||
KNS80.getNode("frequency[3]",1).setValue(10800);
|
||||
KNS80.getNode("displayed-distance",1).setValue(0);
|
||||
KNS80.getNode("displayed-radial",1).setValue(NAV1_RADIAL.getValue());
|
||||
KNS80.getNode("wpt[0]/frequency",1).setValue(NAV1.getValue()* 100);
|
||||
KNS80.getNode("wpt[0]/radial",1).setValue(NAV1_RADIAL.getValue());
|
||||
KNS80.getNode("wpt[0]/distance",1).setValue(0.0);
|
||||
KNS80.getNode("wpt[1]/frequency",1).setValue(10800);
|
||||
KNS80.getNode("wpt[1]/radial",1).setValue(0);
|
||||
KNS80.getNode("wpt[1]/distance",1).setValue(0.0);
|
||||
KNS80.getNode("wpt[2]/frequency",1).setValue(10800);
|
||||
KNS80.getNode("wpt[2]/radial",1).setValue(0);
|
||||
KNS80.getNode("wpt[2]/distance",1).setValue(0.0);
|
||||
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);
|
||||
FDM_ON = 1;
|
||||
print("KNS-80 Nav System ... OK");
|
||||
});
|
||||
|
@ -26,9 +38,18 @@ setlistener("/instrumentation/kns-80/displayed-frequency", func {
|
|||
if(FDM_ON == 0){return;}
|
||||
var freq = cmdarg().getValue();
|
||||
var num = KNS80.getNode("display").getValue();
|
||||
var freq_use = KNS80.getNode("use").getValue();
|
||||
KNS80.getNode("frequency[" ~ num ~ "]").setValue(freq);
|
||||
NAV1.setValue(KNS80.getNode("frequency[" ~ freq_use ~ "]").getValue() * 0.01);
|
||||
var use = KNS80.getNode("use").getValue();
|
||||
KNS80.getNode("wpt[" ~ num ~ "]/frequency").setValue(freq);
|
||||
NAV1.setValue(KNS80.getNode("wpt[" ~ use ~ "]/frequency").getValue() * 0.01);
|
||||
});
|
||||
|
||||
setlistener("/instrumentation/kns-80/displayed-radial", func {
|
||||
if(FDM_ON == 0){return;}
|
||||
var rad = cmdarg().getValue();
|
||||
var num = KNS80.getNode("display").getValue();
|
||||
var radial = KNS80.getNode("use").getValue();
|
||||
KNS80.getNode("wpt[" ~ num ~ "]/radial").setValue(rad);
|
||||
NAV1_RADIAL.setValue(KNS80.getNode("wpt[" ~ radial ~ "]/radial").getValue());
|
||||
});
|
||||
|
||||
setlistener("/instrumentation/kns-80/serviceable", func {
|
||||
|
@ -46,12 +67,14 @@ setlistener("/instrumentation/kns-80/volume", func {
|
|||
setlistener("/instrumentation/kns-80/use", func {
|
||||
if(FDM_ON == 0){return;}
|
||||
var freq = cmdarg().getValue();
|
||||
NAV1.setValue(KNS80.getNode("frequency[" ~ freq ~ "]").getValue()* 0.01);
|
||||
NAV1.setValue(KNS80.getNode("wpt[" ~ freq ~ "]/frequency").getValue()* 0.01);
|
||||
NAV1_RADIAL.setValue(KNS80.getNode("wpt[" ~ freq ~ "]/radial").getValue());
|
||||
});
|
||||
|
||||
setlistener("/instrumentation/kns-80/display", func {
|
||||
if(FDM_ON == 0){return;}
|
||||
var freq = cmdarg().getValue();
|
||||
KNS80.getNode("displayed-frequency").setValue(KNS80.getNode("frequency[" ~ freq ~ "]").getValue());
|
||||
KNS80.getNode("displayed-frequency").setValue(KNS80.getNode("wpt[" ~ freq ~ "]/frequency").getValue());
|
||||
KNS80.getNode("displayed-radial").setValue(KNS80.getNode("wpt[" ~ freq ~ "]/radial").getValue());
|
||||
});
|
||||
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
<actions>
|
||||
|
||||
<!-- DATA MODE 0 -->
|
||||
|
||||
<action>
|
||||
<name>nav frequency decrease (decimal part)</name>
|
||||
<button>0</button>
|
||||
|
@ -21,6 +23,12 @@
|
|||
<y>-30</y>
|
||||
<w>12</w>
|
||||
<h>16</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kns-80/displayed-frequency</property>
|
||||
|
@ -38,6 +46,12 @@
|
|||
<y>-30</y>
|
||||
<w>12</w>
|
||||
<h>16</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kns-80/displayed-frequency</property>
|
||||
|
@ -55,6 +69,12 @@
|
|||
<y>-30</y>
|
||||
<w>12</w>
|
||||
<h>16</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kns-80/displayed-frequency</property>
|
||||
|
@ -72,6 +92,12 @@
|
|||
<y>-30</y>
|
||||
<w>12</w>
|
||||
<h>16</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kns-80/displayed-frequency</property>
|
||||
|
@ -81,6 +107,196 @@
|
|||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<!-- DATA MODE 1 -->
|
||||
|
||||
<action>
|
||||
<name>radial decrease small</name>
|
||||
<button>0</button>
|
||||
<x>54</x>
|
||||
<y>-30</y>
|
||||
<w>12</w>
|
||||
<h>16</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kns-80/displayed-radial</property>
|
||||
<step>-1</step>
|
||||
<min>0</min>
|
||||
<max>360</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>radial decrease large</name>
|
||||
<button>1</button>
|
||||
<x>54</x>
|
||||
<y>-30</y>
|
||||
<w>12</w>
|
||||
<h>16</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kns-80/displayed-radial</property>
|
||||
<step>-10</step>
|
||||
<min>0</min>
|
||||
<max>360</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>radial increase small</name>
|
||||
<button>0</button>
|
||||
<x>66</x>
|
||||
<y>-30</y>
|
||||
<w>12</w>
|
||||
<h>16</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kns-80/displayed-radial</property>
|
||||
<step>1</step>
|
||||
<min>0</min>
|
||||
<max>360</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>radial increase large</name>
|
||||
<button>1</button>
|
||||
<x>66</x>
|
||||
<y>-30</y>
|
||||
<w>12</w>
|
||||
<h>16</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kns-80/displayed-radial</property>
|
||||
<step>10</step>
|
||||
<min>0</min>
|
||||
<max>360</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<!-- DATA MODE 2 -->
|
||||
|
||||
<action>
|
||||
<name>distance decrease small</name>
|
||||
<button>0</button>
|
||||
<x>54</x>
|
||||
<y>-30</y>
|
||||
<w>12</w>
|
||||
<h>16</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kns-80/displayed-distance</property>
|
||||
<step>-1</step>
|
||||
<min>0</min>
|
||||
<max>100</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>distance decrease large</name>
|
||||
<button>0</button>
|
||||
<x>54</x>
|
||||
<y>-30</y>
|
||||
<w>12</w>
|
||||
<h>16</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kns-80/displayed-distance</property>
|
||||
<step>-10</step>
|
||||
<min>0</min>
|
||||
<max>100</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>distance increase small</name>
|
||||
<button>0</button>
|
||||
<x>54</x>
|
||||
<y>-30</y>
|
||||
<w>12</w>
|
||||
<h>16</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kns-80/displayed-distance</property>
|
||||
<step>1</step>
|
||||
<min>0</min>
|
||||
<max>100</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>distance increase large</name>
|
||||
<button>0</button>
|
||||
<x>54</x>
|
||||
<y>-30</y>
|
||||
<w>12</w>
|
||||
<h>16</h>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kns-80/displayed-distance</property>
|
||||
<step>10</step>
|
||||
<min>0</min>
|
||||
<max>100</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
<!-- END DATA ENTRY -->
|
||||
|
||||
<action>
|
||||
<name>volume increase</name>
|
||||
|
@ -199,6 +415,23 @@
|
|||
</binding>
|
||||
</action>
|
||||
|
||||
<action>
|
||||
<name>select data mode</name>
|
||||
<button>0</button>
|
||||
<x>10</x>
|
||||
<y>-24</y>
|
||||
<w>12</w>
|
||||
<h>6</h>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<step>1</step>
|
||||
<min>0</min>
|
||||
<max>3</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
|
||||
</actions>
|
||||
|
||||
</PropertyList>
|
|
@ -3,13 +3,13 @@ MATERIAL "led" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0.9 0.9 0.9 spec 0 0 0 shi 32 tran
|
|||
MATERIAL "illum" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0.4 0.4 0.4 spec 0.5 0.5 0.5 shi 32 trans 0
|
||||
MATERIAL "metal" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 1 1 1 shi 32 trans 0
|
||||
OBJECT world
|
||||
kids 22
|
||||
kids 32
|
||||
OBJECT poly
|
||||
name "annun.nm"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 78
|
||||
numvert 66
|
||||
0.002318 0.018238 0.05879
|
||||
0.002318 0.018238 0.05228
|
||||
0.002318 0.014571 0.05228
|
||||
|
@ -58,18 +58,6 @@ numvert 78
|
|||
0.002318 0.000701 -0.05689
|
||||
0.002318 0.004367 -0.05689
|
||||
0.002318 0.004367 -0.05038
|
||||
0.002318 0.014571 -0.029692
|
||||
0.002318 0.014571 -0.037478
|
||||
0.002318 0.018238 -0.037478
|
||||
0.002318 0.018238 -0.029692
|
||||
0.002318 0.018238 -0.043722
|
||||
0.002318 0.018238 -0.051508
|
||||
0.002318 0.014571 -0.051508
|
||||
0.002318 0.014571 -0.043722
|
||||
0.002318 0.014571 -0.058868
|
||||
0.002318 0.014571 -0.066653
|
||||
0.002318 0.018238 -0.066653
|
||||
0.002318 0.018238 -0.058868
|
||||
0.002436 0.020768 -0.047382
|
||||
0.002436 0.021474 -0.047382
|
||||
0.002436 0.021268 -0.046883
|
||||
|
@ -88,7 +76,7 @@ numvert 78
|
|||
0.002436 0.021268 0.05311
|
||||
0.002436 0.021474 0.052611
|
||||
0.002436 0.020768 0.052611
|
||||
numsurf 31
|
||||
numsurf 28
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
|
@ -175,121 +163,100 @@ refs 4
|
|||
45 0.377856820822 0.389432072639
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
50 0.546459615231 0.506490647793
|
||||
51 0.470243602991 0.506490647793
|
||||
48 0.470243602991 0.475530743599
|
||||
49 0.546459615231 0.475530743599
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
53 0.641543805599 0.506490647793
|
||||
52 0.572953045368 0.506490647793
|
||||
55 0.572953045368 0.475530743599
|
||||
54 0.641543805599 0.475530743599
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
58 0.734271526337 0.506485104561
|
||||
59 0.66853761673 0.506485104561
|
||||
56 0.66853761673 0.475525200367
|
||||
57 0.734271526337 0.475525200367
|
||||
refs 3
|
||||
48 0.35546875 0.06640625
|
||||
56 0.359375 0.0703125
|
||||
49 0.35546875 0.0703125
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
60 0.35546875 0.06640625
|
||||
68 0.359375 0.0703125
|
||||
61 0.35546875 0.0703125
|
||||
48 0.35546875 0.06640625
|
||||
49 0.35546875 0.0703125
|
||||
50 0.34375 0.0703125
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
60 0.35546875 0.06640625
|
||||
61 0.35546875 0.0703125
|
||||
62 0.34375 0.0703125
|
||||
48 0.35546875 0.06640625
|
||||
50 0.34375 0.0703125
|
||||
51 0.34375 0.06640625
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
60 0.35546875 0.06640625
|
||||
62 0.34375 0.0703125
|
||||
63 0.34375 0.06640625
|
||||
48 0.35546875 0.06640625
|
||||
51 0.34375 0.06640625
|
||||
52 0.34375 0.05859375
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
60 0.35546875 0.06640625
|
||||
63 0.34375 0.06640625
|
||||
64 0.34375 0.05859375
|
||||
48 0.35546875 0.06640625
|
||||
52 0.34375 0.05859375
|
||||
53 0.35546875 0.05859375
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
60 0.35546875 0.06640625
|
||||
64 0.34375 0.05859375
|
||||
65 0.35546875 0.05859375
|
||||
48 0.35546875 0.06640625
|
||||
53 0.35546875 0.05859375
|
||||
54 0.359375 0.05859375
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
60 0.35546875 0.06640625
|
||||
65 0.35546875 0.05859375
|
||||
66 0.359375 0.05859375
|
||||
48 0.35546875 0.06640625
|
||||
54 0.359375 0.05859375
|
||||
55 0.359375 0.06640625
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
60 0.35546875 0.06640625
|
||||
66 0.359375 0.05859375
|
||||
67 0.359375 0.06640625
|
||||
56 0.359375 0.0703125
|
||||
48 0.35546875 0.06640625
|
||||
55 0.359375 0.06640625
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
68 0.359375 0.0703125
|
||||
60 0.35546875 0.06640625
|
||||
67 0.359375 0.06640625
|
||||
57 0.359375 0.0703125
|
||||
65 0.35546875 0.06640625
|
||||
58 0.359375 0.06640625
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
69 0.359375 0.0703125
|
||||
77 0.35546875 0.06640625
|
||||
70 0.359375 0.06640625
|
||||
65 0.35546875 0.06640625
|
||||
59 0.359375 0.05859375
|
||||
58 0.359375 0.06640625
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
77 0.35546875 0.06640625
|
||||
71 0.359375 0.05859375
|
||||
70 0.359375 0.06640625
|
||||
65 0.35546875 0.06640625
|
||||
60 0.35546875 0.05859375
|
||||
59 0.359375 0.05859375
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
77 0.35546875 0.06640625
|
||||
72 0.35546875 0.05859375
|
||||
71 0.359375 0.05859375
|
||||
65 0.35546875 0.06640625
|
||||
61 0.34375 0.05859375
|
||||
60 0.35546875 0.05859375
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
77 0.35546875 0.06640625
|
||||
73 0.34375 0.05859375
|
||||
72 0.35546875 0.05859375
|
||||
65 0.35546875 0.06640625
|
||||
62 0.34375 0.06640625
|
||||
61 0.34375 0.05859375
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
77 0.35546875 0.06640625
|
||||
74 0.34375 0.06640625
|
||||
73 0.34375 0.05859375
|
||||
65 0.35546875 0.06640625
|
||||
63 0.34375 0.0703125
|
||||
62 0.34375 0.06640625
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
77 0.35546875 0.06640625
|
||||
75 0.34375 0.0703125
|
||||
74 0.34375 0.06640625
|
||||
65 0.35546875 0.06640625
|
||||
64 0.35546875 0.0703125
|
||||
63 0.34375 0.0703125
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
77 0.35546875 0.06640625
|
||||
76 0.35546875 0.0703125
|
||||
75 0.34375 0.0703125
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 3
|
||||
77 0.35546875 0.06640625
|
||||
69 0.359375 0.0703125
|
||||
76 0.35546875 0.0703125
|
||||
65 0.35546875 0.06640625
|
||||
57 0.359375 0.0703125
|
||||
64 0.35546875 0.0703125
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "min.102"
|
||||
|
@ -445,6 +412,25 @@ refs 4
|
|||
30 0.759859323502 0.101959504187
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "radial.annun"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002318 0.014571 -0.043722
|
||||
0.002318 0.014571 -0.051508
|
||||
0.002318 0.018238 -0.051508
|
||||
0.002318 0.018238 -0.043722
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.572953045368 0.475530743599
|
||||
1 0.641543805599 0.475530743599
|
||||
2 0.641543805599 0.506490647793
|
||||
3 0.572953045368 0.506490647793
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "display.digit"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
|
@ -464,6 +450,63 @@ refs 4
|
|||
1 0.19374999404 0.00390625
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "dist.101"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002318 0.028339 -0.041081
|
||||
0.002318 0.020695 -0.040092
|
||||
0.002318 0.020695 -0.035158
|
||||
0.002318 0.028339 -0.036146
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.09375 0.12109375
|
||||
3 0.01953125 0.12109375
|
||||
2 0.01953125 0.00390625
|
||||
1 0.09375 0.00390625
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "dist.102"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.001952 0.028339 -0.047876
|
||||
0.001952 0.020695 -0.046887
|
||||
0.001952 0.020695 -0.041953
|
||||
0.001952 0.028339 -0.042942
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.09375 0.12109375
|
||||
3 0.01953125 0.12109375
|
||||
2 0.01953125 0.00390625
|
||||
1 0.09375 0.00390625
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "dist.103"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002318 0.028339 -0.050722
|
||||
0.002318 0.020695 -0.049733
|
||||
0.002318 0.020695 -0.054667
|
||||
0.002318 0.028339 -0.055656
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.09375 0.12109375
|
||||
0 0.01953125 0.12109375
|
||||
1 0.01953125 0.00390625
|
||||
2 0.09375 0.00390625
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "use.digit"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
|
@ -1051,6 +1094,82 @@ refs 4
|
|||
41 0.156460464001 0.816448926926
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "radial.103"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.001952 0.028339 -0.047876
|
||||
0.001952 0.020695 -0.046887
|
||||
0.001952 0.020695 -0.041953
|
||||
0.001952 0.028339 -0.042942
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.09375 0.12109375
|
||||
3 0.01953125 0.12109375
|
||||
2 0.01953125 0.00390625
|
||||
1 0.09375 0.00390625
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "radial.102"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002318 0.028339 -0.041081
|
||||
0.002318 0.020695 -0.040092
|
||||
0.002318 0.020695 -0.035158
|
||||
0.002318 0.028339 -0.036146
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.09375 0.12109375
|
||||
3 0.01953125 0.12109375
|
||||
2 0.01953125 0.00390625
|
||||
1 0.09375 0.00390625
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "radial.101"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002318 0.028339 -0.034285
|
||||
0.002318 0.020695 -0.033297
|
||||
0.002318 0.020695 -0.028362
|
||||
0.002318 0.028339 -0.029351
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.09375 0.12109375
|
||||
3 0.01953125 0.12109375
|
||||
2 0.01953125 0.00390625
|
||||
1 0.09375 0.00390625
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "radial.104"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002318 0.028339 -0.050722
|
||||
0.002318 0.020695 -0.049733
|
||||
0.002318 0.020695 -0.054667
|
||||
0.002318 0.028339 -0.055656
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.09375 0.12109375
|
||||
0 0.01953125 0.12109375
|
||||
1 0.01953125 0.00390625
|
||||
2 0.09375 0.00390625
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "kt.103"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
|
@ -1108,6 +1227,25 @@ refs 4
|
|||
1 0.09375 0.00390625
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "dist.annun"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002318 0.018238 -0.058868
|
||||
0.002318 0.018238 -0.066653
|
||||
0.002318 0.014571 -0.066653
|
||||
0.002318 0.014571 -0.058868
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
1 0.734271526337 0.506485104561
|
||||
0 0.66853761673 0.506485104561
|
||||
3 0.66853761673 0.475525200367
|
||||
2 0.734271526337 0.475525200367
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "nm.101"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
|
@ -1285,6 +1423,25 @@ refs 4
|
|||
24 0.972598433495 0.969445943832
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "freq.annun"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
0.002318 0.018238 -0.029692
|
||||
0.002318 0.018238 -0.037478
|
||||
0.002318 0.014571 -0.037478
|
||||
0.002318 0.014571 -0.029692
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 0
|
||||
refs 4
|
||||
1 0.546459615231 0.506490647793
|
||||
0 0.470243602991 0.506490647793
|
||||
3 0.470243602991 0.475530743599
|
||||
2 0.546459615231 0.475530743599
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "navfreq.104"
|
||||
texture "KNS80.rgb"
|
||||
texrep 1 1
|
||||
|
|
|
@ -3,17 +3,6 @@
|
|||
<PropertyList>
|
||||
|
||||
<path>kns80.ac</path>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>KNS80.modes</object-name>
|
||||
<emission>
|
||||
<red>0.6</red>
|
||||
<green>0.3</green>
|
||||
<blue>0.2</blue>
|
||||
<factor-prop>/instrumentation/kns-80/serviceable</factor-prop>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>dme-on</name>
|
||||
|
@ -29,17 +18,39 @@
|
|||
|
||||
<animation>
|
||||
<name>illumination</name>
|
||||
<object-name>annun.nm</object-name>
|
||||
<object-name>KNS80.modes</object-name>
|
||||
<object-name>display.digit</object-name>
|
||||
<object-name>use.digit</object-name>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>frequencies</name>
|
||||
<object-name>navfreq.101</object-name>
|
||||
<object-name>navfreq.102</object-name>
|
||||
<object-name>navfreq.103</object-name>
|
||||
<object-name>navfreq.104</object-name>
|
||||
<object-name>navfreq.105</object-name>
|
||||
<object-name>annun.nm</object-name>
|
||||
<object-name>display.digit</object-name>
|
||||
<object-name>use.digit</object-name>
|
||||
<object-name>freq.annun</object-name>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>radials</name>
|
||||
<object-name>radial.101</object-name>
|
||||
<object-name>radial.102</object-name>
|
||||
<object-name>radial.103</object-name>
|
||||
<object-name>radial.104</object-name>
|
||||
<object-name>radial.annun</object-name>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>distance</name>
|
||||
<object-name>dist.101</object-name>
|
||||
<object-name>dist.102</object-name>
|
||||
<object-name>dist.103</object-name>
|
||||
<object-name>dist.annun</object-name>
|
||||
</animation>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>illumination</object-name>
|
||||
|
@ -48,6 +59,49 @@
|
|||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>frequencies</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<property>instrumentation/kns-80/serviceable</property>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>radials</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<property>instrumentation/kns-80/serviceable</property>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>distance</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<property>instrumentation/kns-80/serviceable</property>
|
||||
<equals>
|
||||
<property>instrumentation/kns-80/data-mode</property>
|
||||
<value>2</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>dme.invalid</object-name>
|
||||
|
@ -158,6 +212,88 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Radials -->
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>radial.101</object-name>
|
||||
<property>instrumentation/kns-80/displayed-radial</property>
|
||||
<factor>0.001</factor>
|
||||
<step>100</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>radial.102</object-name>
|
||||
<property>instrumentation/kns-80/displayed-radial</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>radial.103</object-name>
|
||||
<property>instrumentation/kns-80/displayed-radial</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Distance -->
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>dist.101</object-name>
|
||||
<property>instrumentation/kns-80/displayed-distance</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>dist.102</object-name>
|
||||
<property>instrumentation/kns-80/displayed-distance</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>dist.103</object-name>
|
||||
<property>instrumentation/kns-80/displayed-distance</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- DME -->
|
||||
|
||||
|
@ -264,21 +400,9 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Frequency annunciators-->
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>display.digit</object-name>
|
||||
<property>instrumentation/kns-80/display</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- USED / DISPLAYED WAYPOINTS-->
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>use.digit</object-name>
|
||||
|
@ -291,5 +415,18 @@
|
|||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>display.digit</object-name>
|
||||
<property>instrumentation/kns-80/display</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
Loading…
Add table
Reference in a new issue