Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
158 KeyOz 1
/***************************************************************************
2
 *   Copyright (C) 2008 by Manuel Schrape                                  *
3
 *   manuel.schrape@gmx.de                                                 *
4
 *                                                                         *
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  *
7
 *   the Free Software Foundation; either version 2 of the License.        *
8
 *                                                                         *
9
 *   This program is distributed in the hope that it will be useful,       *
10
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
11
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
12
 *   GNU General Public License for more details.                          *
13
 *                                                                         *
14
 *   You should have received a copy of the GNU General Public License     *
15
 *   along with this program; if not, write to the                         *
16
 *   Free Software Foundation, Inc.,                                       *
17
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
18
 ***************************************************************************/
19
#ifndef PARAMETER_POSITIONS_H
20
#define PARAMETER_POSITIONS_H
21
 
234 KeyOz 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
 
121
 
166 KeyOz 122
static const int VERSION_SETTINGS = 73;
159 KeyOz 123
 
166 KeyOz 124
static const int MaxParameter = 87;
158 KeyOz 125
 
126
static const int P_KANAL_GAS   = 0;
127
static const int P_KANAL_GIER  = 1;
128
static const int P_KANAL_NICK  = 2;
129
static const int P_KANAL_ROLL  = 3;
130
static const int P_KANAL_POTI1 = 4;
131
static const int P_KANAL_POTI2 = 5;
132
static const int P_KANAL_POTI3 = 6;
133
static const int P_KANAL_POTI4 = 7;
134
static const int P_GLOBAL_CONF = 8;
135
static const int P_MIN_GAS     = 9;
136
 
137
static const int P_DRUCK_D       = 10;
138
static const int P_MAXHOEHE      = 11;
139
static const int P_HOEHE_P       = 12;
140
static const int P_HOEHE_GAIN    = 13;
141
static const int P_HOEHE_ACC     = 14;
142
static const int P_STICK_P       = 15;
143
static const int P_STICK_D       = 16;
144
static const int P_GIER_P        = 17;
145
static const int P_GAS_MIN       = 18;
146
static const int P_GAS_MAX       = 19;
147
 
148
static const int P_GYRO_ACC_FAKTOR = 20;
149
static const int P_KOMPASS_WIRKUNG = 21;
150
static const int P_GYRO_P          = 22;
151
static const int P_GYRO_I          = 23;
152
static const int P_UNTERSPANNUNG   = 24;
153
static const int P_NOTGAS          = 25;
154
static const int P_NOTGASZEIT      = 26;
155
static const int P_AUSRICHTUNG     = 27;
156
static const int P_FAKTOR_I        = 28;
157
static const int P_USER_1          = 29;
158
 
159
static const int P_USER_2          = 30;
160
static const int P_USER_3          = 31;
161
static const int P_USER_4          = 32;
162
static const int P_SERVO_NICK_CONT = 33;
163
static const int P_SERVO_NICK_COMP = 34;
164
static const int P_SERVO_NICK_MIN  = 35;
165
static const int P_SERVO_NICK_MAX  = 36;
166
static const int P_SERVO_NICK_REFR = 37;
167
static const int P_LOOP_GAS_LIMIT  = 38;
168
static const int P_LOOP_THRESHOLD  = 39;
169
 
170
static const int P_LOOP_HYSTERESE  = 40;
234 KeyOz 171
static const int P_ACHS_KOPPLUNG1  = 41;
158 KeyOz 172
static const int P_ACHS_GKOPPLUNG  = 42;
173
static const int P_WINKEL_NICK     = 43;
174
static const int P_WINKEL_ROLL     = 44;
175
static const int P_GYRO_ACC_ABGL   = 45;
176
static const int P_DRIFT_KOMP      = 46;
177
static const int P_DYNAMIC_STAB    = 47;
178
static const int P_USER_5          = 48;
179
static const int P_USER_6          = 49;
180
 
181
static const int P_USER_7          = 50;
182
static const int P_USER_8          = 51;
183
static const int P_J16_BITMASK     = 52;
184
static const int P_J16_TIMING      = 53;
185
static const int P_J17_BITMASK     = 54;
186
static const int P_J17_TIMING      = 55;
187
static const int P_NAV_GPS_MODE    = 56;
188
static const int P_NAV_GPS_GAIN    = 57;
189
static const int P_NAV_GPS_P       = 58;
190
static const int P_NAV_GPS_I       = 59;
191
 
192
static const int P_NAV_GPS_D        = 60;
193
static const int P_NAV_GPS_ACC      = 61;
194
static const int P_NAV_GPS_MIN      = 62;
195
static const int P_NAV_STICK_THRE   = 63;
196
static const int P_NAV_WIND_CORR    = 64;
197
static const int P_NAV_SPEED_COMP   = 65;
198
static const int P_NAV_RADIUS       = 66;
166 KeyOz 199
static const int P_NAV_ANGLE_LIMIT  = 67;
158 KeyOz 200
 
166 KeyOz 201
static const int P_EXTERNAL         = 68;
202
static const int P_LOOP_CONFIG      = 69;
203
static const int P_SERVO_NICK_COMPI = 70;
204
static const int P_RESERVED         = 71;
205
static const int P_NAME             = 75;
234 KeyOz 206
#endif
158 KeyOz 207
 
159 KeyOz 208
#endif