Debian Codegraph @

Aircraft/c172p/Models/Interior/Panel/Instruments/tc/tc.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <path>tc.ac</path>
6
7 <effect>
8 <inherits-from>../../../../Effects/interior/lm-tc</inherits-from>
9 <object-name>Airplane</object-name>
10 <object-name>Ball</object-name>
11 <object-name>Face</object-name>
12 <object-name>Background</object-name>
13 <object-name>Flag</object-name>
14 <object-name>Case</object-name>
15 </effect>
16
17 <animation>
18 <type>material</type>
19 <object-name>Ball</object-name>
20 <object-name>Face</object-name>
21 <object-name>Airplane</object-name>
22 <object-name>Background</object-name>
23 <object-name>Case</object-name>
24 <condition>
25 <or>
26 <not>
27 <property>sim/rendering/shaders/skydome</property>
28 </not>
29 <equals>
30 <property>sim/rendering/shaders/model</property>
31 <value>0</value>
32 </equals>
33 </or>
34 </condition>
35 <emission>
36 <red-prop>/sim/model/material/instruments/default-red-combined-factor</red-prop>
37 <green-prop>/sim/model/material/instruments/default-green-combined-factor</green-prop>
38 <blue-prop>/sim/model/material/instruments/default-blue-combined-factor</blue-prop>
39 </emission>
40 </animation>
41
42 <animation>
43 <type>rotate</type>
44 <object-name>Airplane</object-name>
45 <property>instrumentation/turn-indicator/indicated-turn-rate</property>
46 <factor>20.0</factor>
47 <axis>
48 <x>-1</x>
49 <y>0</y>
50 <z>0</z>
51 </axis>
52 <center>
53 <x-m>-0.37583</x-m>
54 <y-m>-0.31098</y-m>
55 <z-m>-0.00261</z-m>
56 </center>
57 </animation>
58
59 <animation>
60 <type>rotate</type>
61 <object-name>Ball</object-name>
62 <property>instrumentation/slip-skid-ball/indicated-slip-skid</property>
63 <factor>5.729</factor>
64 <!--
65 From the source for slip_skid_ball.cxx, the number returned is (-z_accel/y_accel)*10.
66 For small theta, theta~=tan(theta) when theta is in radians. So the angle of a "ball"
67 undergoing z_accel and y_accel hung on the end of a string makes with the verticle
68 will be approximately -z_accel/y_accel radians. Converting to degrees, multiply by
69 180/pi=57.29, or 5.729 times the returned value. Edited by Dave Perry, 2/26/06.
70
71 Edit by Daniel Dubreuil june 2014: I'd rather say
72 Angle with the verticle (radians) -y_accel/z_accel
73 FG indicated-slip-skid = -(y_accel/z_accel)*10
74 -->
75 <min-deg>-9.3</min-deg>
76 <max-deg>9.3</max-deg>
77 <!--center>
78 <x-m>0</x-m>
79 <y-m>0</y-m>
80 <z-m>0.10</z-m-->
81 <!-- 0.10 is fitted to the drawing. Initial 0.25 makes the
82 radius of curvature for the glass tube ~10 inches and
83 the angle +-4 deg (more sensitive)
84 -->
85 <!--/center-->
86 <axis>
87 <x>-1</x>
88 <y>0</y>
89 <z>0</z>
90 </axis>
91 <center>
92 <x-m>-0.37878</x-m>
93 <y-m>-0.31098</y-m>
94 <z-m> 0.08383</z-m>
95 </center>
96 </animation>
97
98 <animation>
99 <type>translate</type>
100 <object-name>Flag</object-name>
101 <property>systems/electrical/outputs/turn-coordinator</property>
102 <factor>0.0040</factor>
103 <axis>
104 <x>0</x>
105 <y>0</y>
106 <z>1</z>
107 </axis>
108 </animation>
109
110 </PropertyList>