Subversion Repositories Projects

Rev

Rev 258 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
206 ligi 1
--Kanalbelegung[8]
255 ligi 2
 to_cat("CHANNELS", [
206 ligi 3
 
258 ligi 4
	{:pos=>act_pos , :function=>"NICK" , :typ=>"STICK" },
5
	{:pos=>act_pos+1 , :function=>"ROLL" , :typ=>"STICK" },
6
	{:pos=>act_pos+2 , :function=>"ACCELERATE" , :typ=>"STICK" },
7
	{:pos=>act_pos+3 , :function=>"GIER" , :typ=>"STICK" },
8
	{:pos=>act_pos+4 , :function=>"POTI1" , :typ=>"STICK" },
9
	{:pos=>act_pos+5 , :function=>"POTI2" , :typ=>"STICK" },
10
	{:pos=>act_pos+6 , :function=>"POTI3" , :typ=>"STICK" },
11
	{:pos=>act_pos+7 , :function=>"POTI4" , :typ=>"STICK" },
206 ligi 12
	])
13
 
14
 act_pos+=8
15
 
16
--GlobalConfigOld;
17
 
255 ligi 18
 to_cat("CONFIGURATION", [
258 ligi 19
	 {:pos=>act_pos*8 , :function=>"ALTITUDECONTROL" , :typ=>"BITSWITCH" },
20
	 {:pos=>act_pos*8+1 , :function=>"SWITCHFORSETPOINT" , :typ=>"BITSWITCH" },
21
	 {:pos=>act_pos*8+2 , :function=>"HEADINGHOLD" , :typ=>"BITSWITCH" },
22
	 {:pos=>act_pos*8+3 , :function=>"COMPASACTIVE" , :typ=>"BITSWITCH" },
23
	 {:pos=>act_pos*8+5 , :function=>"GPS" , :typ=>"BITSWITCH" },
206 ligi 24
 
25
	])
26
 
27
 
28
 act_pos+=1
29
 
30
--GlobalConfig;
31
 
255 ligi 32
 to_cat("CONFIGURATION", [
258 ligi 33
	 {:pos=>act_pos*8 , :function=>"ALTITUDECONTROL" , :typ=>"BITSWITCH" },
34
	 {:pos=>act_pos*8+1 , :function=>"SWITCHFORSETPOINT" , :typ=>"BITSWITCH" },
35
	 {:pos=>act_pos*8+2 , :function=>"HEADINGHOLD" , :typ=>"BITSWITCH" },
36
	 {:pos=>act_pos*8+3 , :function=>"COMPASACTIVE" , :typ=>"BITSWITCH" },
37
	 {:pos=>act_pos*8+4 , :function=>"COMPASFIX" , :typ=>"BITSWITCH" },
38
	 {:pos=>act_pos*8+5 , :function=>"GPS" , :typ=>"BITSWITCH" },
39
	 {:pos=>act_pos*8+6 , :function=>"COUPLING" , :typ=>"BITSWITCH" },
40
	 {:pos=>act_pos*8+7 , :function=>"YAWRATELIMITER" , :typ=>"BITSWITCH" }
206 ligi 41
	])
42
 
43
 
44
 act_pos+=1
45
 
233 ligi 46
--Hoehe_MinGas;
258 ligi 47
 to_cat("ALTITUDE", [{ :pos=>act_pos , :function=>"MINACCELERATE" , :typ=>"MKBYTE" }] )
206 ligi 48
 act_pos+=1
233 ligi 49
--Luftdruck_D;
258 ligi 50
 to_cat("ALTITUDE", [{ :pos=>act_pos , :function=>"BAROD" , :typ=>"MKBYTE" }] )
206 ligi 51
 act_pos+=1
233 ligi 52
--MaxHoehe;
258 ligi 53
  to_cat("ALTITUDE", [{ :pos=>act_pos , :function=>"SETPOINT" , :typ=>"MKBYTE" }] )
206 ligi 54
 act_pos+=1
233 ligi 55
--Hoehe_P;
258 ligi 56
  to_cat("ALTITUDE", [{ :pos=>act_pos , :function=>"ALTITUDEP" , :typ=>"MKBYTE" }] )
206 ligi 57
 act_pos+=1
233 ligi 58
--Hoehe_Verstaerkung;
258 ligi 59
  to_cat("ALTITUDE", [{ :pos=>act_pos , :function=>"GAIN" , :typ=>"MKBYTE" }] )
206 ligi 60
 act_pos+=1
233 ligi 61
--Hoehe_ACC_Wirkung;
258 ligi 62
  to_cat("ALTITUDE", [{ :pos=>act_pos , :function=>"ZACC" , :typ=>"MKBYTE" }] )
206 ligi 63
 act_pos+=1
233 ligi 64
--Stick_P;
258 ligi 65
  to_cat("STICK", [{ :pos=>act_pos , :function=>"NICKROLLP" , :typ=>"MKBYTE" }] )
206 ligi 66
 act_pos+=1
233 ligi 67
--Stick_D;
258 ligi 68
  to_cat("STICK", [{ :pos=>act_pos , :function=>"NICKROLLD" , :typ=>"MKBYTE" }] )
206 ligi 69
 act_pos+=1
233 ligi 70
--Gier_P;
258 ligi 71
  to_cat("STICK", [{ :pos=>act_pos , :function=>"GIERP" , :typ=>"MKBYTE" }] )
206 ligi 72
 act_pos+=1
233 ligi 73
--Gas_Min;
258 ligi 74
  to_cat("OTHER", [{ :pos=>act_pos , :function=>"MINGAS" , :typ=>"MKBYTE" }] )
206 ligi 75
 act_pos+=1
233 ligi 76
--Gas_Max;
258 ligi 77
  to_cat("OTHER", [{ :pos=>act_pos , :function=>"MAXGAS" , :typ=>"MKBYTE" }] )
206 ligi 78
 act_pos+=1
233 ligi 79
--GyroAccFaktor;
258 ligi 80
   to_cat("GYRO", [{ :pos=>act_pos , :function=>"ACCGYROFACTOR" , :typ=>"MKBYTE" }] )
206 ligi 81
 act_pos+=1
233 ligi 82
--KompassWirkung;
258 ligi 83
  to_cat("OTHER", [{ :pos=>act_pos , :function=>"COMPASEFFECT" , :typ=>"MKBYTE" }] )
206 ligi 84
 act_pos+=1
233 ligi 85
--Gyro_P;
258 ligi 86
   to_cat("GYRO", [{ :pos=>act_pos , :function=>"PRATE" , :typ=>"MKBYTE" }] )
206 ligi 87
 act_pos+=1
233 ligi 88
--Gyro_I;
258 ligi 89
   to_cat("GYRO", [{ :pos=>act_pos , :function=>"IRATE" , :typ=>"MKBYTE" }] )
206 ligi 90
 act_pos+=1
233 ligi 91
--Gyro_D;
258 ligi 92
   to_cat("GYRO", [{ :pos=>act_pos , :function=>"DRATE" , :typ=>"MKBYTE" }] )
232 ligi 93
 act_pos+=1
94
 
233 ligi 95
--UnterspannungsWarnung;
258 ligi 96
  to_cat("OTHER", [{ :pos=>act_pos , :function=>"VOLTAGEWARNING" , :typ=>"MKBYTE" }] )
206 ligi 97
 act_pos+=1
98
--NotGas;
258 ligi 99
  to_cat("OTHER", [{ :pos=>act_pos , :function=>"DISTRESSGAS" , :typ=>"MKBYTE" }] )
206 ligi 100
 act_pos+=1
233 ligi 101
--NotGasZeit;
258 ligi 102
  to_cat("OTHER", [{ :pos=>act_pos , :function=>"DISTRESSGASTIME" , :typ=>"MKBYTE" }] )
206 ligi 103
 act_pos+=1
233 ligi 104
--UfoAusrichtung;
206 ligi 105
 act_pos+=1
233 ligi 106
--I_Faktor;
206 ligi 107
 act_pos+=1
233 ligi 108
--UserParam1;
258 ligi 109
  to_cat("USERPARAMS", [{ :pos=>act_pos , :function=>"PARAM1" , :typ=>"MKBYTE" }] )
206 ligi 110
  act_pos+=1
233 ligi 111
--UserParam2;
258 ligi 112
  to_cat("USERPARAMS", [{ :pos=>act_pos , :function=>"PARAM2" , :typ=>"MKBYTE" }] )
206 ligi 113
 act_pos+=1
233 ligi 114
--UserParam3;
258 ligi 115
  to_cat("USERPARAMS", [{ :pos=>act_pos , :function=>"PARAM3" , :typ=>"MKBYTE" }] )
206 ligi 116
 act_pos+=1
233 ligi 117
--UserParam4;
258 ligi 118
  to_cat("USERPARAMS", [{ :pos=>act_pos , :function=>"PARAM4" , :typ=>"MKBYTE" }] )
206 ligi 119
 act_pos+=1
233 ligi 120
--ServoNickControl;
492 ligi 121
  to_cat("CAMERA", [{ :pos=>act_pos , :function=>"SERVONICKCONTROL" , :typ=>"MKBYTE" }] )
206 ligi 122
  act_pos+=1
492 ligi 123
 
124
--ServoRollControl;
125
  to_cat("CAMERA", [{ :pos=>act_pos , :function=>"SERVOROLLCONTROL" , :typ=>"MKBYTE" }] )
126
  act_pos+=1
127
 
206 ligi 128
--ServoNickComp;
258 ligi 129
 to_cat("CAMERA", [{ :pos=>act_pos , :function=>"NICKCOMP" , :typ=>"MKBYTE" }] )
206 ligi 130
 act_pos+=1
492 ligi 131
 
132
--ServoRollComp;
133
 to_cat("CAMERA", [{ :pos=>act_pos , :function=>"ROLLCOMP" , :typ=>"MKBYTE" }] )
134
 act_pos+=1
233 ligi 135
--ServoNickMin;
492 ligi 136
 to_cat("CAMERA", [{ :pos=>act_pos , :function=>"SERVONICKMIN" , :typ=>"MKBYTE" }] )
206 ligi 137
 act_pos+=1
233 ligi 138
--ServoNickMax;
492 ligi 139
 to_cat("CAMERA", [{ :pos=>act_pos , :function=>"SERVONICKMAX" , :typ=>"MKBYTE" }] )
206 ligi 140
 act_pos+=1
492 ligi 141
 
142
--ServoRollMin;
143
 to_cat("CAMERA", [{ :pos=>act_pos , :function=>"SERVOROLLMIN" , :typ=>"MKBYTE" }] )
144
 act_pos+=1
145
--ServoRollMax;
146
 to_cat("CAMERA", [{ :pos=>act_pos , :function=>"SERVOROLLMAX" , :typ=>"MKBYTE" }] )
147
 act_pos+=1
148
 
233 ligi 149
--ServoNickRefresh;
258 ligi 150
 to_cat("CAMERA", [{ :pos=>act_pos , :function=>"REFRESHRATE" , :typ=>"MKBYTE" }] )
206 ligi 151
 act_pos+=1
233 ligi 152
--LoopGasLimit;
258 ligi 153
  to_cat("LOOP", [{ :pos=>act_pos , :function=>"GASLIMIT" , :typ=>"MKBYTE" }] )
206 ligi 154
 act_pos+=1
233 ligi 155
--LoopThreshold;
258 ligi 156
  to_cat("LOOP", [{ :pos=>act_pos , :function=>"THRESHOLD" , :typ=>"MKBYTE" }] )
206 ligi 157
 act_pos+=1
233 ligi 158
--LoopHysterese;
258 ligi 159
  to_cat("LOOP", [{ :pos=>act_pos , :function=>"HYSTERESE" , :typ=>"MKBYTE" }] )
206 ligi 160
 act_pos+=1
233 ligi 161
--AchsKopplung1;
258 ligi 162
   to_cat("COUPLING", [{ :pos=>act_pos , :function=>"YAWPOSFEEDBACK" , :typ=>"MKBYTE" }] )
206 ligi 163
 act_pos+=1
232 ligi 164
 
233 ligi 165
--AchsKopplung2;
258 ligi 166
   to_cat("COUPLING", [{ :pos=>act_pos , :function=>"COUPLING2" , :typ=>"MKBYTE" }] )
232 ligi 167
 act_pos+=1
168
 
233 ligi 169
--CouplingYawCorrection;
258 ligi 170
   to_cat("COUPLING", [{ :pos=>act_pos , :function=>"COUPLINGYAWCORRECT" , :typ=>"MKBYTE" }] )
232 ligi 171
 act_pos+=1
172
 
173
 
233 ligi 174
--AchsGegenKopplung1;
258 ligi 175
   to_cat("COUPLING", [{ :pos=>act_pos , :function=>"YAWNEGFEEDBACK" , :typ=>"MKBYTE" }] )
206 ligi 176
 act_pos+=1
233 ligi 177
--WinkelUmschlagNick;
258 ligi 178
  to_cat("LOOP", [{ :pos=>act_pos , :function=>"TURNOVERNICK" , :typ=>"MKBYTE" }] )
206 ligi 179
 act_pos+=1
233 ligi 180
--WinkelUmschlagRoll;
258 ligi 181
  to_cat("LOOP", [{ :pos=>act_pos , :function=>"TURNOVERROLL" , :typ=>"MKBYTE" }] )
206 ligi 182
 act_pos+=1
233 ligi 183
--GyroAccAbgleich;
258 ligi 184
   to_cat("GYRO", [{ :pos=>act_pos , :function=>"ACCGYROCOMP" , :typ=>"MKBYTE" }] )
206 ligi 185
 act_pos+=1
233 ligi 186
--Driftkomp;
258 ligi 187
   to_cat("GYRO", [{ :pos=>act_pos , :function=>"DRIFTCOMP" , :typ=>"MKBYTE" }] )
206 ligi 188
 act_pos+=1
233 ligi 189
--DynamicStability;
258 ligi 190
   to_cat("GYRO", [{ :pos=>act_pos , :function=>"DYNAMICSTABILITY" , :typ=>"MKBYTE" }] )
206 ligi 191
 act_pos+=1
233 ligi 192
--UserParam5;
258 ligi 193
  to_cat("USERPARAMS", [{ :pos=>act_pos , :function=>"PARAM5" , :typ=>"MKBYTE" }] )
206 ligi 194
 act_pos+=1
233 ligi 195
--UserParam6;
258 ligi 196
  to_cat("USERPARAMS", [{ :pos=>act_pos , :function=>"PARAM6" , :typ=>"MKBYTE" }] )
206 ligi 197
 act_pos+=1
233 ligi 198
--UserParam7;
258 ligi 199
  to_cat("USERPARAMS", [{ :pos=>act_pos , :function=>"PARAM7" , :typ=>"MKBYTE" }] )
206 ligi 200
 act_pos+=1
233 ligi 201
--UserParam8;
258 ligi 202
  to_cat("USERPARAMS", [{ :pos=>act_pos , :function=>"PARAM8" , :typ=>"MKBYTE" }] )
206 ligi 203
 act_pos+=1
233 ligi 204
--LoopConfig;
206 ligi 205
 
255 ligi 206
 to_cat("LOOP", [
258 ligi 207
	 {:pos=>act_pos*8 , :function=>"UP" , :typ=>"BITSWITCH" },
208
	 {:pos=>act_pos*8+1 , :function=>"DOWN" , :typ=>"BITSWITCH" },
209
	 {:pos=>act_pos*8+2 , :function=>"LEFT" , :typ=>"BITSWITCH" },
210
	 {:pos=>act_pos*8+3 , :function=>"RIGHT" , :typ=>"BITSWITCH" }
206 ligi 211
	])
212
 act_pos+=1
233 ligi 213
--ServoNickCompInvert;
492 ligi 214
 to_cat("CAMERA", [{ :pos=>act_pos*8 , :function=>"INVERTDIRECTIONNICK" , :typ=>"BITSWITCH" }] )
206 ligi 215
 act_pos+=1
492 ligi 216
 
217
--ServoCompInvert;
218
 to_cat("CAMERA", [{ :pos=>act_pos*8+1 , :function=>"INVERTDIRECTIONROLL" , :typ=>"BITSWITCH" },{ :pos=>act_pos*8 , :function=>"INVERTDIRECTIONNICK" , :typ=>"BITSWITCH" }] )
219
 act_pos+=1
220
 
221
 
222
 
223
 
233 ligi 224
--J16Bitmask;
258 ligi 225
 to_cat("OUTPUT", [{ :pos=>act_pos , :function=>"J16BITMASK" , :typ=>"BITMASK" }] )
206 ligi 226
 act_pos+=1
233 ligi 227
--J16Timing;
258 ligi 228
 to_cat("OUTPUT", [{ :pos=>act_pos , :function=>"J16TIMING" , :typ=>"MKBYTE" }] )
206 ligi 229
 act_pos+=1
233 ligi 230
--J17Bitmask;
258 ligi 231
 to_cat("OUTPUT", [{ :pos=>act_pos , :function=>"J17BITMASK" , :typ=>"BITMASK" }] )
206 ligi 232
 act_pos+=1
233 ligi 233
--J17Timing;
258 ligi 234
 to_cat("OUTPUT", [{ :pos=>act_pos , :function=>"J17TIMING" , :typ=>"MKBYTE" }] )
206 ligi 235
 act_pos+=1
233 ligi 236
--NaviGpsModeControl;
258 ligi 237
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"MODECONTROL" , :typ=>"MKBYTE" }] )
206 ligi 238
 act_pos+=1
233 ligi 239
--NaviGpsGain;
258 ligi 240
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSGAIN" , :typ=>"MKBYTE" }] )
206 ligi 241
 act_pos+=1
233 ligi 242
--NaviGpsP;
258 ligi 243
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSP" , :typ=>"MKBYTE" }] )
206 ligi 244
 act_pos+=1
233 ligi 245
 
246
--NaviGpsPLimit;
258 ligi 247
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSPLIMIT" , :typ=>"MKBYTE" }] )
233 ligi 248
 act_pos+=1
249
 
250
 
251
--NaviGpsI;
258 ligi 252
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSI" , :typ=>"MKBYTE" }] )
206 ligi 253
 act_pos+=1
233 ligi 254
 
255
--NaviGpsILimit;
258 ligi 256
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSILIMIT" , :typ=>"MKBYTE" }] )
233 ligi 257
 act_pos+=1
258
--NaviGpsD;
258 ligi 259
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSD" , :typ=>"MKBYTE" }] )
206 ligi 260
 act_pos+=1
233 ligi 261
--NaviGpsDLimit;
258 ligi 262
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSDLIMIT" , :typ=>"MKBYTE" }] )
233 ligi 263
 act_pos+=1
264
--NaviGpsACC;
258 ligi 265
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSACC" , :typ=>"MKBYTE" }] )
206 ligi 266
 act_pos+=1
233 ligi 267
--NaviGpsMinSat;
258 ligi 268
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"SATMIN" , :typ=>"MKBYTE" }] )
206 ligi 269
 act_pos+=1
233 ligi 270
--NaviStickThreshold;
258 ligi 271
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"STICKTHRESHOLD" , :typ=>"MKBYTE" }] )
206 ligi 272
 act_pos+=1
233 ligi 273
--ExternalControl;
258 ligi 274
 to_cat("STICK", [{ :pos=>act_pos , :function=>"EXTERNCONTROL" , :typ=>"MKBYTE" }] )
206 ligi 275
 act_pos+=1
276
 
277
 
233 ligi 278
--NaviWindCorrection;
258 ligi 279
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"WINDCORRECT" , :typ=>"MKBYTE" }] )
206 ligi 280
 act_pos+=1
281
 
282
 
233 ligi 283
--NaviSpeedCompensation;
258 ligi 284
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"SPEEDCOMP" , :typ=>"MKBYTE" }] )
206 ligi 285
 act_pos+=1
286
 
233 ligi 287
--NaviOperatingRadius;
258 ligi 288
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"OPERATIONRADIUS" , :typ=>"MKBYTE" }] )
206 ligi 289
 act_pos+=1
290
 
291
 
233 ligi 292
--BitConfig;
206 ligi 293
 
255 ligi 294
 to_cat("LOOP", [
258 ligi 295
	 {:pos=>act_pos*8 , :function=>"UP" , :typ=>"BITSWITCH" },
296
	 {:pos=>act_pos*8+1 , :function=>"DOWN" , :typ=>"BITSWITCH" },
297
	 {:pos=>act_pos*8+2 , :function=>"LEFT" , :typ=>"BITSWITCH" },
298
	 {:pos=>act_pos*8+3 , :function=>"RIGHT" , :typ=>"BITSWITCH" }
206 ligi 299
	])
300
 
255 ligi 301
 to_cat("ALTITUDE", [
258 ligi 302
	 {:pos=>act_pos*8+4 , :function=>"SWITCH3" , :typ=>"BITSWITCH" }
206 ligi 303
	])
304
 
305
 
306
 act_pos+=1
307
 
233 ligi 308
--NaviAngleLimitation;
258 ligi 309
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"ANGLELIMIT" , :typ=>"MKBYTE" }] )
206 ligi 310
 act_pos+=1
311
 
312
--Reserved[4]
313
 act_pos+=4
314
--Reserved[7]
315
 act_pos+=7
316
--Name[12]
317
 name_pos=act_pos
318
 act_pos+=12
319
 end_pos=act_pos
320
 
233 ligi 321
--NaviPH_LoginTime;
258 ligi 322
 to_cat("NAVI", [{ :pos=>act_pos , :function=>"PHLOGINTIME" , :typ=>"MKBYTE" }] )
233 ligi 323
 act_pos+=1
324