Subversion Repositories Projects

Rev

Rev 166 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 166 Rev 234
1
/***************************************************************************
1
/***************************************************************************
2
 *   Copyright (C) 2008 by Manuel Schrape                                  *
2
 *   Copyright (C) 2008 by Manuel Schrape                                  *
3
 *   manuel.schrape@gmx.de                                                 *
3
 *   manuel.schrape@gmx.de                                                 *
4
 *                                                                         *
4
 *                                                                         *
5
 *   This program is free software; you can redistribute it and/or modify  *
5
 *   This program is free software; you can redistribute it and/or modify  *
6
 *   it under the terms of the GNU General Public License as published by  *
6
 *   it under the terms of the GNU General Public License as published by  *
7
 *   the Free Software Foundation; either version 2 of the License.        *
7
 *   the Free Software Foundation; either version 2 of the License.        *
8
 *                                                                         *
8
 *                                                                         *
9
 *   This program is distributed in the hope that it will be useful,       *
9
 *   This program is distributed in the hope that it will be useful,       *
10
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
10
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
11
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
11
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
12
 *   GNU General Public License for more details.                          *
12
 *   GNU General Public License for more details.                          *
13
 *                                                                         *
13
 *                                                                         *
14
 *   You should have received a copy of the GNU General Public License     *
14
 *   You should have received a copy of the GNU General Public License     *
15
 *   along with this program; if not, write to the                         *
15
 *   along with this program; if not, write to the                         *
16
 *   Free Software Foundation, Inc.,                                       *
16
 *   Free Software Foundation, Inc.,                                       *
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
-
 
21
 
-
 
22
#ifdef _BETA_
-
 
23
static const int VERSION_SETTINGS = 74;
-
 
24
 
-
 
25
static const int MaxParameter = 93;
-
 
26
 
-
 
27
static const int P_KANAL_GAS   = 0;
-
 
28
static const int P_KANAL_GIER  = 1;
-
 
29
static const int P_KANAL_NICK  = 2;
-
 
30
static const int P_KANAL_ROLL  = 3;
-
 
31
static const int P_KANAL_POTI1 = 4;
-
 
32
static const int P_KANAL_POTI2 = 5;
-
 
33
static const int P_KANAL_POTI3 = 6;
-
 
34
static const int P_KANAL_POTI4 = 7;
-
 
35
static const int P_GLOBAL_CONF = 8;
-
 
36
static const int P_MIN_GAS     = 9;
-
 
37
 
-
 
38
static const int P_DRUCK_D       = 10;
-
 
39
static const int P_MAXHOEHE      = 11;
-
 
40
static const int P_HOEHE_P       = 12;
-
 
41
static const int P_HOEHE_GAIN    = 13;
-
 
42
static const int P_HOEHE_ACC     = 14;
-
 
43
static const int P_STICK_P       = 15;
-
 
44
static const int P_STICK_D       = 16;
-
 
45
static const int P_GIER_P        = 17;
-
 
46
static const int P_GAS_MIN       = 18;
-
 
47
static const int P_GAS_MAX       = 19;
-
 
48
 
-
 
49
static const int P_GYRO_ACC_FAKTOR = 20;
-
 
50
static const int P_KOMPASS_WIRKUNG = 21;
-
 
51
static const int P_GYRO_P          = 22;
-
 
52
static const int P_GYRO_I          = 23;
-
 
53
static const int P_GYRO_D          = 24;
-
 
54
static const int P_UNTERSPANNUNG   = 25;
-
 
55
static const int P_NOTGAS          = 26;
-
 
56
static const int P_NOTGASZEIT      = 27;
-
 
57
static const int P_AUSRICHTUNG     = 28;
-
 
58
static const int P_FAKTOR_I        = 29;
-
 
59
 
-
 
60
static const int P_USER_1          = 30;
-
 
61
static const int P_USER_2          = 31;
-
 
62
static const int P_USER_3          = 32;
-
 
63
static const int P_USER_4          = 33;
-
 
64
static const int P_SERVO_NICK_CONT = 34;
-
 
65
static const int P_SERVO_NICK_COMP = 35;
-
 
66
static const int P_SERVO_NICK_MIN  = 36;
-
 
67
static const int P_SERVO_NICK_MAX  = 37;
-
 
68
static const int P_SERVO_NICK_REFR = 38;
-
 
69
static const int P_LOOP_GAS_LIMIT  = 39;
-
 
70
 
-
 
71
static const int P_LOOP_THRESHOLD  = 40;
-
 
72
static const int P_LOOP_HYSTERESE  = 41;
-
 
73
static const int P_ACHS_KOPPLUNG1  = 42;
-
 
74
static const int P_ACHS_KOPPLUNG2  = 43;
-
 
75
static const int P_ACHS_GKOPPLUNG  = 44;
-
 
76
static const int P_WINKEL_NICK     = 45;
-
 
77
static const int P_WINKEL_ROLL     = 46;
-
 
78
static const int P_GYRO_ACC_ABGL   = 47;
-
 
79
static const int P_DRIFT_KOMP      = 48;
-
 
80
static const int P_DYNAMIC_STAB    = 49;
-
 
81
 
-
 
82
static const int P_USER_5          = 50;
-
 
83
static const int P_USER_6          = 51;
-
 
84
static const int P_USER_7          = 52;
-
 
85
static const int P_USER_8          = 53;
-
 
86
static const int P_J16_BITMASK     = 54;
-
 
87
static const int P_J16_TIMING      = 55;
-
 
88
static const int P_J17_BITMASK     = 56;
-
 
89
static const int P_J17_TIMING      = 57;
-
 
90
static const int P_NAV_GPS_MODE    = 58;
-
 
91
static const int P_NAV_GPS_GAIN    = 59;
-
 
92
 
-
 
93
static const int P_NAV_GPS_P        = 60;
-
 
94
static const int P_NAV_GPS_I        = 61;
-
 
95
static const int P_NAV_GPS_D        = 62;
-
 
96
static const int P_NAV_GPS_P_LIMIT  = 63;
-
 
97
static const int P_NAV_GPS_I_LIMIT  = 64;
-
 
98
static const int P_NAV_GPS_D_LIMIT  = 65;
-
 
99
static const int P_NAV_GPS_ACC      = 66;
-
 
100
static const int P_NAV_GPS_MIN      = 67;
-
 
101
static const int P_NAV_STICK_THRE   = 68;
-
 
102
static const int P_NAV_WIND_CORR    = 69;
-
 
103
 
-
 
104
static const int P_NAV_SPEED_COMP   = 70;
-
 
105
static const int P_NAV_RADIUS       = 71;
-
 
106
static const int P_NAV_ANGLE_LIMIT  = 72;
-
 
107
static const int P_NAV_PH_LOGINTIME = 73;
-
 
108
static const int P_EXTERNAL         = 74;
-
 
109
static const int P_LOOP_CONFIG      = 75;
-
 
110
static const int P_SERVO_NICK_COMPI = 76;
-
 
111
static const int P_RESERVED         = 77;
-
 
112
static const int P_NAME             = 81;
-
 
113
#else
-
 
114
static const int P_GYRO_D          = 0;
-
 
115
static const int P_ACHS_KOPPLUNG2  = 0;
-
 
116
static const int P_NAV_GPS_P_LIMIT  = 0;
-
 
117
static const int P_NAV_GPS_I_LIMIT  = 0;
-
 
118
static const int P_NAV_GPS_D_LIMIT  = 0;
-
 
119
static const int P_NAV_PH_LOGINTIME = 0;
-
 
120
 
21
 
121
 
22
static const int VERSION_SETTINGS = 73;
122
static const int VERSION_SETTINGS = 73;
23
 
123
 
24
static const int MaxParameter = 87;
124
static const int MaxParameter = 87;
25
 
125
 
26
static const int P_KANAL_GAS   = 0;
126
static const int P_KANAL_GAS   = 0;
27
static const int P_KANAL_GIER  = 1;
127
static const int P_KANAL_GIER  = 1;
28
static const int P_KANAL_NICK  = 2;
128
static const int P_KANAL_NICK  = 2;
29
static const int P_KANAL_ROLL  = 3;
129
static const int P_KANAL_ROLL  = 3;
30
static const int P_KANAL_POTI1 = 4;
130
static const int P_KANAL_POTI1 = 4;
31
static const int P_KANAL_POTI2 = 5;
131
static const int P_KANAL_POTI2 = 5;
32
static const int P_KANAL_POTI3 = 6;
132
static const int P_KANAL_POTI3 = 6;
33
static const int P_KANAL_POTI4 = 7;
133
static const int P_KANAL_POTI4 = 7;
34
static const int P_GLOBAL_CONF = 8;
134
static const int P_GLOBAL_CONF = 8;
35
static const int P_MIN_GAS     = 9;
135
static const int P_MIN_GAS     = 9;
36
 
136
 
37
static const int P_DRUCK_D       = 10;
137
static const int P_DRUCK_D       = 10;
38
static const int P_MAXHOEHE      = 11;
138
static const int P_MAXHOEHE      = 11;
39
static const int P_HOEHE_P       = 12;
139
static const int P_HOEHE_P       = 12;
40
static const int P_HOEHE_GAIN    = 13;
140
static const int P_HOEHE_GAIN    = 13;
41
static const int P_HOEHE_ACC     = 14;
141
static const int P_HOEHE_ACC     = 14;
42
static const int P_STICK_P       = 15;
142
static const int P_STICK_P       = 15;
43
static const int P_STICK_D       = 16;
143
static const int P_STICK_D       = 16;
44
static const int P_GIER_P        = 17;
144
static const int P_GIER_P        = 17;
45
static const int P_GAS_MIN       = 18;
145
static const int P_GAS_MIN       = 18;
46
static const int P_GAS_MAX       = 19;
146
static const int P_GAS_MAX       = 19;
47
 
147
 
48
static const int P_GYRO_ACC_FAKTOR = 20;
148
static const int P_GYRO_ACC_FAKTOR = 20;
49
static const int P_KOMPASS_WIRKUNG = 21;
149
static const int P_KOMPASS_WIRKUNG = 21;
50
static const int P_GYRO_P          = 22;
150
static const int P_GYRO_P          = 22;
51
static const int P_GYRO_I          = 23;
151
static const int P_GYRO_I          = 23;
52
static const int P_UNTERSPANNUNG   = 24;
152
static const int P_UNTERSPANNUNG   = 24;
53
static const int P_NOTGAS          = 25;
153
static const int P_NOTGAS          = 25;
54
static const int P_NOTGASZEIT      = 26;
154
static const int P_NOTGASZEIT      = 26;
55
static const int P_AUSRICHTUNG     = 27;
155
static const int P_AUSRICHTUNG     = 27;
56
static const int P_FAKTOR_I        = 28;
156
static const int P_FAKTOR_I        = 28;
57
static const int P_USER_1          = 29;
157
static const int P_USER_1          = 29;
58
 
158
 
59
static const int P_USER_2          = 30;
159
static const int P_USER_2          = 30;
60
static const int P_USER_3          = 31;
160
static const int P_USER_3          = 31;
61
static const int P_USER_4          = 32;
161
static const int P_USER_4          = 32;
62
static const int P_SERVO_NICK_CONT = 33;
162
static const int P_SERVO_NICK_CONT = 33;
63
static const int P_SERVO_NICK_COMP = 34;
163
static const int P_SERVO_NICK_COMP = 34;
64
static const int P_SERVO_NICK_MIN  = 35;
164
static const int P_SERVO_NICK_MIN  = 35;
65
static const int P_SERVO_NICK_MAX  = 36;
165
static const int P_SERVO_NICK_MAX  = 36;
66
static const int P_SERVO_NICK_REFR = 37;
166
static const int P_SERVO_NICK_REFR = 37;
67
static const int P_LOOP_GAS_LIMIT  = 38;
167
static const int P_LOOP_GAS_LIMIT  = 38;
68
static const int P_LOOP_THRESHOLD  = 39;
168
static const int P_LOOP_THRESHOLD  = 39;
69
 
169
 
70
static const int P_LOOP_HYSTERESE  = 40;
170
static const int P_LOOP_HYSTERESE  = 40;
71
static const int P_ACHS_KOPPLUNG   = 41;
171
static const int P_ACHS_KOPPLUNG1  = 41;
72
static const int P_ACHS_GKOPPLUNG  = 42;
172
static const int P_ACHS_GKOPPLUNG  = 42;
73
static const int P_WINKEL_NICK     = 43;
173
static const int P_WINKEL_NICK     = 43;
74
static const int P_WINKEL_ROLL     = 44;
174
static const int P_WINKEL_ROLL     = 44;
75
static const int P_GYRO_ACC_ABGL   = 45;
175
static const int P_GYRO_ACC_ABGL   = 45;
76
static const int P_DRIFT_KOMP      = 46;
176
static const int P_DRIFT_KOMP      = 46;
77
static const int P_DYNAMIC_STAB    = 47;
177
static const int P_DYNAMIC_STAB    = 47;
78
static const int P_USER_5          = 48;
178
static const int P_USER_5          = 48;
79
static const int P_USER_6          = 49;
179
static const int P_USER_6          = 49;
80
 
180
 
81
static const int P_USER_7          = 50;
181
static const int P_USER_7          = 50;
82
static const int P_USER_8          = 51;
182
static const int P_USER_8          = 51;
83
static const int P_J16_BITMASK     = 52;
183
static const int P_J16_BITMASK     = 52;
84
static const int P_J16_TIMING      = 53;
184
static const int P_J16_TIMING      = 53;
85
static const int P_J17_BITMASK     = 54;
185
static const int P_J17_BITMASK     = 54;
86
static const int P_J17_TIMING      = 55;
186
static const int P_J17_TIMING      = 55;
87
static const int P_NAV_GPS_MODE    = 56;
187
static const int P_NAV_GPS_MODE    = 56;
88
static const int P_NAV_GPS_GAIN    = 57;
188
static const int P_NAV_GPS_GAIN    = 57;
89
static const int P_NAV_GPS_P       = 58;
189
static const int P_NAV_GPS_P       = 58;
90
static const int P_NAV_GPS_I       = 59;
190
static const int P_NAV_GPS_I       = 59;
91
 
191
 
92
static const int P_NAV_GPS_D        = 60;
192
static const int P_NAV_GPS_D        = 60;
93
static const int P_NAV_GPS_ACC      = 61;
193
static const int P_NAV_GPS_ACC      = 61;
94
static const int P_NAV_GPS_MIN      = 62;
194
static const int P_NAV_GPS_MIN      = 62;
95
static const int P_NAV_STICK_THRE   = 63;
195
static const int P_NAV_STICK_THRE   = 63;
96
static const int P_NAV_WIND_CORR    = 64;
196
static const int P_NAV_WIND_CORR    = 64;
97
static const int P_NAV_SPEED_COMP   = 65;
197
static const int P_NAV_SPEED_COMP   = 65;
98
static const int P_NAV_RADIUS       = 66;
198
static const int P_NAV_RADIUS       = 66;
99
static const int P_NAV_ANGLE_LIMIT  = 67;
199
static const int P_NAV_ANGLE_LIMIT  = 67;
100
 
200
 
101
static const int P_EXTERNAL         = 68;
201
static const int P_EXTERNAL         = 68;
102
static const int P_LOOP_CONFIG      = 69;
202
static const int P_LOOP_CONFIG      = 69;
103
static const int P_SERVO_NICK_COMPI = 70;
203
static const int P_SERVO_NICK_COMPI = 70;
104
static const int P_RESERVED         = 71;
204
static const int P_RESERVED         = 71;
105
static const int P_NAME             = 75;
205
static const int P_NAME             = 75;
-
 
206
#endif
106
 
207
 
107
#endif
208
#endif
108
 
209