Subversion Repositories Projects

Rev

Rev 246 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 246 Rev 279
Line 17... Line 17...
17
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
17
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
18
 ***************************************************************************/
18
 ***************************************************************************/
19
#ifndef PARAMETER_POSITIONS_H
19
#ifndef PARAMETER_POSITIONS_H
20
#define PARAMETER_POSITIONS_H
20
#define PARAMETER_POSITIONS_H
Line 21... Line -...
21
 
-
 
22
#ifdef _BETA_
21
 
23
// Positionen der Navidaten im OSD-Datensatz
22
// Positionen der Navidaten im OSD-Datensatz
24
////////////////////////////////////////////
23
////////////////////////////////////////////
25
static const int N_CUR_LONGITUDE    = 0;
24
static const int N_CUR_LONGITUDE    = 0;
26
static const int N_CUR_LATITUDE     = 4;
25
static const int N_CUR_LATITUDE     = 4;
Line 150... Line 149...
150
static const int P_EXTERNAL         = 74;
149
static const int P_EXTERNAL         = 74;
151
static const int P_LOOP_CONFIG      = 75;
150
static const int P_LOOP_CONFIG      = 75;
152
static const int P_SERVO_NICK_COMPI = 76;
151
static const int P_SERVO_NICK_COMPI = 76;
153
static const int P_RESERVED         = 77;
152
static const int P_RESERVED         = 77;
154
static const int P_NAME             = 81;
153
static const int P_NAME             = 81;
155
#else
-
 
156
// Positionen der Navidaten im OSD-Datensatz
-
 
157
////////////////////////////////////////////
-
 
158
static const int N_CUR_LONGITUDE    = 0;
-
 
159
static const int N_CUR_LATITUDE     = 4;
-
 
160
static const int N_CUR_ALTITUDE     = 8;
-
 
161
static const int N_CUR_STATUS       = 12;
-
 
162
 
-
 
163
static const int N_TAR_LONGITUDE    = 16;
-
 
164
static const int N_TAR_LATITUDE     = 20;
-
 
165
static const int N_TAR_ALTITUDE     = 24;
-
 
166
static const int N_TAR_STATUS       = 28;
-
 
167
static const int N_TAR_DISTANCE     = 32;
-
 
168
static const int N_TAR_ANGLE        = 34;
-
 
169
 
-
 
170
static const int N_HOME_LONGITUDE   = 36;
-
 
171
static const int N_HOME_LATITUDE    = 40;
-
 
172
static const int N_HOME_ALTITUDE    = 44;
-
 
173
static const int N_HOME_STATUS      = 48;
-
 
174
static const int N_HOME_DISTANCE    = 52;
-
 
175
static const int N_HOME_ANGLE       = 54;
-
 
176
 
-
 
177
static const int N_WP_INDEX         = 56;
-
 
178
static const int N_WP_NUMBER        = 57;
-
 
179
 
-
 
180
static const int N_SATS_IN_USER     = 58;
-
 
181
static const int N_ALTIMETER        = 59;
-
 
182
static const int N_VARIOMETER       = 61;
-
 
183
static const int N_FLYING_TIME      = 63;
-
 
184
static const int N_UBAT             = 65;
-
 
185
static const int N_GROUND_SPEED     = 66;
-
 
186
static const int N_HEADING          = 68;
-
 
187
static const int N_COMAPSS_HEADING  = 70;
-
 
188
static const int N_ANGLE_NICK       = 72;
-
 
189
static const int N_ANGLE_ROLL       = 73;
-
 
190
static const int N_RC_QUALITY       = 74;
-
 
191
static const int N_MK_FLAGS         = 75;
-
 
192
static const int N_NC_FLAGS         = 76;
-
 
193
static const int N_ERRORCODE        = 77;
-
 
194
 
-
 
195
 
-
 
196
// Positionen der Setting-Parameter
-
 
197
///////////////////////////////////
-
 
198
 
-
 
199
 
-
 
200
static const int P_GYRO_D          = 0;
-
 
201
static const int P_ACHS_KOPPLUNG2  = 0;
-
 
202
static const int P_NAV_GPS_P_LIMIT  = 0;
-
 
203
static const int P_NAV_GPS_I_LIMIT  = 0;
-
 
204
static const int P_NAV_GPS_D_LIMIT  = 0;
-
 
205
static const int P_NAV_PH_LOGINTIME = 0;
-
 
206
 
-
 
207
static const int VERSION_SETTINGS = 73;
-
 
208
 
-
 
209
static const int MaxParameter = 87;
-
 
210
 
-
 
211
static const int P_KANAL_GAS   = 0;
-
 
212
static const int P_KANAL_GIER  = 1;
-
 
213
static const int P_KANAL_NICK  = 2;
-
 
214
static const int P_KANAL_ROLL  = 3;
-
 
215
static const int P_KANAL_POTI1 = 4;
-
 
216
static const int P_KANAL_POTI2 = 5;
-
 
217
static const int P_KANAL_POTI3 = 6;
-
 
218
static const int P_KANAL_POTI4 = 7;
-
 
219
static const int P_GLOBAL_CONF = 8;
-
 
220
static const int P_MIN_GAS     = 9;
-
 
221
 
-
 
222
static const int P_DRUCK_D       = 10;
-
 
223
static const int P_MAXHOEHE      = 11;
-
 
224
static const int P_HOEHE_P       = 12;
-
 
225
static const int P_HOEHE_GAIN    = 13;
-
 
226
static const int P_HOEHE_ACC     = 14;
-
 
227
static const int P_STICK_P       = 15;
-
 
228
static const int P_STICK_D       = 16;
-
 
229
static const int P_GIER_P        = 17;
-
 
230
static const int P_GAS_MIN       = 18;
-
 
231
static const int P_GAS_MAX       = 19;
-
 
232
 
-
 
233
static const int P_GYRO_ACC_FAKTOR = 20;
-
 
234
static const int P_KOMPASS_WIRKUNG = 21;
-
 
235
static const int P_GYRO_P          = 22;
-
 
236
static const int P_GYRO_I          = 23;
-
 
237
static const int P_UNTERSPANNUNG   = 24;
-
 
238
static const int P_NOTGAS          = 25;
-
 
239
static const int P_NOTGASZEIT      = 26;
-
 
240
static const int P_AUSRICHTUNG     = 27;
-
 
241
static const int P_FAKTOR_I        = 28;
-
 
242
static const int P_USER_1          = 29;
-
 
243
 
-
 
244
static const int P_USER_2          = 30;
-
 
245
static const int P_USER_3          = 31;
-
 
246
static const int P_USER_4          = 32;
-
 
247
static const int P_SERVO_NICK_CONT = 33;
-
 
248
static const int P_SERVO_NICK_COMP = 34;
-
 
249
static const int P_SERVO_NICK_MIN  = 35;
-
 
250
static const int P_SERVO_NICK_MAX  = 36;
-
 
251
static const int P_SERVO_NICK_REFR = 37;
-
 
252
static const int P_LOOP_GAS_LIMIT  = 38;
-
 
253
static const int P_LOOP_THRESHOLD  = 39;
-
 
254
 
-
 
255
static const int P_LOOP_HYSTERESE  = 40;
-
 
256
static const int P_ACHS_KOPPLUNG1  = 41;
-
 
257
static const int P_ACHS_GKOPPLUNG  = 42;
-
 
258
static const int P_WINKEL_NICK     = 43;
-
 
259
static const int P_WINKEL_ROLL     = 44;
-
 
260
static const int P_GYRO_ACC_ABGL   = 45;
-
 
261
static const int P_DRIFT_KOMP      = 46;
-
 
262
static const int P_DYNAMIC_STAB    = 47;
-
 
263
static const int P_USER_5          = 48;
-
 
264
static const int P_USER_6          = 49;
-
 
265
 
-
 
266
static const int P_USER_7          = 50;
-
 
267
static const int P_USER_8          = 51;
-
 
268
static const int P_J16_BITMASK     = 52;
-
 
269
static const int P_J16_TIMING      = 53;
-
 
270
static const int P_J17_BITMASK     = 54;
-
 
271
static const int P_J17_TIMING      = 55;
-
 
272
static const int P_NAV_GPS_MODE    = 56;
-
 
273
static const int P_NAV_GPS_GAIN    = 57;
-
 
274
static const int P_NAV_GPS_P       = 58;
-
 
275
static const int P_NAV_GPS_I       = 59;
-
 
276
 
-
 
277
static const int P_NAV_GPS_D        = 60;
-
 
278
static const int P_NAV_GPS_ACC      = 61;
-
 
279
static const int P_NAV_GPS_MIN      = 62;
-
 
280
static const int P_NAV_STICK_THRE   = 63;
-
 
281
static const int P_NAV_WIND_CORR    = 64;
-
 
282
static const int P_NAV_SPEED_COMP   = 65;
-
 
283
static const int P_NAV_RADIUS       = 66;
-
 
284
static const int P_NAV_ANGLE_LIMIT  = 67;
-
 
285
 
-
 
286
static const int P_EXTERNAL         = 68;
-
 
287
static const int P_LOOP_CONFIG      = 69;
-
 
288
static const int P_SERVO_NICK_COMPI = 70;
-
 
289
static const int P_RESERVED         = 71;
-
 
290
static const int P_NAME             = 75;
-
 
291
#endif
-
 
Line 292... Line 154...
292
 
154