Rev 255 | 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] |
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; |
258 | ligi | 121 | to_cat("CAMERA", [{ :pos=>act_pos , :function=>"SERVOCONTROL" , :typ=>"MKBYTE" }] ) |
206 | ligi | 122 | act_pos+=1 |
123 | --ServoNickComp; |
||
258 | ligi | 124 | to_cat("CAMERA", [{ :pos=>act_pos , :function=>"NICKCOMP" , :typ=>"MKBYTE" }] ) |
206 | ligi | 125 | act_pos+=1 |
233 | ligi | 126 | --ServoNickMin; |
258 | ligi | 127 | to_cat("CAMERA", [{ :pos=>act_pos , :function=>"SERVOMIN" , :typ=>"MKBYTE" }] ) |
206 | ligi | 128 | act_pos+=1 |
233 | ligi | 129 | --ServoNickMax; |
258 | ligi | 130 | to_cat("CAMERA", [{ :pos=>act_pos , :function=>"SERVOMAX" , :typ=>"MKBYTE" }] ) |
206 | ligi | 131 | act_pos+=1 |
233 | ligi | 132 | --ServoNickRefresh; |
258 | ligi | 133 | to_cat("CAMERA", [{ :pos=>act_pos , :function=>"REFRESHRATE" , :typ=>"MKBYTE" }] ) |
206 | ligi | 134 | act_pos+=1 |
233 | ligi | 135 | --LoopGasLimit; |
258 | ligi | 136 | to_cat("LOOP", [{ :pos=>act_pos , :function=>"GASLIMIT" , :typ=>"MKBYTE" }] ) |
206 | ligi | 137 | act_pos+=1 |
233 | ligi | 138 | --LoopThreshold; |
258 | ligi | 139 | to_cat("LOOP", [{ :pos=>act_pos , :function=>"THRESHOLD" , :typ=>"MKBYTE" }] ) |
206 | ligi | 140 | act_pos+=1 |
233 | ligi | 141 | --LoopHysterese; |
258 | ligi | 142 | to_cat("LOOP", [{ :pos=>act_pos , :function=>"HYSTERESE" , :typ=>"MKBYTE" }] ) |
206 | ligi | 143 | act_pos+=1 |
233 | ligi | 144 | --AchsKopplung1; |
258 | ligi | 145 | to_cat("COUPLING", [{ :pos=>act_pos , :function=>"YAWPOSFEEDBACK" , :typ=>"MKBYTE" }] ) |
206 | ligi | 146 | act_pos+=1 |
232 | ligi | 147 | |
233 | ligi | 148 | --AchsKopplung2; |
258 | ligi | 149 | to_cat("COUPLING", [{ :pos=>act_pos , :function=>"COUPLING2" , :typ=>"MKBYTE" }] ) |
232 | ligi | 150 | act_pos+=1 |
151 | |||
233 | ligi | 152 | --CouplingYawCorrection; |
258 | ligi | 153 | to_cat("COUPLING", [{ :pos=>act_pos , :function=>"COUPLINGYAWCORRECT" , :typ=>"MKBYTE" }] ) |
232 | ligi | 154 | act_pos+=1 |
155 | |||
156 | |||
233 | ligi | 157 | --AchsGegenKopplung1; |
258 | ligi | 158 | to_cat("COUPLING", [{ :pos=>act_pos , :function=>"YAWNEGFEEDBACK" , :typ=>"MKBYTE" }] ) |
206 | ligi | 159 | act_pos+=1 |
233 | ligi | 160 | --WinkelUmschlagNick; |
258 | ligi | 161 | to_cat("LOOP", [{ :pos=>act_pos , :function=>"TURNOVERNICK" , :typ=>"MKBYTE" }] ) |
206 | ligi | 162 | act_pos+=1 |
233 | ligi | 163 | --WinkelUmschlagRoll; |
258 | ligi | 164 | to_cat("LOOP", [{ :pos=>act_pos , :function=>"TURNOVERROLL" , :typ=>"MKBYTE" }] ) |
206 | ligi | 165 | act_pos+=1 |
233 | ligi | 166 | --GyroAccAbgleich; |
258 | ligi | 167 | to_cat("GYRO", [{ :pos=>act_pos , :function=>"ACCGYROCOMP" , :typ=>"MKBYTE" }] ) |
206 | ligi | 168 | act_pos+=1 |
233 | ligi | 169 | --Driftkomp; |
258 | ligi | 170 | to_cat("GYRO", [{ :pos=>act_pos , :function=>"DRIFTCOMP" , :typ=>"MKBYTE" }] ) |
206 | ligi | 171 | act_pos+=1 |
233 | ligi | 172 | --DynamicStability; |
258 | ligi | 173 | to_cat("GYRO", [{ :pos=>act_pos , :function=>"DYNAMICSTABILITY" , :typ=>"MKBYTE" }] ) |
206 | ligi | 174 | act_pos+=1 |
233 | ligi | 175 | --UserParam5; |
258 | ligi | 176 | to_cat("USERPARAMS", [{ :pos=>act_pos , :function=>"PARAM5" , :typ=>"MKBYTE" }] ) |
206 | ligi | 177 | act_pos+=1 |
233 | ligi | 178 | --UserParam6; |
258 | ligi | 179 | to_cat("USERPARAMS", [{ :pos=>act_pos , :function=>"PARAM6" , :typ=>"MKBYTE" }] ) |
206 | ligi | 180 | act_pos+=1 |
233 | ligi | 181 | --UserParam7; |
258 | ligi | 182 | to_cat("USERPARAMS", [{ :pos=>act_pos , :function=>"PARAM7" , :typ=>"MKBYTE" }] ) |
206 | ligi | 183 | act_pos+=1 |
233 | ligi | 184 | --UserParam8; |
258 | ligi | 185 | to_cat("USERPARAMS", [{ :pos=>act_pos , :function=>"PARAM8" , :typ=>"MKBYTE" }] ) |
206 | ligi | 186 | act_pos+=1 |
233 | ligi | 187 | --LoopConfig; |
206 | ligi | 188 | |
255 | ligi | 189 | to_cat("LOOP", [ |
258 | ligi | 190 | {:pos=>act_pos*8 , :function=>"UP" , :typ=>"BITSWITCH" }, |
191 | {:pos=>act_pos*8+1 , :function=>"DOWN" , :typ=>"BITSWITCH" }, |
||
192 | {:pos=>act_pos*8+2 , :function=>"LEFT" , :typ=>"BITSWITCH" }, |
||
193 | {:pos=>act_pos*8+3 , :function=>"RIGHT" , :typ=>"BITSWITCH" } |
||
206 | ligi | 194 | ]) |
195 | act_pos+=1 |
||
233 | ligi | 196 | --ServoNickCompInvert; |
258 | ligi | 197 | to_cat("CAMERA", [{ :pos=>act_pos*8 , :function=>"INVERTDIRECTION" , :typ=>"BITSWITCH" }] ) |
206 | ligi | 198 | act_pos+=1 |
233 | ligi | 199 | --J16Bitmask; |
258 | ligi | 200 | to_cat("OUTPUT", [{ :pos=>act_pos , :function=>"J16BITMASK" , :typ=>"BITMASK" }] ) |
206 | ligi | 201 | act_pos+=1 |
233 | ligi | 202 | --J16Timing; |
258 | ligi | 203 | to_cat("OUTPUT", [{ :pos=>act_pos , :function=>"J16TIMING" , :typ=>"MKBYTE" }] ) |
206 | ligi | 204 | act_pos+=1 |
233 | ligi | 205 | --J17Bitmask; |
258 | ligi | 206 | to_cat("OUTPUT", [{ :pos=>act_pos , :function=>"J17BITMASK" , :typ=>"BITMASK" }] ) |
206 | ligi | 207 | act_pos+=1 |
233 | ligi | 208 | --J17Timing; |
258 | ligi | 209 | to_cat("OUTPUT", [{ :pos=>act_pos , :function=>"J17TIMING" , :typ=>"MKBYTE" }] ) |
206 | ligi | 210 | act_pos+=1 |
233 | ligi | 211 | --NaviGpsModeControl; |
258 | ligi | 212 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"MODECONTROL" , :typ=>"MKBYTE" }] ) |
206 | ligi | 213 | act_pos+=1 |
233 | ligi | 214 | --NaviGpsGain; |
258 | ligi | 215 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSGAIN" , :typ=>"MKBYTE" }] ) |
206 | ligi | 216 | act_pos+=1 |
233 | ligi | 217 | --NaviGpsP; |
258 | ligi | 218 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSP" , :typ=>"MKBYTE" }] ) |
206 | ligi | 219 | act_pos+=1 |
233 | ligi | 220 | |
221 | --NaviGpsPLimit; |
||
258 | ligi | 222 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSPLIMIT" , :typ=>"MKBYTE" }] ) |
233 | ligi | 223 | act_pos+=1 |
224 | |||
225 | |||
226 | --NaviGpsI; |
||
258 | ligi | 227 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSI" , :typ=>"MKBYTE" }] ) |
206 | ligi | 228 | act_pos+=1 |
233 | ligi | 229 | |
230 | --NaviGpsILimit; |
||
258 | ligi | 231 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSILIMIT" , :typ=>"MKBYTE" }] ) |
233 | ligi | 232 | act_pos+=1 |
233 | --NaviGpsD; |
||
258 | ligi | 234 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSD" , :typ=>"MKBYTE" }] ) |
206 | ligi | 235 | act_pos+=1 |
233 | ligi | 236 | --NaviGpsDLimit; |
258 | ligi | 237 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSDLIMIT" , :typ=>"MKBYTE" }] ) |
233 | ligi | 238 | act_pos+=1 |
239 | --NaviGpsACC; |
||
258 | ligi | 240 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"GPSACC" , :typ=>"MKBYTE" }] ) |
206 | ligi | 241 | act_pos+=1 |
233 | ligi | 242 | --NaviGpsMinSat; |
258 | ligi | 243 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"SATMIN" , :typ=>"MKBYTE" }] ) |
206 | ligi | 244 | act_pos+=1 |
233 | ligi | 245 | --NaviStickThreshold; |
258 | ligi | 246 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"STICKTHRESHOLD" , :typ=>"MKBYTE" }] ) |
206 | ligi | 247 | act_pos+=1 |
233 | ligi | 248 | --ExternalControl; |
258 | ligi | 249 | to_cat("STICK", [{ :pos=>act_pos , :function=>"EXTERNCONTROL" , :typ=>"MKBYTE" }] ) |
206 | ligi | 250 | act_pos+=1 |
251 | |||
252 | |||
233 | ligi | 253 | --NaviWindCorrection; |
258 | ligi | 254 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"WINDCORRECT" , :typ=>"MKBYTE" }] ) |
206 | ligi | 255 | act_pos+=1 |
256 | |||
257 | |||
233 | ligi | 258 | --NaviSpeedCompensation; |
258 | ligi | 259 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"SPEEDCOMP" , :typ=>"MKBYTE" }] ) |
206 | ligi | 260 | act_pos+=1 |
261 | |||
233 | ligi | 262 | --NaviOperatingRadius; |
258 | ligi | 263 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"OPERATIONRADIUS" , :typ=>"MKBYTE" }] ) |
206 | ligi | 264 | act_pos+=1 |
265 | |||
266 | |||
233 | ligi | 267 | --BitConfig; |
206 | ligi | 268 | |
255 | ligi | 269 | to_cat("LOOP", [ |
258 | ligi | 270 | {:pos=>act_pos*8 , :function=>"UP" , :typ=>"BITSWITCH" }, |
271 | {:pos=>act_pos*8+1 , :function=>"DOWN" , :typ=>"BITSWITCH" }, |
||
272 | {:pos=>act_pos*8+2 , :function=>"LEFT" , :typ=>"BITSWITCH" }, |
||
273 | {:pos=>act_pos*8+3 , :function=>"RIGHT" , :typ=>"BITSWITCH" } |
||
206 | ligi | 274 | ]) |
275 | |||
255 | ligi | 276 | to_cat("ALTITUDE", [ |
258 | ligi | 277 | {:pos=>act_pos*8+4 , :function=>"SWITCH3" , :typ=>"BITSWITCH" } |
206 | ligi | 278 | ]) |
279 | |||
280 | |||
281 | act_pos+=1 |
||
282 | |||
233 | ligi | 283 | --NaviAngleLimitation; |
258 | ligi | 284 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"ANGLELIMIT" , :typ=>"MKBYTE" }] ) |
206 | ligi | 285 | act_pos+=1 |
286 | |||
287 | --Reserved[4] |
||
288 | act_pos+=4 |
||
289 | --Reserved[7] |
||
290 | act_pos+=7 |
||
291 | --Name[12] |
||
292 | name_pos=act_pos |
||
293 | act_pos+=12 |
||
294 | end_pos=act_pos |
||
295 | |||
233 | ligi | 296 | --NaviPH_LoginTime; |
258 | ligi | 297 | to_cat("NAVI", [{ :pos=>act_pos , :function=>"PHLOGINTIME" , :typ=>"MKBYTE" }] ) |
233 | ligi | 298 | act_pos+=1 |
299 |