Rev 206 | Rev 233 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
206 | ligi | 1 | --Kanalbelegung[8] |
2 | to_cat("Channels", [ |
||
3 | |||
4 | {:pos=>act_pos , :name=>"Nick" , :typ=>"STICK" }, |
||
5 | {:pos=>act_pos+1 , :name=>"Roll" , :typ=>"STICK" }, |
||
6 | {:pos=>act_pos+2 , :name=>"Accelerate" , :typ=>"STICK" }, |
||
7 | {:pos=>act_pos+3 , :name=>"Gier" , :typ=>"STICK" }, |
||
8 | {:pos=>act_pos+4 , :name=>"POTI1" , :typ=>"STICK" }, |
||
9 | {:pos=>act_pos+5 , :name=>"POTI2" , :typ=>"STICK" }, |
||
10 | {:pos=>act_pos+6 , :name=>"POTI3" , :typ=>"STICK" }, |
||
11 | {:pos=>act_pos+7 , :name=>"POTI4" , :typ=>"STICK" }, |
||
12 | ]) |
||
13 | |||
14 | act_pos+=8 |
||
15 | |||
16 | --GlobalConfigOld; |
||
17 | |||
18 | to_cat("Configuration", [ |
||
19 | {:pos=>act_pos*8 , :name=>"ALTITUDE_CONTROL" , :typ=>"BITSWITCH" }, |
||
20 | {:pos=>act_pos*8+1 , :name=>"Switch for Setpoint" , :typ=>"BITSWITCH" }, |
||
21 | {:pos=>act_pos*8+2 , :name=>"Heading Hold" , :typ=>"BITSWITCH" }, |
||
22 | {:pos=>act_pos*8+3 , :name=>"Compas Active" , :typ=>"BITSWITCH" }, |
||
23 | {:pos=>act_pos*8+5 , :name=>"GPS" , :typ=>"BITSWITCH" }, |
||
24 | |||
25 | ]) |
||
26 | |||
27 | |||
28 | act_pos+=1 |
||
29 | |||
30 | --GlobalConfig; |
||
31 | |||
32 | to_cat("Configuration", [ |
||
33 | {:pos=>act_pos*8 , :name=>"ALTITUDE_CONTROL" , :typ=>"BITSWITCH" }, |
||
34 | {:pos=>act_pos*8+1 , :name=>"Switch for Setpoint" , :typ=>"BITSWITCH" }, |
||
35 | {:pos=>act_pos*8+2 , :name=>"Heading Hold" , :typ=>"BITSWITCH" }, |
||
36 | {:pos=>act_pos*8+3 , :name=>"Compas Active" , :typ=>"BITSWITCH" }, |
||
37 | {:pos=>act_pos*8+4 , :name=>"Compas Fix" , :typ=>"BITSWITCH" }, |
||
38 | {:pos=>act_pos*8+5 , :name=>"GPS" , :typ=>"BITSWITCH" }, |
||
39 | {:pos=>act_pos*8+6 , :name=>"Coupling" , :typ=>"BITSWITCH" }, |
||
40 | {:pos=>act_pos*8+7 , :name=>"Yaw Rate Limiter" , :typ=>"BITSWITCH" } |
||
41 | ]) |
||
42 | |||
43 | |||
44 | act_pos+=1 |
||
45 | |||
46 | --Hoehe_MinGas |
||
47 | to_cat("Altitude", [{ :pos=>act_pos , :name=>"Min. Accelerate" , :typ=>"BYTE" }] ) |
||
48 | act_pos+=1 |
||
49 | --Luftdruck_D |
||
50 | to_cat("Altitude", [{ :pos=>act_pos , :name=>"Barometric D" , :typ=>"BYTE" }] ) |
||
51 | act_pos+=1 |
||
52 | --MaxHoehe |
||
53 | to_cat("Altitude", [{ :pos=>act_pos , :name=>"Setpoint" , :typ=>"BYTE" }] ) |
||
54 | act_pos+=1 |
||
55 | --Hoehe_P |
||
56 | to_cat("Altitude", [{ :pos=>act_pos , :name=>"Altitude P" , :typ=>"BYTE" }] ) |
||
57 | act_pos+=1 |
||
58 | --Hoehe_Verstaerkung |
||
59 | to_cat("Altitude", [{ :pos=>act_pos , :name=>"Gain" , :typ=>"BYTE" }] ) |
||
60 | act_pos+=1 |
||
61 | --Hoehe_ACC_Wirkung |
||
62 | to_cat("Altitude", [{ :pos=>act_pos , :name=>"Z-ACC" , :typ=>"BYTE" }] ) |
||
63 | act_pos+=1 |
||
64 | --Stick_P |
||
65 | to_cat("Stick", [{ :pos=>act_pos , :name=>"Nick/Roll P" , :typ=>"BYTE" }] ) |
||
66 | act_pos+=1 |
||
67 | --Stick_D |
||
68 | to_cat("Stick", [{ :pos=>act_pos , :name=>"Nick/Roll D" , :typ=>"BYTE" }] ) |
||
69 | act_pos+=1 |
||
70 | --Gier_P |
||
71 | to_cat("Stick", [{ :pos=>act_pos , :name=>"Gier P" , :typ=>"BYTE" }] ) |
||
72 | act_pos+=1 |
||
73 | --Gas_Min |
||
74 | to_cat("Other", [{ :pos=>act_pos , :name=>"Min Gas" , :typ=>"BYTE" }] ) |
||
75 | act_pos+=1 |
||
76 | --Gas_Max |
||
77 | to_cat("Other", [{ :pos=>act_pos , :name=>"Max Gas" , :typ=>"BYTE" }] ) |
||
78 | act_pos+=1 |
||
79 | --GyroAccFaktor |
||
80 | to_cat("Gyro", [{ :pos=>act_pos , :name=>"ACC/Gyro Factor" , :typ=>"BYTE" }] ) |
||
81 | act_pos+=1 |
||
82 | --KompassWirkung |
||
83 | to_cat("Other", [{ :pos=>act_pos , :name=>"Compass Effect" , :typ=>"BYTE" }] ) |
||
84 | act_pos+=1 |
||
85 | --Gyro_P |
||
86 | to_cat("Gyro", [{ :pos=>act_pos , :name=>"P-Rate" , :typ=>"BYTE" }] ) |
||
87 | act_pos+=1 |
||
88 | --Gyro_I |
||
89 | to_cat("Gyro", [{ :pos=>act_pos , :name=>"I-Rate" , :typ=>"BYTE" }] ) |
||
90 | act_pos+=1 |
||
232 | ligi | 91 | --Gyro_D |
92 | to_cat("Gyro", [{ :pos=>act_pos , :name=>"D-Rate" , :typ=>"BYTE" }] ) |
||
93 | act_pos+=1 |
||
94 | |||
206 | ligi | 95 | --UnterspannungsWarnung |
96 | to_cat("Other", [{ :pos=>act_pos , :name=>"Voltage Warning" , :typ=>"BYTE" }] ) |
||
97 | act_pos+=1 |
||
98 | --NotGas; |
||
99 | to_cat("Other", [{ :pos=>act_pos , :name=>"Distress Gas" , :typ=>"BYTE" }] ) |
||
100 | act_pos+=1 |
||
101 | --NotGasZeit |
||
102 | to_cat("Other", [{ :pos=>act_pos , :name=>"Distress Gas Time" , :typ=>"BYTE" }] ) |
||
103 | act_pos+=1 |
||
104 | --UfoAusrichtung |
||
105 | act_pos+=1 |
||
106 | --I_Faktor |
||
107 | act_pos+=1 |
||
108 | --UserParam1 |
||
109 | to_cat("User", [{ :pos=>act_pos , :name=>"Param 1" , :typ=>"BYTE" }] ) |
||
110 | act_pos+=1 |
||
111 | --UserParam2 |
||
112 | to_cat("User", [{ :pos=>act_pos , :name=>"Param 2" , :typ=>"BYTE" }] ) |
||
113 | act_pos+=1 |
||
114 | --UserParam3 |
||
115 | to_cat("User", [{ :pos=>act_pos , :name=>"Param 3" , :typ=>"BYTE" }] ) |
||
116 | act_pos+=1 |
||
117 | --UserParam4 |
||
118 | to_cat("User", [{ :pos=>act_pos , :name=>"Param 4" , :typ=>"BYTE" }] ) |
||
119 | act_pos+=1 |
||
120 | --ServoNickControl |
||
121 | to_cat("Camera", [{ :pos=>act_pos , :name=>"Servo control" , :typ=>"BYTE" }] ) |
||
122 | act_pos+=1 |
||
123 | --ServoNickComp; |
||
124 | to_cat("Camera", [{ :pos=>act_pos , :name=>"Nick compensation" , :typ=>"BYTE" }] ) |
||
125 | act_pos+=1 |
||
126 | --ServoNickMin |
||
127 | to_cat("Camera", [{ :pos=>act_pos , :name=>"Servo min" , :typ=>"BYTE" }] ) |
||
128 | act_pos+=1 |
||
129 | --ServoNickMax |
||
130 | to_cat("Camera", [{ :pos=>act_pos , :name=>"Servo max" , :typ=>"BYTE" }] ) |
||
131 | act_pos+=1 |
||
132 | --ServoNickRefresh |
||
133 | to_cat("Camera", [{ :pos=>act_pos , :name=>"Refresh rate" , :typ=>"BYTE" }] ) |
||
134 | act_pos+=1 |
||
135 | --LoopGasLimit |
||
136 | to_cat("Looping", [{ :pos=>act_pos , :name=>"Gas Limit" , :typ=>"BYTE" }] ) |
||
137 | act_pos+=1 |
||
138 | --LoopThreshold |
||
139 | to_cat("Looping", [{ :pos=>act_pos , :name=>"Threshold" , :typ=>"BYTE" }] ) |
||
140 | act_pos+=1 |
||
141 | --LoopHysterese |
||
142 | to_cat("Looping", [{ :pos=>act_pos , :name=>"Hysterese" , :typ=>"BYTE" }] ) |
||
143 | act_pos+=1 |
||
144 | --AchsKopplung1 |
||
145 | to_cat("Coupling", [{ :pos=>act_pos , :name=>"Yaw pos. feedback" , :typ=>"BYTE" }] ) |
||
146 | act_pos+=1 |
||
232 | ligi | 147 | |
148 | --AchsKopplung2 |
||
149 | to_cat("Coupling", [{ :pos=>act_pos , :name=>"Coupling2" , :typ=>"BYTE" }] ) |
||
150 | act_pos+=1 |
||
151 | |||
152 | --CouplingYawCorrection |
||
153 | to_cat("Coupling", [{ :pos=>act_pos , :name=>"Coupling YawCorrect" , :typ=>"BYTE" }] ) |
||
154 | act_pos+=1 |
||
155 | |||
156 | |||
206 | ligi | 157 | --AchsGegenKopplung1 |
158 | to_cat("Coupling", [{ :pos=>act_pos , :name=>"Yaw neg. feedback" , :typ=>"BYTE" }] ) |
||
159 | act_pos+=1 |
||
160 | --WinkelUmschlagNick |
||
161 | to_cat("Looping", [{ :pos=>act_pos , :name=>"TurnOver Nick" , :typ=>"BYTE" }] ) |
||
162 | act_pos+=1 |
||
163 | --WinkelUmschlagRoll |
||
164 | to_cat("Looping", [{ :pos=>act_pos , :name=>"TurnOver Roll" , :typ=>"BYTE" }] ) |
||
165 | act_pos+=1 |
||
166 | --GyroAccAbgleich |
||
167 | to_cat("Gyro", [{ :pos=>act_pos , :name=>"ACC/Gyro Comp" , :typ=>"BYTE" }] ) |
||
168 | act_pos+=1 |
||
169 | --Driftkomp |
||
170 | to_cat("Gyro", [{ :pos=>act_pos , :name=>"Drift-Compensation" , :typ=>"BYTE" }] ) |
||
171 | act_pos+=1 |
||
172 | --DynamicStability |
||
173 | to_cat("Gyro", [{ :pos=>act_pos , :name=>"Dynamic stability" , :typ=>"BYTE" }] ) |
||
174 | act_pos+=1 |
||
175 | --UserParam5 |
||
176 | to_cat("User", [{ :pos=>act_pos , :name=>"Param 5" , :typ=>"BYTE" }] ) |
||
177 | act_pos+=1 |
||
178 | --UserParam6 |
||
179 | to_cat("User", [{ :pos=>act_pos , :name=>"Param 6" , :typ=>"BYTE" }] ) |
||
180 | act_pos+=1 |
||
181 | --UserParam7 |
||
182 | to_cat("User", [{ :pos=>act_pos , :name=>"Param 7" , :typ=>"BYTE" }] ) |
||
183 | act_pos+=1 |
||
184 | --UserParam8 |
||
185 | to_cat("User", [{ :pos=>act_pos , :name=>"Param 8" , :typ=>"BYTE" }] ) |
||
186 | act_pos+=1 |
||
187 | --LoopConfig |
||
188 | |||
189 | to_cat("Looping", [ |
||
190 | {:pos=>act_pos*8 , :name=>"UP" , :typ=>"BITSWITCH" }, |
||
191 | {:pos=>act_pos*8+1 , :name=>"DOWN" , :typ=>"BITSWITCH" }, |
||
192 | {:pos=>act_pos*8+2 , :name=>"LEFT" , :typ=>"BITSWITCH" }, |
||
193 | {:pos=>act_pos*8+3 , :name=>"RIGHT" , :typ=>"BITSWITCH" } |
||
194 | ]) |
||
195 | act_pos+=1 |
||
196 | --ServoNickCompInvert |
||
197 | to_cat("Camera", [{ :pos=>act_pos*8 , :name=>"Invert Direction" , :typ=>"BITSWITCH" }] ) |
||
198 | act_pos+=1 |
||
199 | --J16Bitmask |
||
200 | to_cat("Output", [{ :pos=>act_pos , :name=>"J16 Bitmask" , :typ=>"BYTE" }] ) |
||
201 | act_pos+=1 |
||
202 | --J16Timing |
||
203 | to_cat("Output", [{ :pos=>act_pos , :name=>"J16 Timing" , :typ=>"BYTE" }] ) |
||
204 | act_pos+=1 |
||
205 | --J17Bitmask |
||
206 | to_cat("Output", [{ :pos=>act_pos , :name=>"J17 Bitmask" , :typ=>"BYTE" }] ) |
||
207 | act_pos+=1 |
||
208 | --J17Timing |
||
209 | to_cat("Output", [{ :pos=>act_pos , :name=>"J17 Timing" , :typ=>"BYTE" }] ) |
||
210 | act_pos+=1 |
||
211 | --NaviGpsModeControl |
||
212 | to_cat("Navi", [{ :pos=>act_pos , :name=>"Mode Control" , :typ=>"BYTE" }] ) |
||
213 | act_pos+=1 |
||
214 | --NaviGpsGain |
||
215 | to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-Gain" , :typ=>"BYTE" }] ) |
||
216 | act_pos+=1 |
||
217 | --NaviGpsP |
||
218 | to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-P" , :typ=>"BYTE" }] ) |
||
219 | act_pos+=1 |
||
220 | --NaviGpsI |
||
221 | to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-I" , :typ=>"BYTE" }] ) |
||
222 | act_pos+=1 |
||
223 | --NaviGpsD |
||
224 | to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-D" , :typ=>"BYTE" }] ) |
||
225 | act_pos+=1 |
||
226 | --NaviGpsACC |
||
227 | to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-ACC" , :typ=>"BYTE" }] ) |
||
228 | act_pos+=1 |
||
229 | --NaviGpsMinSat |
||
230 | to_cat("Navi", [{ :pos=>act_pos , :name=>"Satelite Minimum" , :typ=>"BYTE" }] ) |
||
231 | act_pos+=1 |
||
232 | --NaviStickThreshold |
||
233 | to_cat("Navi", [{ :pos=>act_pos , :name=>"Stick Threhsold" , :typ=>"BYTE" }] ) |
||
234 | act_pos+=1 |
||
235 | --ExternalControl |
||
236 | to_cat("Stick", [{ :pos=>act_pos , :name=>"External Control" , :typ=>"BYTE" }] ) |
||
237 | act_pos+=1 |
||
238 | |||
239 | |||
240 | --NaviWindCorrection |
||
241 | to_cat("Navi", [{ :pos=>act_pos , :name=>"Wind Correction" , :typ=>"BYTE" }] ) |
||
242 | act_pos+=1 |
||
243 | |||
244 | |||
245 | --NaviSpeedCompensation |
||
246 | to_cat("Navi", [{ :pos=>act_pos , :name=>"Speed Compensation" , :typ=>"BYTE" }] ) |
||
247 | act_pos+=1 |
||
248 | |||
249 | --NaviOperatingRadius |
||
250 | to_cat("Navi", [{ :pos=>act_pos , :name=>"Operating Radius" , :typ=>"BYTE" }] ) |
||
251 | act_pos+=1 |
||
252 | |||
253 | |||
254 | --BitConfig |
||
255 | |||
256 | to_cat("Looping", [ |
||
257 | {:pos=>act_pos*8 , :name=>"UP" , :typ=>"BITSWITCH" }, |
||
258 | {:pos=>act_pos*8+1 , :name=>"DOWN" , :typ=>"BITSWITCH" }, |
||
259 | {:pos=>act_pos*8+2 , :name=>"LEFT" , :typ=>"BITSWITCH" }, |
||
260 | {:pos=>act_pos*8+3 , :name=>"RIGHT" , :typ=>"BITSWITCH" } |
||
261 | ]) |
||
262 | |||
263 | to_cat("Altitude", [ |
||
264 | {:pos=>act_pos*8+4 , :name=>"3-Way switch" , :typ=>"BITSWITCH" } |
||
265 | ]) |
||
266 | |||
267 | |||
268 | act_pos+=1 |
||
269 | |||
270 | --NaviAngleLimitation |
||
271 | to_cat("Navi", [{ :pos=>act_pos , :name=>"Angle Limit" , :typ=>"BYTE" }] ) |
||
272 | act_pos+=1 |
||
273 | |||
274 | --Reserved[4] |
||
275 | act_pos+=4 |
||
276 | --Reserved[7] |
||
277 | act_pos+=7 |
||
278 | --Name[12] |
||
279 | name_pos=act_pos |
||
280 | act_pos+=12 |
||
281 | end_pos=act_pos |
||
282 | |||
232 | ligi | 283 | --NaviPH_LoginTime |
284 | to_cat("Navi", [{ :pos=>act_pos , :name=>"PH LoginTime" , :typ=>"BYTE" }] ) |
||
285 | act_pos+=1 |