Subversion Repositories Projects

Rev

Rev 234 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 234 Rev 246
Line 18... Line 18...
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...
21
 
21
 
-
 
22
#ifdef _BETA_
-
 
23
// Positionen der Navidaten im OSD-Datensatz
-
 
24
////////////////////////////////////////////
-
 
25
static const int N_CUR_LONGITUDE    = 0;
-
 
26
static const int N_CUR_LATITUDE     = 4;
-
 
27
static const int N_CUR_ALTITUDE     = 8;
-
 
28
static const int N_CUR_STATUS       = 12;
-
 
29
 
-
 
30
static const int N_TAR_LONGITUDE    = 13; //16
-
 
31
static const int N_TAR_LATITUDE     = 17; //20
-
 
32
static const int N_TAR_ALTITUDE     = 21; //24
-
 
33
static const int N_TAR_STATUS       = 25; //28
-
 
34
static const int N_TAR_DISTANCE     = 26; //32
-
 
35
static const int N_TAR_ANGLE        = 28; //34
-
 
36
 
-
 
37
static const int N_HOME_LONGITUDE   = 30; //36
-
 
38
static const int N_HOME_LATITUDE    = 34; //40
-
 
39
static const int N_HOME_ALTITUDE    = 38; //44
-
 
40
static const int N_HOME_STATUS      = 42; //48
-
 
41
static const int N_HOME_DISTANCE    = 43; //52
-
 
42
static const int N_HOME_ANGLE       = 45; //54
-
 
43
 
-
 
44
static const int N_WP_INDEX         = 47; //56
-
 
45
static const int N_WP_NUMBER        = 48; //57
-
 
46
 
-
 
47
static const int N_SATS_IN_USER     = 49; //58
-
 
48
static const int N_ALTIMETER        = 50; //59
-
 
49
static const int N_VARIOMETER       = 52; //61
-
 
50
static const int N_FLYING_TIME      = 54; //63
-
 
51
static const int N_UBAT             = 56; //65
-
 
52
static const int N_GROUND_SPEED     = 57; //66
-
 
53
static const int N_HEADING          = 59; //68
-
 
54
static const int N_COMAPSS_HEADING  = 61; //70
-
 
55
static const int N_ANGLE_NICK       = 63; //72
-
 
56
static const int N_ANGLE_ROLL       = 64; //73
-
 
57
static const int N_RC_QUALITY       = 65; //74
-
 
58
static const int N_MK_FLAGS         = 66; //75
-
 
59
static const int N_NC_FLAGS         = 67; //76
-
 
60
static const int N_ERRORCODE        = 68; //77
-
 
61
 
-
 
62
 
-
 
63
// Positionen der Setting-Parameter
22
#ifdef _BETA_
64
///////////////////////////////////
Line 23... Line 65...
23
static const int VERSION_SETTINGS = 74;
65
static const int VERSION_SETTINGS = 74;
Line 24... Line 66...
24
 
66
 
Line 109... Line 151...
109
static const int P_LOOP_CONFIG      = 75;
151
static const int P_LOOP_CONFIG      = 75;
110
static const int P_SERVO_NICK_COMPI = 76;
152
static const int P_SERVO_NICK_COMPI = 76;
111
static const int P_RESERVED         = 77;
153
static const int P_RESERVED         = 77;
112
static const int P_NAME             = 81;
154
static const int P_NAME             = 81;
113
#else
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
 
114
static const int P_GYRO_D          = 0;
200
static const int P_GYRO_D          = 0;
115
static const int P_ACHS_KOPPLUNG2  = 0;
201
static const int P_ACHS_KOPPLUNG2  = 0;
116
static const int P_NAV_GPS_P_LIMIT  = 0;
202
static const int P_NAV_GPS_P_LIMIT  = 0;
117
static const int P_NAV_GPS_I_LIMIT  = 0;
203
static const int P_NAV_GPS_I_LIMIT  = 0;
118
static const int P_NAV_GPS_D_LIMIT  = 0;
204
static const int P_NAV_GPS_D_LIMIT  = 0;
119
static const int P_NAV_PH_LOGINTIME = 0;
205
static const int P_NAV_PH_LOGINTIME = 0;
Line 120... Line -...
120
 
-
 
121
 
206
 
Line 122... Line 207...
122
static const int VERSION_SETTINGS = 73;
207
static const int VERSION_SETTINGS = 73;
Line 123... Line 208...
123
 
208