Subversion Repositories Projects

Rev

Rev 60 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
60 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
 
123 ligi 14
 act_pos+=8
60 ligi 15
 
123 ligi 16
--GlobalConfigOld;
17
 
60 ligi 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" },
123 ligi 22
	 {:pos=>act_pos*8+3 , :name=>"Compas Active" , :typ=>"BITSWITCH" },
23
	 {:pos=>act_pos*8+5 , :name=>"GPS" , :typ=>"BITSWITCH" },
24
 
60 ligi 25
	])
26
 
27
 
28
 act_pos+=1
29
 
123 ligi 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
 
60 ligi 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
91
--UnterspannungsWarnung
92
  to_cat("Other", [{ :pos=>act_pos , :name=>"Voltage Warning" , :typ=>"BYTE" }] )
93
 act_pos+=1
94
--NotGas;
95
  to_cat("Other", [{ :pos=>act_pos , :name=>"Distress Gas" , :typ=>"BYTE" }] )
96
 act_pos+=1
97
--NotGasZeit
98
  to_cat("Other", [{ :pos=>act_pos , :name=>"Distress Gas Time" , :typ=>"BYTE" }] )
99
 act_pos+=1
100
--UfoAusrichtung
101
 act_pos+=1
102
--I_Faktor
103
 act_pos+=1
104
--UserParam1
105
  to_cat("User", [{ :pos=>act_pos , :name=>"Param 1" , :typ=>"BYTE" }] )
106
  act_pos+=1
107
--UserParam2
108
  to_cat("User", [{ :pos=>act_pos , :name=>"Param 2" , :typ=>"BYTE" }] )
109
 act_pos+=1
110
--UserParam3
111
  to_cat("User", [{ :pos=>act_pos , :name=>"Param 3" , :typ=>"BYTE" }] )
112
 act_pos+=1
113
--UserParam4
114
  to_cat("User", [{ :pos=>act_pos , :name=>"Param 4" , :typ=>"BYTE" }] )
115
 act_pos+=1
116
--ServoNickControl
117
  to_cat("Camera", [{ :pos=>act_pos , :name=>"Servo control" , :typ=>"BYTE" }] )
118
  act_pos+=1
119
--ServoNickComp;
120
 to_cat("Camera", [{ :pos=>act_pos , :name=>"Nick compensation" , :typ=>"BYTE" }] )
121
 act_pos+=1
122
--ServoNickMin
123
 to_cat("Camera", [{ :pos=>act_pos , :name=>"Servo min" , :typ=>"BYTE" }] )
124
 act_pos+=1
125
--ServoNickMax
126
 to_cat("Camera", [{ :pos=>act_pos , :name=>"Servo max" , :typ=>"BYTE" }] )
127
 act_pos+=1
128
--ServoNickRefresh
129
 to_cat("Camera", [{ :pos=>act_pos , :name=>"Refresh rate" , :typ=>"BYTE" }] )
130
 act_pos+=1
131
--LoopGasLimit
132
  to_cat("Looping", [{ :pos=>act_pos , :name=>"Gas Limit" , :typ=>"BYTE" }] )
133
 act_pos+=1
134
--LoopThreshold
135
  to_cat("Looping", [{ :pos=>act_pos , :name=>"Threshold" , :typ=>"BYTE" }] )
136
 act_pos+=1
137
--LoopHysterese
138
  to_cat("Looping", [{ :pos=>act_pos , :name=>"Hysterese" , :typ=>"BYTE" }] )
139
 act_pos+=1
140
--AchsKopplung1
141
   to_cat("Coupling", [{ :pos=>act_pos , :name=>"Yaw pos. feedback" , :typ=>"BYTE" }] )
142
 act_pos+=1
143
--AchsGegenKopplung1
144
   to_cat("Coupling", [{ :pos=>act_pos , :name=>"Yaw neg. feedback" , :typ=>"BYTE" }] )
145
 act_pos+=1
146
--WinkelUmschlagNick
147
  to_cat("Looping", [{ :pos=>act_pos , :name=>"TurnOver Nick" , :typ=>"BYTE" }] )
148
 act_pos+=1
149
--WinkelUmschlagRoll
150
  to_cat("Looping", [{ :pos=>act_pos , :name=>"TurnOver Roll" , :typ=>"BYTE" }] )
151
 act_pos+=1
152
--GyroAccAbgleich
153
   to_cat("Gyro", [{ :pos=>act_pos , :name=>"ACC/Gyro Comp" , :typ=>"BYTE" }] )
154
 act_pos+=1
155
--Driftkomp
156
   to_cat("Gyro", [{ :pos=>act_pos , :name=>"Drift-Compensation" , :typ=>"BYTE" }] )
157
 act_pos+=1
158
--DynamicStability
159
   to_cat("Gyro", [{ :pos=>act_pos , :name=>"Dynamic stability" , :typ=>"BYTE" }] )
160
 act_pos+=1
161
--UserParam5
162
  to_cat("User", [{ :pos=>act_pos , :name=>"Param 5" , :typ=>"BYTE" }] )
163
 act_pos+=1
164
--UserParam6
165
  to_cat("User", [{ :pos=>act_pos , :name=>"Param 6" , :typ=>"BYTE" }] )
166
 act_pos+=1
167
--UserParam7
168
  to_cat("User", [{ :pos=>act_pos , :name=>"Param 7" , :typ=>"BYTE" }] )
169
 act_pos+=1
170
--UserParam8
171
  to_cat("User", [{ :pos=>act_pos , :name=>"Param 8" , :typ=>"BYTE" }] )
172
 act_pos+=1
173
--LoopConfig
174
 
175
 to_cat("Looping", [
176
	 {:pos=>act_pos*8 , :name=>"UP" , :typ=>"BITSWITCH" },
177
	 {:pos=>act_pos*8+1 , :name=>"DOWN" , :typ=>"BITSWITCH" },
178
	 {:pos=>act_pos*8+2 , :name=>"LEFT" , :typ=>"BITSWITCH" },
179
	 {:pos=>act_pos*8+3 , :name=>"RIGHT" , :typ=>"BITSWITCH" }
180
	])
181
 act_pos+=1
182
--ServoNickCompInvert
183
 to_cat("Camera", [{ :pos=>act_pos*8 , :name=>"Invert Direction" , :typ=>"BITSWITCH" }] )
184
 act_pos+=1
123 ligi 185
--J16Bitmask
186
 to_cat("Output", [{ :pos=>act_pos , :name=>"J16 Bitmask" , :typ=>"BYTE" }] )
187
 act_pos+=1
188
--J16Timing
189
 to_cat("Output", [{ :pos=>act_pos , :name=>"J16 Timing" , :typ=>"BYTE" }] )
190
 act_pos+=1
191
--J17Bitmask
192
 to_cat("Output", [{ :pos=>act_pos , :name=>"J17 Bitmask" , :typ=>"BYTE" }] )
193
 act_pos+=1
194
--J17Timing
195
 to_cat("Output", [{ :pos=>act_pos , :name=>"J17 Timing" , :typ=>"BYTE" }] )
196
 act_pos+=1
197
--NaviGpsModeControl
198
 to_cat("Navi", [{ :pos=>act_pos , :name=>"Mode Control" , :typ=>"BYTE" }] )
199
 act_pos+=1
200
--NaviGpsGain
201
 to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-Gain" , :typ=>"BYTE" }] )
202
 act_pos+=1
203
--NaviGpsP
204
 to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-P" , :typ=>"BYTE" }] )
205
 act_pos+=1
206
--NaviGpsI
207
 to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-I" , :typ=>"BYTE" }] )
208
 act_pos+=1
209
--NaviGpsD
210
 to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-D" , :typ=>"BYTE" }] )
211
 act_pos+=1
212
--NaviGpsACC
213
 to_cat("Navi", [{ :pos=>act_pos , :name=>"GPS-ACC" , :typ=>"BYTE" }] )
214
 act_pos+=1
215
--NaviGpsMinSat
216
 to_cat("Navi", [{ :pos=>act_pos , :name=>"Satelite Minimum" , :typ=>"BYTE" }] )
217
 act_pos+=1
218
--NaviStickThreshold
219
 to_cat("Navi", [{ :pos=>act_pos , :name=>"Stick Threhsold" , :typ=>"BYTE" }] )
220
 act_pos+=1
221
--ExternalControl
222
 to_cat("Stick", [{ :pos=>act_pos , :name=>"External Control" , :typ=>"BYTE" }] )
223
 act_pos+=1
224
 
225
 
60 ligi 226
--Reserved[4]
227
 act_pos+=4
228
--Reserved[7]
229
 act_pos+=7
230
--Name[12]
231
 name_pos=act_pos
232
 act_pos+=12
233
 end_pos=act_pos
234