Debian Codegraph @

Aircraft/Instruments-3d/kfc200/fd-control.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!--
3 KFC-200 FlightDirector / Autopilot Controller
4 Syd Adams
5 -->
6
7 <PropertyList>
8
9 <path>fd-control.ac</path>
10
11 <animation>
12 <type>material</type>
13 <object-name>FDbase</object-name>
14 <emission>
15 <red>0.028</red>
16 <green>0.014</green>
17 <blue>0.007</blue>
18 <factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
19 </emission>
20 </animation>
21 <!--
22 <animation>
23 <type>pick</type>
24 <object-name>Pitch.down</object-name>
25 <condition>
26 <not-equals>
27 <property>/autopilot/locks/altitude</property>
28 <value></value>
29 </not-equals>
30 </condition>
31 <action>
32 <button>0</button>
33 <repeatable>true</repeatable>
34 <interval-sec>0.1</interval-sec>
35 <binding>
36 <command>property-adjust</command>
37 <property>/autopilot/settings/target-pitch-deg</property>
38 <step>-0.05</step>
39 <min>-15.0</min>
40 <max>15.0</max>
41 <wrap>false</wrap>
42 </binding>
43 </action>
44 </animation>
45
46 <animation>
47 <type>pick</type>
48 <object-name>Pitch.up</object-name>
49 <condition>
50 <not-equals>
51 <property>/autopilot/locks/altitude</property>
52 <value></value>
53 </not-equals>
54 </condition>
55 <action>
56 <button>0</button>
57 <repeatable>true</repeatable>
58 <interval-sec>0.1</interval-sec>
59 <binding>
60 <command>property-adjust</command>
61 <property>/autopilot/settings/target-pitch-deg</property>
62 <step>0.05</step>
63 <min>-15.0</min>
64 <max>15.0</max>
65 <wrap>false</wrap>
66 </binding>
67 </action>
68 </animation>
69
70 <animation>
71 <type>pick</type>
72 <object-name>HDG.btn</object-name>
73 <action>
74 <button>0</button>
75 <repeatable>false</repeatable>
76 <binding>
77 <command>nasal</command>
78 <script>
79 if(getprop("/instrumentation/kfc200/fdmode") != "hdg"){
80 setprop("/instrumentation/kfc200/fdmode","hdg");}
81 else{setprop("/instrumentation/kfc200/fdmode","off");}
82 </script>
83 </binding>
84 </action>
85 </animation>
86
87 <animation>
88 <type>pick</type>
89 <object-name>FD.btn</object-name>
90 <action>
91 <button>0</button>
92 <repeatable>false</repeatable>
93 <binding>
94 <command>property-toggle</command>
95 <property>/instrumentation/kfc200/fd-on</property>
96 </binding>
97 </action>
98 </animation>
99
100 <animation>
101 <type>pick</type>
102 <object-name>ALT.btn</object-name>
103 <action>
104 <button>0</button>
105 <repeatable>false</repeatable>
106 <binding>
107 <command>nasal</command>
108 <script>
109 if(getprop("/instrumentation/kfc200/fdmodeV") != "alt-arm"){
110 setprop("/instrumentation/kfc200/fdmodeV","alt-arm");}
111 else{setprop("/instrumentation/kfc200/fdmodeV","off");}
112 </script>
113 </binding>
114 </action>
115 </animation>
116
117 <animation>
118 <type>pick</type>
119 <object-name>NAV.btn</object-name>
120 <action>
121 <button>0</button>
122 <repeatable>false</repeatable>
123 <binding>
124 <command>nasal</command>
125 <script>
126 if(getprop("/instrumentation/kfc200/fdmode") != "nav-arm"){
127 setprop("/instrumentation/kfc200/fdmode","nav-arm");}
128 else{setprop("/instrumentation/kfc200/fdmode","off");}
129 </script>
130 </binding>
131 </action>
132 </animation>
133
134 <animation>
135 <type>pick</type>
136 <object-name>BC.btn</object-name>
137 <action>
138 <button>0</button>
139 <repeatable>false</repeatable>
140 <binding>
141 <command>nasal</command>
142 <script>
143 if(getprop("/instrumentation/kfc200/fdmode") != "bc"){
144 setprop("/instrumentation/kfc200/fdmode","bc");}
145 else{setprop("/instrumentation/kfc200/fdmode","off");}
146 </script>
147 </binding>
148 </action>
149 </animation>
150
151 <animation>
152 <type>pick</type>
153 <object-name>APPR.btn</object-name>
154 <action>
155 <button>0</button>
156 <repeatable>false</repeatable>
157 <binding>
158 <command>nasal</command>
159 <script>
160 if(getprop("/instrumentation/kfc200/fdmode") != "appr"){
161 setprop("/instrumentation/kfc200/fdmode","appr");}
162 else{setprop("/instrumentation/kfc200/fdmode","off");}
163 </script>
164 </binding>
165 </action>
166 </animation>
167
168 <animation>
169 <type>pick</type>
170 <object-name>APtoggle</object-name>
171 <action>
172 <button>0</button>
173 <repeatable>false</repeatable>
174 <binding>
175 <command>property-toggle</command>
176 <property>/autopilot/locks/passive-mode</property>
177 </binding>
178 </action>
179 </animation>
180 -->
181 <animation>
182 <type>rotate</type>
183 <object-name>APtoggle</object-name>
184 <property>/autopilot/locks/passive-mode</property>
185 <factor>40</factor>
186 <axis>
187 <x>0.0</x>
188 <y>1.0</y>
189 <z>0.0</z>
190 </axis>
191 <center>
192 <x-m>0.002</x-m>
193 <y-m>0.046</y-m>
194 <z-m>0.002</z-m>
195 </center>
196 </animation>
197
198 </PropertyList>