- added compensated total energy variometer and immatriculation to the ASK13 - moved some instruments to "instruments-3d by WooT
This commit is contained in:
parent
643dab2158
commit
fa9d8d1a14
22 changed files with 17088 additions and 0 deletions
Aircraft/Instruments-3d
ar-3201
glider/vario/ilec-sc7
winter-alti-4110
winter-ball
BIN
Aircraft/Instruments-3d/ar-3201/AR-3201-bg.png
Normal file
BIN
Aircraft/Instruments-3d/ar-3201/AR-3201-bg.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 22 KiB |
BIN
Aircraft/Instruments-3d/ar-3201/AR-3201-shadow.png
Normal file
BIN
Aircraft/Instruments-3d/ar-3201/AR-3201-shadow.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 23 KiB |
7820
Aircraft/Instruments-3d/ar-3201/AR-3201.ac
Normal file
7820
Aircraft/Instruments-3d/ar-3201/AR-3201.ac
Normal file
File diff suppressed because it is too large
Load diff
75
Aircraft/Instruments-3d/ar-3201/AR3201.nas
Normal file
75
Aircraft/Instruments-3d/ar-3201/AR3201.nas
Normal file
|
@ -0,0 +1,75 @@
|
|||
# Becker AR-3201 transciever
|
||||
|
||||
var ar3201 = func {
|
||||
|
||||
setprop("instrumentation/comm/serviceable" ,0);
|
||||
|
||||
var chan = 0;
|
||||
setprop("instrumentation/AR-3201/chan", chan);
|
||||
|
||||
var ch=[ 0,0,0,0,0 ];
|
||||
ch[0] = getprop("instrumentation/comm/frequencies/selected-mhz");
|
||||
ch[1] = 121.5 ;
|
||||
ch[2] = 121.5 ;
|
||||
ch[3] = 121.5 ;
|
||||
ch[4] = 121.5 ;
|
||||
|
||||
setprop("instrumentation/AR-3201/stby", ch[0]);
|
||||
setprop("instrumentation/AR-3201/dummy", ch[0]);
|
||||
setprop("instrumentation/comm/frequencies/selected-mhz", ch[0]);
|
||||
|
||||
setlistener("instrumentation/AR-3201/power", func {
|
||||
|
||||
if ( getprop("instrumentation/AR-3201/power") == 1 and getprop("instrumentation/comm/serviceable") == 0 )
|
||||
{
|
||||
setprop("instrumentation/AR-3201/starting", 1);
|
||||
settimer(func {
|
||||
if (getprop("instrumentation/AR-3201/power") > 0)
|
||||
{
|
||||
setprop("instrumentation/AR-3201/starting", 0);
|
||||
setprop("instrumentation/comm/serviceable" ,1)
|
||||
}
|
||||
}, 2);
|
||||
}
|
||||
|
||||
if (getprop("instrumentation/AR-3201/power") == 0)
|
||||
{
|
||||
setprop("instrumentation/AR-3201/starting", 0);
|
||||
setprop("instrumentation/comm/serviceable" ,0 );
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
setlistener("instrumentation/AR-3201/dummy", func {
|
||||
|
||||
settimer(func {
|
||||
if ( chan == 0 )
|
||||
{
|
||||
ch[0] = getprop("instrumentation/AR-3201/stby") ;
|
||||
setprop("instrumentation/comm/frequencies/selected-mhz" ,ch[0] );
|
||||
}
|
||||
}, 0.02);
|
||||
|
||||
});
|
||||
|
||||
setlistener("instrumentation/AR-3201/chan", func {
|
||||
|
||||
chan = getprop("instrumentation/AR-3201/chan" );
|
||||
setprop("instrumentation/comm/frequencies/selected-mhz", ch[chan] );
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
setlistener("instrumentation/AR-3201/store", func {
|
||||
|
||||
chan = getprop("instrumentation/AR-3201/chan" );
|
||||
ch[chan] = getprop("instrumentation/AR-3201/stby");
|
||||
setprop("instrumentation/comm/frequencies/selected-mhz", ch[chan] );
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
# Start the transciever ASAP
|
||||
ar3201();
|
476
Aircraft/Instruments-3d/ar-3201/ar-3201.xml
Normal file
476
Aircraft/Instruments-3d/ar-3201/ar-3201.xml
Normal file
|
@ -0,0 +1,476 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<name>ar-3201</name>
|
||||
<path>AR-3201.ac</path>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>lcd-back</object-name>
|
||||
<object-name>init-digits</object-name>
|
||||
<emission>
|
||||
<red>0.028</red>
|
||||
<green>0.014</green>
|
||||
<blue>0.007</blue>
|
||||
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- volume -->
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>vol-knob</object-name>
|
||||
<property>instrumentation/comm/volume</property>
|
||||
<interpolation>
|
||||
<entry><ind>0</ind><dep>0</dep></entry>
|
||||
<entry><ind>1.0</ind><dep>260</dep></entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>0.009</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.022</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>vol-knob</object-name>
|
||||
<action>
|
||||
<button>3</button>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/comm/volume</property>
|
||||
<step>0.05</step>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
<wrap>0</wrap>
|
||||
</binding>
|
||||
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>vol-knob</object-name>
|
||||
<action>
|
||||
<button>4</button>
|
||||
<button>1</button>
|
||||
<binding>
|
||||
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/comm/volume</property>
|
||||
<step>-0.05</step>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
<wrap>0</wrap>
|
||||
</binding>
|
||||
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<!-- frequency -->
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>ch-knob</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<button>3</button>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/AR-3201/chan</property>
|
||||
<step>-1</step>
|
||||
<min>0</min>
|
||||
<max>4</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>ch-knob</object-name>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<button>4</button>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/AR-3201/chan</property>
|
||||
<step>1</step>
|
||||
<min>0</min>
|
||||
<max>4</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>ch-knob</object-name>
|
||||
<property>instrumentation/AR-3201/chan</property>
|
||||
<factor>-30</factor>
|
||||
<center>
|
||||
<x-m>0.004</x-m>
|
||||
<y-m>-0.015</y-m>
|
||||
<z-m>-0.015</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>mhz-knob</object-name>
|
||||
<property>instrumentation/AR-3201/dummy</property>
|
||||
<interpolation>
|
||||
<entry><ind>118</ind><dep>0</dep></entry>
|
||||
<entry><ind>136</ind><dep>300</dep></entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>0.010</x-m>
|
||||
<y-m>0.010</y-m>
|
||||
<z-m>-0.017</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>khz-knob</object-name>
|
||||
<property>instrumentation/AR-3201/dummy</property>
|
||||
<interpolation>
|
||||
<entry><ind>118</ind><dep>0</dep></entry>
|
||||
<entry><ind>136</ind><dep>3600</dep></entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>0.010</x-m>
|
||||
<y-m>0.010</y-m>
|
||||
<z-m>-0.017</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>mhz10</object-name>
|
||||
<property>instrumentation/comm/frequencies/selected-mhz</property>
|
||||
<factor>0.01</factor>
|
||||
<step>10</step>
|
||||
<bias>0.005</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>mhz1</object-name>
|
||||
<property>instrumentation/comm/frequencies/selected-mhz</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<bias>0.005</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>khz10</object-name>
|
||||
<property>instrumentation/comm/frequencies/selected-mhz</property>
|
||||
<factor>1.0</factor>
|
||||
<step>0.1</step>
|
||||
<bias>0.005</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>khz1</object-name>
|
||||
<property>instrumentation/comm/frequencies/selected-mhz</property>
|
||||
<factor>10.0</factor>
|
||||
<step>0.01</step>
|
||||
<bias>0.005</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>mhz-knob</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<button>3</button>
|
||||
<repeatable>true</repeatable>
|
||||
<interval-sec>0.1</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/AR-3201/dummy</property>
|
||||
<mask>integer</mask>
|
||||
<step>1</step>
|
||||
<min>118</min>
|
||||
<max>136</max>
|
||||
<resolution>1</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/AR-3201/chan</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<property>instrumentation/AR-3201/stby</property>
|
||||
<mask>integer</mask>
|
||||
<step>1</step>
|
||||
<min>118</min>
|
||||
<max>136</max>
|
||||
<resolution>1</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>mhz-knob</object-name>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<button>4</button>
|
||||
<repeatable>true</repeatable>
|
||||
<interval-sec>0.1</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/AR-3201/dummy</property>
|
||||
<mask>integer</mask>
|
||||
<step>-1</step>
|
||||
<min>118</min>
|
||||
<max>136</max>
|
||||
<resolution>1</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/AR-3201/chan</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<property>instrumentation/AR-3201/stby</property>
|
||||
<mask>integer</mask>
|
||||
<step>-1</step>
|
||||
<min>118</min>
|
||||
<max>136</max>
|
||||
<resolution>1</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>khz-knob</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<button>3</button>
|
||||
<repeatable>true</repeatable>
|
||||
<interval-sec>0.1</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/AR-3201/dummy</property>
|
||||
<mask>decimal</mask>
|
||||
<step>0.025</step>
|
||||
<min>0.000</min>
|
||||
<max>1.000</max>
|
||||
<resolution>0.025</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/AR-3201/chan</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<property>instrumentation/AR-3201/stby</property>
|
||||
<mask>decimal</mask>
|
||||
<step>0.025</step>
|
||||
<min>0.000</min>
|
||||
<max>1.000</max>
|
||||
<resolution>0.025</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>khz-knob</object-name>
|
||||
<action>
|
||||
<button>1</button>
|
||||
<button>4</button>
|
||||
<repeatable>true</repeatable>
|
||||
<interval-sec>0.1</interval-sec>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/AR-3201/dummy</property>
|
||||
<mask>decimal</mask>
|
||||
<step>-0.025</step>
|
||||
<min>0.000</min>
|
||||
<max>1.000</max>
|
||||
<resolution>0.025</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>instrumentation/AR-3201/chan</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<property>instrumentation/AR-3201/stby</property>
|
||||
<mask>decimal</mask>
|
||||
<step>-0.025</step>
|
||||
<min>0.000</min>
|
||||
<max>1.000</max>
|
||||
<resolution>0.025</resolution>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<!-- power -->
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>power-switch</object-name>
|
||||
<property>instrumentation/AR-3201/power</property>
|
||||
<interpolation>
|
||||
<entry><ind>0</ind><dep>-30</dep></entry>
|
||||
<entry><ind>1.0</ind><dep>0</dep></entry>
|
||||
<entry><ind>2.0</ind><dep>30</dep></entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>-0.013</y-m>
|
||||
<z-m>0.020</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>-1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>init-digits</object-name>
|
||||
<property>instrumentation/AR-3201/starting</property>
|
||||
<factor>0.0028</factor>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>lcd-back</object-name>
|
||||
<property>instrumentation/comm/serviceable</property>
|
||||
<factor>-0.0013</factor>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>pwr-on</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/AR-3201/power</property>
|
||||
<step>1</step>
|
||||
<min>0</min>
|
||||
<max>2</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>pwr-off</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/AR-3201/power</property>
|
||||
<step>-1</step>
|
||||
<min>0</min>
|
||||
<max>2</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<!-- store -->
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>store-button</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>instrumentation/AR-3201/store</property>
|
||||
<step>1</step>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
|
||||
|
BIN
Aircraft/Instruments-3d/ar-3201/digits.png
Normal file
BIN
Aircraft/Instruments-3d/ar-3201/digits.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 5.4 KiB |
BIN
Aircraft/Instruments-3d/ar-3201/lcd.png
Normal file
BIN
Aircraft/Instruments-3d/ar-3201/lcd.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 135 B |
BIN
Aircraft/Instruments-3d/glider/vario/ilec-sc7/digits.png
Normal file
BIN
Aircraft/Instruments-3d/glider/vario/ilec-sc7/digits.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 7.3 KiB |
5035
Aircraft/Instruments-3d/glider/vario/ilec-sc7/ilec-sc7.ac
Normal file
5035
Aircraft/Instruments-3d/glider/vario/ilec-sc7/ilec-sc7.ac
Normal file
File diff suppressed because it is too large
Load diff
102
Aircraft/Instruments-3d/glider/vario/ilec-sc7/ilec-sc7.nas
Normal file
102
Aircraft/Instruments-3d/glider/vario/ilec-sc7/ilec-sc7.nas
Normal file
|
@ -0,0 +1,102 @@
|
|||
|
||||
var debug_enabled = 0;
|
||||
|
||||
## helpers
|
||||
#
|
||||
var FT2M=0.30480;
|
||||
var KT2MPS=1852/3600;
|
||||
var square=func(x) return x*x;
|
||||
var get_delta=func (current,previous) {return (current-previous);}
|
||||
var state = {new:func {return{parents:[state]};},altitude_m:0,airspeed_mps:0,timestamp:0,te_read:0};
|
||||
var samples = []; setsize(samples, 30);
|
||||
var te_needle =0;
|
||||
|
||||
setprop("/instrumentation/ilec-sc7/te-reading-mps",0);
|
||||
setprop("/instrumentation/ilec-sc7/volume",0.8);
|
||||
setprop("/instrumentation/ilec-sc7/audio",2);
|
||||
setprop("/instrumentation/ilec-sc7/mode",1);
|
||||
setprop("/instrumentation/ilec-sc7/sensitivity",1);
|
||||
setprop("/instrumentation/ilec-sc7/filter",0.05);
|
||||
|
||||
var update_state = func {
|
||||
var s = state.new();
|
||||
s.altitude_m=getprop("/position/altitude-ft")*FT2M;
|
||||
s.airspeed_mps=getprop("/velocities/airspeed-kt")*KT2MPS;
|
||||
s.timestamp=systime();
|
||||
return s;
|
||||
}
|
||||
|
||||
var push30 = func {
|
||||
var i = 0;
|
||||
while ( i < 30 ) {
|
||||
samples[i]=0;
|
||||
i += 1;
|
||||
};
|
||||
}
|
||||
|
||||
##
|
||||
# debug info
|
||||
var s_dump = func(s) {
|
||||
print(s.timestamp," ", s.altitude_m, " ", s.airspeed_mps);
|
||||
}
|
||||
|
||||
var averager = func {
|
||||
var sum = 0 ;
|
||||
var i = 0;
|
||||
while ( i < 29 ) {
|
||||
samples[i] = samples[i+1]; # shift everything to the "left"
|
||||
i += 1;
|
||||
};
|
||||
samples[29] = te_needle; # and set last sample to current
|
||||
i = 0;
|
||||
while ( i < 30 ) {
|
||||
sum = sum + samples[i];
|
||||
i += 1;
|
||||
};
|
||||
var average30 = sum / 30;
|
||||
setprop("/instrumentation/ilec-sc7/average",math.abs(average30));
|
||||
setprop("/instrumentation/ilec-sc7/average-sign",math.sgn(average30));
|
||||
if (debug_enabled) print (" average ",average30);
|
||||
settimer(averager, 1); # update rate
|
||||
}
|
||||
|
||||
|
||||
var tvario = {
|
||||
new: func {return {parents:[tvario]};},
|
||||
state:{previous:,current:},
|
||||
init: func {state.previous=state.new(); state.current=state.new();},
|
||||
update:func {
|
||||
if (debug_enabled) print("\nUpdating TEV:");
|
||||
state.current = update_state();
|
||||
if (debug_enabled) {
|
||||
s_dump(state.current);
|
||||
s_dump(state.previous);
|
||||
}
|
||||
var delta_t = get_delta(state.current.timestamp, state.previous.timestamp);
|
||||
# TE reading = (h2-h1)/t + (v2^2 - v1^2) / 19.62*t
|
||||
if (debug_enabled) print("delta_t:",delta_t);
|
||||
var uncompensated = get_delta(state.current.altitude_m,state.previous.altitude_m) / delta_t;
|
||||
if (debug_enabled) print(" uncompensated:",uncompensated);
|
||||
var adjustment = get_delta(square(state.current.airspeed_mps),square(state.previous.airspeed_mps)) / (19.62 * delta_t);
|
||||
if (debug_enabled) print(" adjustment:",adjustment,"\n");
|
||||
var te_reading = uncompensated + adjustment;
|
||||
if (debug_enabled) print (" te_reading:",te_reading);
|
||||
|
||||
te_needle = getprop("/instrumentation/ilec-sc7/te-reading-mps");
|
||||
var filter = 0.01 + 0.02 * getprop("/instrumentation/ilec-sc7/sensitivity");
|
||||
setprop("/instrumentation/ilec-sc7/filter",filter);
|
||||
|
||||
te_needle = te_needle * (1-filter) + filter * te_reading;
|
||||
setprop("/instrumentation/ilec-sc7/te-reading-mps",te_needle);
|
||||
setprop("/instrumentation/ilec-sc7/te-reading-neg",-te_needle);
|
||||
state.previous = state.current; # save current state for next call
|
||||
settimer(func me.update(), 1/20); # update rate
|
||||
}
|
||||
};
|
||||
|
||||
var tv = tvario.new();
|
||||
tv.init();
|
||||
tv.update();
|
||||
push30();
|
||||
averager();
|
||||
|
370
Aircraft/Instruments-3d/glider/vario/ilec-sc7/ilec-sc7.xml
Normal file
370
Aircraft/Instruments-3d/glider/vario/ilec-sc7/ilec-sc7.xml
Normal file
|
@ -0,0 +1,370 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<path>ilec-sc7.ac</path>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>face</object-name>
|
||||
<object-name>Needle</object-name>
|
||||
<object-name>decimals-digit</object-name>
|
||||
<object-name>units-digit</object-name>
|
||||
<object-name>sign-digit</object-name>
|
||||
<object-name>dot-digit</object-name>
|
||||
<emission>
|
||||
<red>0.028</red>
|
||||
<green>0.014</green>
|
||||
<blue>0.007</blue>
|
||||
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<!--needle-->
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Needle</object-name>
|
||||
<property>/instrumentation/ilec-sc7/te-reading-mps</property>
|
||||
<interpolation>
|
||||
<entry><ind> -5</ind><dep>-119.713</dep></entry>
|
||||
<entry><ind> 0.0</ind><dep> 0.0</dep></entry>
|
||||
<entry><ind> 5</ind><dep>119.7135</dep></entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>0.000</x-m>
|
||||
<y-m>-0.007</y-m>
|
||||
<z-m>0.000</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- mc cready -->
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>mc-cready</object-name>
|
||||
<property>/instrumentation/mc-cready/rot</property>
|
||||
<factor>1</factor>
|
||||
<center>
|
||||
<x-m>0.000</x-m>
|
||||
<y-m>-0.007</y-m>
|
||||
<z-m>0.000</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>mc-cready</object-name>
|
||||
<action>
|
||||
<name>increase mc-cready</name>
|
||||
<button>0</button>
|
||||
<button>3</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/mc-cready/rot</property>
|
||||
<step>2</step>
|
||||
<min>0</min>
|
||||
<max>360</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>mc-cready</object-name>
|
||||
<action>
|
||||
<name>decrease mc-cready</name>
|
||||
<button>1</button>
|
||||
<button>4</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/mc-cready/rot</property>
|
||||
<step>-2</step>
|
||||
<min>0</min>
|
||||
<max>360</max>
|
||||
<wrap>true</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<!-- volume -->
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>vol-knob</object-name>
|
||||
<property>/instrumentation/ilec-sc7/volume</property>
|
||||
<factor>360</factor>
|
||||
<center>
|
||||
<x-m>0.003</x-m>
|
||||
<y-m>0.027</y-m>
|
||||
<z-m>0.011</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>vol-knob</object-name>
|
||||
<action>
|
||||
<name>increase audio volume</name>
|
||||
<button>0</button>
|
||||
<button>3</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/ilec-sc7/volume</property>
|
||||
<step>0.05</step>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>vol-knob</object-name>
|
||||
<action>
|
||||
<name>decrease audio volume</name>
|
||||
<button>1</button>
|
||||
<button>4</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/ilec-sc7/volume</property>
|
||||
<step>-0.05</step>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<!-- audio switch -->
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>audio-switch</object-name>
|
||||
<property>instrumentation/ilec-sc7/audio</property>
|
||||
<interpolation>
|
||||
<entry><ind>0</ind><dep>-30</dep></entry>
|
||||
<entry><ind>1.0</ind><dep>0</dep></entry>
|
||||
<entry><ind>2.0</ind><dep>30</dep></entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>0.001</x-m>
|
||||
<y-m>0.005</y-m>
|
||||
<z-m>0.031</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>-1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>incr-audio</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/ilec-sc7/audio</property>
|
||||
<step>1</step>
|
||||
<min>0</min>
|
||||
<max>2</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>decr-audio</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/ilec-sc7/audio</property>
|
||||
<step>-1</step>
|
||||
<min>0</min>
|
||||
<max>2</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<!-- mode switch -->
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>mode-switch</object-name>
|
||||
<property>instrumentation/ilec-sc7/mode</property>
|
||||
<interpolation>
|
||||
<entry><ind>0</ind><dep>-30</dep></entry>
|
||||
<entry><ind>1.0</ind><dep>0</dep></entry>
|
||||
<entry><ind>2.0</ind><dep>30</dep></entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>0.001</x-m>
|
||||
<y-m>0.025</y-m>
|
||||
<z-m>-0.013</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>-1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>incr-mode</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/ilec-sc7/mode</property>
|
||||
<step>1</step>
|
||||
<min>0</min>
|
||||
<max>2</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>decr-mode</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/ilec-sc7/mode</property>
|
||||
<step>-1</step>
|
||||
<min>0</min>
|
||||
<max>2</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<!-- sensitivity switch -->
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>sens-switch</object-name>
|
||||
<property>instrumentation/ilec-sc7/sensitivity</property>
|
||||
<interpolation>
|
||||
<entry><ind>0</ind><dep>-30</dep></entry>
|
||||
<entry><ind>1.0</ind><dep>30</dep></entry>
|
||||
</interpolation>
|
||||
<center>
|
||||
<x-m>0.001</x-m>
|
||||
<y-m>0.003</y-m>
|
||||
<z-m>-0.031</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>-1</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>incr-sens</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/ilec-sc7/sensitivity</property>
|
||||
<step>1</step>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>decr-sens</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>instrumentation/ilec-sc7/sensitivity</property>
|
||||
<step>-1</step>
|
||||
<min>0</min>
|
||||
<max>1</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<!-- digits -->
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>decimals-digit</object-name>
|
||||
<property>instrumentation/ilec-sc7/average</property>
|
||||
<factor>1</factor>
|
||||
<step>0.1</step>
|
||||
<bias>0.005</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>units-digit</object-name>
|
||||
<property>instrumentation/ilec-sc7/average</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<bias>0.005</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>textranslate</type>
|
||||
<object-name>sign-digit</object-name>
|
||||
<property>instrumentation/ilec-sc7/average-sign</property>
|
||||
<factor>0.1</factor>
|
||||
<step>1</step>
|
||||
<bias>0.005</bias>
|
||||
<axis>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
|
||||
|
BIN
Aircraft/Instruments-3d/glider/vario/ilec-sc7/sc7-top.png
Normal file
BIN
Aircraft/Instruments-3d/glider/vario/ilec-sc7/sc7-top.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 125 KiB |
BIN
Aircraft/Instruments-3d/winter-alti-4110/winter-4110-bg.png
Normal file
BIN
Aircraft/Instruments-3d/winter-alti-4110/winter-4110-bg.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 32 KiB |
BIN
Aircraft/Instruments-3d/winter-alti-4110/winter-4110-fg.png
Normal file
BIN
Aircraft/Instruments-3d/winter-alti-4110/winter-4110-fg.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 76 KiB |
BIN
Aircraft/Instruments-3d/winter-alti-4110/winter-4110-shadow.png
Normal file
BIN
Aircraft/Instruments-3d/winter-alti-4110/winter-4110-shadow.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 23 KiB |
2496
Aircraft/Instruments-3d/winter-alti-4110/winter-4110.ac
Normal file
2496
Aircraft/Instruments-3d/winter-alti-4110/winter-4110.ac
Normal file
File diff suppressed because it is too large
Load diff
112
Aircraft/Instruments-3d/winter-alti-4110/winter-4110.xml
Normal file
112
Aircraft/Instruments-3d/winter-alti-4110/winter-4110.xml
Normal file
|
@ -0,0 +1,112 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<path>winter-4110.ac</path>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>alt-face</object-name>
|
||||
<object-name>alt-face-press</object-name>
|
||||
<object-name>needle-m</object-name>
|
||||
<object-name>needle-km</object-name>
|
||||
<object-name>needle.001-m</object-name>
|
||||
<object-name>needle.001-km</object-name>
|
||||
<emission>
|
||||
<red>0.028</red>
|
||||
<green>0.014</green>
|
||||
<blue>0.007</blue>
|
||||
<factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>needle-km</object-name>
|
||||
<object-name>needle.001-km</object-name>
|
||||
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
||||
<factor>0.010973</factor>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>needle-m</object-name>
|
||||
<object-name>needle.001-m</object-name>
|
||||
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
||||
<factor>0.10973</factor>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>alt-face-press</object-name>
|
||||
<property>/instrumentation/altimeter/setting-inhg</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>28.05</ind>
|
||||
<dep>0.0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>31.01</ind>
|
||||
<dep>282</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Altimeter -->
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>knob</object-name>
|
||||
<action>
|
||||
<name>increase calibrate fine</name>
|
||||
<button>0</button>
|
||||
<button>3</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/altimeter/setting-inhg</property>
|
||||
<step>0.01</step>
|
||||
<min>28.05</min>
|
||||
<max>31.01</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>knob</object-name>
|
||||
<action>
|
||||
<name>decrease calibrate fine</name>
|
||||
<button>1</button>
|
||||
<button>4</button>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/instrumentation/altimeter/setting-inhg</property>
|
||||
<step>-0.01</step>
|
||||
<min>28.05</min>
|
||||
<max>31.01</max>
|
||||
<wrap>false</wrap>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
|
||||
|
566
Aircraft/Instruments-3d/winter-ball/ball.ac
Normal file
566
Aircraft/Instruments-3d/winter-ball/ball.ac
Normal file
|
@ -0,0 +1,566 @@
|
|||
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 "DefaultWhite.001" rgb 1 1 1 amb 1 1 1 emis 0.15 0.15 0.15 spec 0.5 0.5 0.5 shi 64 trans 0
|
||||
MATERIAL "bare-metal" rgb 0.233333 0.233333 0.233333 amb 1 1 1 emis 0 0 0 spec 0.9 0.9 0.9 shi 32 trans 0
|
||||
OBJECT world
|
||||
kids 1
|
||||
OBJECT group
|
||||
name "ball-empty"
|
||||
kids 4
|
||||
OBJECT poly
|
||||
name "ball"
|
||||
data 4
|
||||
Mesh
|
||||
texture "winter-ball-ball.png"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
-0.001664 0.036928 -0.012559
|
||||
-0.001664 0.036928 0.012559
|
||||
-0.001664 -0.038428 -0.012559
|
||||
-0.001664 -0.038428 0.012559
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
refs 4
|
||||
0 0.66666662693 1.0
|
||||
1 0.333333313465 1.0
|
||||
3 0.333333313465 0.0
|
||||
2 0.66666662693 0.0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "ball-back"
|
||||
data 8
|
||||
Mesh.003
|
||||
texture "winter-ball-bg.png"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
-0.002564 0.036928 -0.037678
|
||||
-0.002564 -0.038428 -0.037678
|
||||
-0.002564 -0.038428 0.037678
|
||||
-0.002564 0.036928 0.037678
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
refs 4
|
||||
0 1.0 1.0
|
||||
3 0.0 1.0
|
||||
2 0.0 0.0
|
||||
1 1.0 0.0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "ball-front"
|
||||
data 8
|
||||
Mesh.001
|
||||
texture "winter-ball-fg.png"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 4
|
||||
-0.000592 0.036928 -0.037678
|
||||
-0.000592 -0.038428 -0.037678
|
||||
-0.000592 -0.038428 0.037678
|
||||
-0.000592 0.036928 0.037678
|
||||
numsurf 1
|
||||
SURF 0x00
|
||||
mat 1
|
||||
refs 4
|
||||
0 1.0 1.0
|
||||
3 0.0 1.0
|
||||
2 0.0 0.0
|
||||
1 1.0 0.0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "screws"
|
||||
data 8
|
||||
Mesh.008
|
||||
texture "winter-ball-fg.png"
|
||||
texrep 1 1
|
||||
crease 30.000000
|
||||
numvert 68
|
||||
0.001292 0.029423 0.02941
|
||||
0.001003 0.029423 0.02696
|
||||
0.000177 0.029423 0.024885
|
||||
0.000177 0.032622 0.026211
|
||||
0.001003 0.031154 0.027679
|
||||
0.001003 0.031872 0.02941
|
||||
0.000177 0.033948 0.02941
|
||||
0.000177 0.032622 0.03261
|
||||
0.001003 0.031154 0.031143
|
||||
0.001003 0.029423 0.031859
|
||||
0.000177 0.029423 0.033935
|
||||
0.000177 0.026223 0.03261
|
||||
0.001003 0.02769 0.031143
|
||||
0.001003 0.026974 0.02941
|
||||
0.000177 0.024898 0.02941
|
||||
0.000177 0.026223 0.026211
|
||||
0.001003 0.02769 0.027679
|
||||
0.001003 0.02769 -0.031143
|
||||
0.000177 0.026223 -0.03261
|
||||
0.000177 0.024898 -0.02941
|
||||
0.001003 0.026974 -0.02941
|
||||
0.001003 0.02769 -0.027679
|
||||
0.000177 0.026223 -0.026211
|
||||
0.000177 0.029423 -0.024885
|
||||
0.001003 0.029423 -0.02696
|
||||
0.001003 0.031154 -0.027679
|
||||
0.000177 0.032622 -0.026211
|
||||
0.000177 0.033948 -0.02941
|
||||
0.001003 0.031872 -0.02941
|
||||
0.001003 0.031154 -0.031143
|
||||
0.000177 0.032622 -0.03261
|
||||
0.000177 0.029423 -0.033935
|
||||
0.001003 0.029423 -0.031859
|
||||
0.001292 0.029423 -0.02941
|
||||
0.001292 -0.029398 -0.02941
|
||||
0.001003 -0.029398 -0.031859
|
||||
0.000177 -0.029398 -0.033935
|
||||
0.000177 -0.026198 -0.03261
|
||||
0.001003 -0.027665 -0.031143
|
||||
0.001003 -0.026949 -0.02941
|
||||
0.000177 -0.024873 -0.02941
|
||||
0.000177 -0.026198 -0.026211
|
||||
0.001003 -0.027665 -0.027679
|
||||
0.001003 -0.029398 -0.02696
|
||||
0.000177 -0.029398 -0.024885
|
||||
0.000177 -0.032597 -0.026211
|
||||
0.001003 -0.03113 -0.027679
|
||||
0.001003 -0.031848 -0.02941
|
||||
0.000177 -0.033924 -0.02941
|
||||
0.000177 -0.032597 -0.03261
|
||||
0.001003 -0.03113 -0.031143
|
||||
0.001003 -0.03113 0.027679
|
||||
0.000177 -0.032598 0.026211
|
||||
0.000177 -0.033924 0.02941
|
||||
0.001003 -0.031848 0.02941
|
||||
0.001003 -0.03113 0.031143
|
||||
0.000177 -0.032598 0.03261
|
||||
0.000177 -0.029399 0.033935
|
||||
0.001003 -0.029399 0.031859
|
||||
0.001003 -0.027668 0.031143
|
||||
0.000177 -0.026199 0.03261
|
||||
0.000177 -0.024874 0.02941
|
||||
0.001003 -0.02695 0.02941
|
||||
0.001003 -0.027668 0.027679
|
||||
0.000177 -0.026199 0.026211
|
||||
0.000177 -0.029399 0.024885
|
||||
0.001003 -0.029399 0.02696
|
||||
0.001292 -0.029399 0.02941
|
||||
numsurf 64
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
2 0.150589004159 0.993387162685
|
||||
3 0.132077917457 0.992243230343
|
||||
4 0.136952489614 0.982252836227
|
||||
1 0.146970540285 0.98287242651
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
4 0.136952489614 0.982252836227
|
||||
0 0.14270208776 0.970468997955
|
||||
1 0.146970540285 0.98287242651
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
5 0.130299136043 0.974737226963
|
||||
0 0.14270208776 0.970468997955
|
||||
4 0.136952489614 0.982252836227
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
3 0.132077917457 0.992243230343
|
||||
6 0.119784832001 0.978355586529
|
||||
5 0.130299136043 0.974737226963
|
||||
4 0.136952489614 0.982252836227
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
6 0.119784832001 0.978355586529
|
||||
7 0.120925009251 0.959834575653
|
||||
8 0.130915224552 0.964709460735
|
||||
5 0.130299136043 0.974737226963
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
8 0.130915224552 0.964709460735
|
||||
0 0.14270208776 0.970468997955
|
||||
5 0.130299136043 0.974737226963
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
9 0.138433665037 0.958065569401
|
||||
0 0.14270208776 0.970468997955
|
||||
8 0.130915224552 0.964709460735
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
7 0.120925009251 0.959834575653
|
||||
10 0.134815186262 0.947550833225
|
||||
9 0.138433665037 0.958065569401
|
||||
8 0.130915224552 0.964709460735
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
10 0.134815186262 0.947550833225
|
||||
11 0.153332397342 0.948682129383
|
||||
12 0.148457884789 0.958672463894
|
||||
9 0.138433665037 0.958065569401
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
12 0.148457884789 0.958672463894
|
||||
0 0.14270208776 0.970468997955
|
||||
9 0.138433665037 0.958065569401
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
13 0.155105039477 0.966200709343
|
||||
0 0.14270208776 0.970468997955
|
||||
12 0.148457884789 0.958672463894
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
11 0.153332397342 0.948682129383
|
||||
14 0.16561935842 0.962582349777
|
||||
13 0.155105039477 0.966200709343
|
||||
12 0.148457884789 0.958672463894
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
14 0.16561935842 0.962582349777
|
||||
15 0.164485305548 0.981090784073
|
||||
16 0.15449513495 0.976215839386
|
||||
13 0.155105039477 0.966200709343
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
16 0.15449513495 0.976215839386
|
||||
0 0.14270208776 0.970468997955
|
||||
13 0.155105039477 0.966200709343
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
1 0.146970540285 0.98287242651
|
||||
0 0.14270208776 0.970468997955
|
||||
16 0.15449513495 0.976215839386
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
15 0.164485305548 0.981090784073
|
||||
2 0.150589004159 0.993387162685
|
||||
1 0.146970540285 0.98287242651
|
||||
16 0.15449513495 0.976215839386
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
18 0.0409815497696 0.950070440769
|
||||
31 0.0515643469989 0.96530765295
|
||||
32 0.0406994856894 0.967675685883
|
||||
17 0.0349752157927 0.959424197674
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
17 0.0349752157927 0.959424197674
|
||||
32 0.0406994856894 0.967675685883
|
||||
33 0.0278830006719 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
20 0.0250897668302 0.957653045654
|
||||
17 0.0349752157927 0.959424197674
|
||||
33 0.0278830006719 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
19 0.0227218568325 0.946788549423
|
||||
18 0.0409815497696 0.950070440769
|
||||
17 0.0349752157927 0.959424197674
|
||||
20 0.0250897668302 0.957653045654
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
22 0.00749369338155 0.957369089127
|
||||
19 0.0227218568325 0.946788549423
|
||||
20 0.0250897668302 0.957653045654
|
||||
21 0.0168476775289 0.963375091553
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
21 0.0168476775289 0.963375091553
|
||||
20 0.0250897668302 0.957653045654
|
||||
33 0.0278830006719 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
24 0.0150665454566 0.973262310028
|
||||
21 0.0168476775289 0.963375091553
|
||||
33 0.0278830006719 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
23 0.00420168414712 0.97563034296
|
||||
22 0.00749369338155 0.957369089127
|
||||
21 0.0168476775289 0.963375091553
|
||||
24 0.0150665454566 0.973262310028
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
26 0.0147920623422 0.990855634212
|
||||
23 0.00420168414712 0.97563034296
|
||||
24 0.0150665454566 0.973262310028
|
||||
25 0.0207984037697 0.981501936913
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
25 0.0207984037697 0.981501936913
|
||||
24 0.0150665454566 0.973262310028
|
||||
33 0.0278830006719 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
28 0.0306762345135 0.983284950256
|
||||
25 0.0207984037697 0.981501936913
|
||||
33 0.0278830006719 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
27 0.0330441296101 0.994149386883
|
||||
26 0.0147920623422 0.990855634212
|
||||
25 0.0207984037697 0.981501936913
|
||||
28 0.0306762345135 0.983284950256
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
30 0.0482799187303 0.983556985855
|
||||
27 0.0330441296101 0.994149386883
|
||||
28 0.0306762345135 0.983284950256
|
||||
29 0.0389259457588 0.977551043034
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
29 0.0389259457588 0.977551043034
|
||||
28 0.0306762345135 0.983284950256
|
||||
33 0.0278830006719 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
32 0.0406994856894 0.967675685883
|
||||
29 0.0389259457588 0.977551043034
|
||||
33 0.0278830006719 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
31 0.0515643469989 0.96530765295
|
||||
30 0.0482799187303 0.983556985855
|
||||
29 0.0389259457588 0.977551043034
|
||||
32 0.0406994856894 0.967675685883
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
36 0.0738581269979 0.99139970541
|
||||
37 0.0626328364015 0.976629436016
|
||||
38 0.073384091258 0.973804593086
|
||||
35 0.0794649869204 0.981796860695
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
35 0.0794649869204 0.981796860695
|
||||
38 0.073384091258 0.973804593086
|
||||
34 0.0860789865255 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
38 0.073384091258 0.973804593086
|
||||
39 0.0747516006231 0.963855266571
|
||||
34 0.0860789865255 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
37 0.0626328364015 0.976629436016
|
||||
40 0.065149076283 0.958248615265
|
||||
39 0.0747516006231 0.963855266571
|
||||
38 0.073384091258 0.973804593086
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
40 0.065149076283 0.958248615265
|
||||
41 0.0799144133925 0.947031199932
|
||||
42 0.0827388912439 0.957782566547
|
||||
39 0.0747516006231 0.963855266571
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
39 0.0747516006231 0.963855266571
|
||||
42 0.0827388912439 0.957782566547
|
||||
34 0.0860789865255 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
42 0.0827388912439 0.957782566547
|
||||
43 0.0926929935813 0.95914119482
|
||||
34 0.0860789865255 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
41 0.0799144133925 0.947031199932
|
||||
44 0.0982998609543 0.949538290501
|
||||
43 0.0926929935813 0.95914119482
|
||||
42 0.0827388912439 0.957782566547
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
44 0.0982998609543 0.949538290501
|
||||
45 0.10951153934 0.964312136173
|
||||
46 0.0987602695823 0.967137038708
|
||||
43 0.0926929935813 0.95914119482
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
43 0.0926929935813 0.95914119482
|
||||
46 0.0987602695823 0.967137038708
|
||||
34 0.0860789865255 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
46 0.0987602695823 0.967137038708
|
||||
47 0.0974063798785 0.97708272934
|
||||
34 0.0860789865255 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
45 0.10951153934 0.964312136173
|
||||
48 0.107008904219 0.982689380646
|
||||
47 0.0974063798785 0.97708272934
|
||||
46 0.0987602695823 0.967137038708
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
48 0.107008904219 0.982689380646
|
||||
49 0.0922299548984 0.993910372257
|
||||
50 0.089405477047 0.983159005642
|
||||
47 0.0974063798785 0.97708272934
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
47 0.0974063798785 0.97708272934
|
||||
50 0.089405477047 0.983159005642
|
||||
34 0.0860789865255 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
50 0.089405477047 0.983159005642
|
||||
35 0.0794649869204 0.981796860695
|
||||
34 0.0860789865255 0.970468997955
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
49 0.0922299548984 0.993910372257
|
||||
36 0.0738581269979 0.99139970541
|
||||
35 0.0794649869204 0.981796860695
|
||||
50 0.089405477047 0.983159005642
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
52 0.204329624772 0.946701705456
|
||||
65 0.21974620223 0.957011759281
|
||||
66 0.210494950414 0.96318167448
|
||||
51 0.202151343226 0.957602322102
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
66 0.210494950414 0.96318167448
|
||||
67 0.199582010508 0.970459878445
|
||||
51 0.202151343226 0.957602322102
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
51 0.202151343226 0.957602322102
|
||||
67 0.199582010508 0.970459878445
|
||||
54 0.192304089665 0.95954734087
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
53 0.186134397984 0.950296521187
|
||||
52 0.204329624772 0.946701705456
|
||||
51 0.202151343226 0.957602322102
|
||||
54 0.192304089665 0.95954734087
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
56 0.175815358758 0.965718746185
|
||||
53 0.186134397984 0.950296521187
|
||||
54 0.192304089665 0.95954734087
|
||||
55 0.186716094613 0.967896580696
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
54 0.192304089665 0.95954734087
|
||||
67 0.199582010508 0.970459878445
|
||||
55 0.186716094613 0.967896580696
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
55 0.186716094613 0.967896580696
|
||||
67 0.199582010508 0.970459878445
|
||||
58 0.1886690557 0.977738022804
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
57 0.179417803884 0.983907938004
|
||||
56 0.175815358758 0.965718746185
|
||||
55 0.186716094613 0.967896580696
|
||||
58 0.1886690557 0.977738022804
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
60 0.194831684232 0.994231820107
|
||||
57 0.179417803884 0.983907938004
|
||||
58 0.1886690557 0.977738022804
|
||||
59 0.197004392743 0.983322918415
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
58 0.1886690557 0.977738022804
|
||||
67 0.199582010508 0.970459878445
|
||||
59 0.197004392743 0.983322918415
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
59 0.197004392743 0.983322918415
|
||||
67 0.199582010508 0.970459878445
|
||||
62 0.206859856844 0.981372416019
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
61 0.213029548526 0.990623235703
|
||||
60 0.194831684232 0.994231820107
|
||||
59 0.197004392743 0.983322918415
|
||||
62 0.206859856844 0.981372416019
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
64 0.223345890641 0.975214838982
|
||||
61 0.213029548526 0.990623235703
|
||||
62 0.206859856844 0.981372416019
|
||||
63 0.212439626455 0.973028659821
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
62 0.206859856844 0.981372416019
|
||||
67 0.199582010508 0.970459878445
|
||||
63 0.212439626455 0.973028659821
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 3
|
||||
63 0.212439626455 0.973028659821
|
||||
67 0.199582010508 0.970459878445
|
||||
66 0.210494950414 0.96318167448
|
||||
SURF 0x10
|
||||
mat 2
|
||||
refs 4
|
||||
65 0.21974620223 0.957011759281
|
||||
64 0.223345890641 0.975214838982
|
||||
63 0.212439626455 0.973028659821
|
||||
66 0.210494950414 0.96318167448
|
||||
kids 0
|
36
Aircraft/Instruments-3d/winter-ball/ball.xml
Normal file
36
Aircraft/Instruments-3d/winter-ball/ball.xml
Normal file
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<path>ball.ac</path>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>ball</object-name>
|
||||
<property>/instrumentation/slip-skid-ball/indicated-slip-skid</property>
|
||||
<factor>5.729</factor>
|
||||
<!--
|
||||
From the source for slip_skid_ball.cxx, the number returned is (-z_accel/y_accel)*10.
|
||||
For small theta, theta~=tan(theta) when theta is in radians. So the angle of a "ball"
|
||||
undergoing z_accel and y_accel hung on the end of a string makes with the verticle
|
||||
will be approximately -z_accel/y_accel radians. Converting to degrees, multiply by
|
||||
180/pi=57.29, or 5.729 times the returned value. Edited by Dave Perry, 2/26/06.
|
||||
-->
|
||||
<min-deg>-5</min-deg>
|
||||
<max-deg>5</max-deg>
|
||||
<center>
|
||||
<x-m>0</x-m>
|
||||
<y-m>0</y-m>
|
||||
<z-m>0.25</z-m> <!-- Makes the radius of curvature for the glass tube ~10 inches -->
|
||||
</center>
|
||||
<axis>
|
||||
<x>-1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
|
||||
|
BIN
Aircraft/Instruments-3d/winter-ball/winter-ball-ball.png
Normal file
BIN
Aircraft/Instruments-3d/winter-ball/winter-ball-ball.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 13 KiB |
BIN
Aircraft/Instruments-3d/winter-ball/winter-ball-bg.png
Normal file
BIN
Aircraft/Instruments-3d/winter-ball/winter-ball-bg.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 70 KiB |
BIN
Aircraft/Instruments-3d/winter-ball/winter-ball-fg.png
Normal file
BIN
Aircraft/Instruments-3d/winter-ball/winter-ball-fg.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 68 KiB |
Loading…
Add table
Reference in a new issue