Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1471 - 1
/*****************************************************************************
2
 *   Copyright (C) 2008 Thomas Kaiser, thomas@ft-fanpage.de                  *
3
 *   Copyright (C) 2009 Peter "woggle" Mack, mac@denich.net                  *
4
 *   Copyright (C) 2011 Christian "Cebra" Brandtner, brandtner@brandtner.net *
5
 *   Copyright (C) 2011 Harald Bongartz                                      *
6
 *                                                                           *
7
 *   This program is free software; you can redistribute it and/or modify    *
8
 *   it under the terms of the GNU General Public License as published by    *
9
 *   the Free Software Foundation; either version 2 of the License.          *
10
 *                                                                           *
11
 *   This program is distributed in the hope that it will be useful,         *
12
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of          *
13
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           *
14
 *   GNU General Public License for more details.                            *
15
 *                                                                           *
16
 *   You should have received a copy of the GNU General Public License       *
17
 *   along with this program; if not, write to the                           *
18
 *   Free Software Foundation, Inc.,                                         *
19
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.               *
20
 *                                                                           *
21
 *                                                                           *
22
 *   Credits to:                                                             *
23
 *   Holger Buss & Ingo Busker from mikrokopter.de for the MK project + SVN  *
24
 *                          http://www.mikrokopter.de                        *
25
 *   Gregor "killagreg" Stobrawa for his version of the MK code              *
26
 *   Thomas Kaiser "thkais" for the original project. See                    *
27
 *                          http://www.ft-fanpage.de/mikrokopter/            *
28
 *                          http://forum.mikrokopter.de/topic-4061-1.html    *
29
 *   Claas Anders "CaScAdE" Rathje for providing the font and his C-OSD code *
30
 *                          http://www.mylifesucks.de/oss/c-osd/             *
31
 *   Harald Bongartz "HaraldB" for providing his Ideas and Code for usibility*
32
 *****************************************************************************/
33
 
34
 
35
#define PAGES 14
36
#define PARAM_COUNT 144
37
#define PARAM_LENGTH 15
38
#define PARAM_NUM_LANG 4
39
 
40
//           German          Englisch   Franzïösisch   Holländisch
41
 
42
prog_char param_pages[PAGES][PARAM_NUM_LANG][PARAM_LENGTH]= // zeilen,zeichen+1
43
{
44
        {"Kanäle        ","Channel       ","Canaux        ","Kanaal        "},
45
        {"Konfiguration ","main          ","Config        ","Configuratie  "},
46
        {"Stick         ","stick         ","Manche        ","Stick         "},
47
        {"Looping       ","Looping       ","Looping       ","Looping       "},
48
        {"Höhe          ","Altitude      ","Altitude      ","Hoogte        "},
49
        {"Kamera        ","Camera        ","Camera        ","Camera        "},
50
        {"NaviCtrl      ","NaviCtrl      ","NaviCtrl      ","NaviCtrl      "},
51
        {"Ausgänge      ","Outputs       ","Sorties       ","Uitgangen     "},
52
        {"Verschiedenes ","Divers        ","Divers        ","Diversen      "},
53
        {"Gyro          ","Gyro          ","Gyro          ","Gyro          "},
54
        {"Benutzer      ","User          ","Parametres    ","Gebruiker     "},
55
        {"Achskopplung  ","Coupl Axes    ","Coupl Axes    ","Koppeling Ass "},
56
        {"Mixer-Setup   ","Config Mix    ","Config Mix    ","Config. Mixer "},
57
        {"Easy Setup    ","Config Easy   ","Config Easy   ","Config. easy  "},
58
 
59
 
60
 
61
};
62
 
63
 
64
//Namen
65
prog_char  param_names[PARAM_COUNT][PARAM_NUM_LANG][PARAM_LENGTH]=
66
{
67
        // group 0 (kanaele) 1-15
68
 
69
        {"Gas           ","Throttle      ","Gaz           ","Gas           "},
70
        {"Gier          ","Gier          ","Lacet         ","Gier          "},
71
        {"Nick          ","Nick          ","Tangage       ","Nick          "},
72
        {"Roll          ","Roll          ","Roulis        ","Roll          "},
73
        {"Poti 1        ","Poti 1        ","Poti 1        ","Poti 1        "},
74
        {"Poti 2        ","Poti 2        ","Poti 2        ","Poti 2        "},
75
        {"Poti 3        ","Poti 3        ","Poti 3        ","Poti 3        "},
76
        {"Poti 4        ","Poti 4        ","Poti 4        ","Poti 4        "},
77
        {"Poti 5        ","Poti 5        ","Poti 5        ","Poti 5        "},
78
        {"Poti 6        ","Poti 6        ","Poti 6        ","Poti 6        "},
79
        {"Poti 7        ","Poti 7        ","Poti 7        ","Poti 7        "},
80
        {"Poti 8        ","Poti 8        ","Poti 8        ","Poti 8        "},
81
        {"Motor Sich.Sch","Mot.Safety Sw.","Mot.Safety Sw.","Mot.saf.schak."},
82
        {"Erw. Sig. Pr. ","Enh. Sig.Check","Recep Renforce","Uitg.Sig.Check"},
83
        {"Empfänger Typ ","Receiver Type ","Type Recepteur","Ontvang. Type "},
84
 
85
 
86
        // group 1 (main) 16-23
87
 
88
        {"Höhenregeler  ","Ctrl Altitude ","Ctrl Altitude ","Ctrl Hoogte   "},
89
        {"GPS           ","GPS           ","GPS           ","GPS           "},
90
        {"Kompass       ","Compass       ","Compas        ","Kompas        "},
91
        {"KompFest Ausr.","CompOrient.Fix","Maintien Cap  ","Kompas vast   "},
92
        {"Erw. Sig. Pr. ","Sens.RcvSigVal","Ctrl Ren Recep","ExtRec Signaal"},
93
        {"Achs(e.)koppl.","Axis Couping  ","Decouplage Axe","As koppeling  "},
94
        {"Drehratenbegr.","RotRate limit.","Limit Vit. Rot","RotRate limit."},
95
        {"Heading Hold  ","Nick/Roll     ","Orient. Fixe  ","Koers vast    "},
96
 
97
 
98
        // group 2 (stick) 24-27
99
 
100
        {"Nick/Roll P   ","Nick/Roll P   ","Roul/Tang P   ","Nick/Roll P   "},
101
        {"Nick/Roll D   ","Nick/Roll D   ","Roul/Tang D   ","Nick/Roll D   "},
102
        {"Gier P        ","Gier P        ","Lacet P       ","Gier P        "},
103
        {"Externe Kontr.","Extern Ctrl   ","Ctrl Externe  ","Extern Control"},
104
 
105
 
106
        // group3 : (looping) 28-36
107
 
108
        {"Looping oben  ","Looping up    ","Looping Avant ","Looping omhoog"},
109
        {"Looping unten ","Looping down  ","Looping Arrier","Looping bened."},
110
        {"Looping links ","Looping left  ","Looping Gauche","Looping links "},
111
        {"Looping rechts","Looping right ","Looping Droite","Looping rechts"},
112
        {"Gas Limit     ","Throttle Limit","Limite Gaz    ","Gas Limiet    "},
113
        {"Ansprechschw. ","Seuil Reponse ","Seuil Reponse ","Drempelwaarde "},
114
        {"Hysterese     ","Hysteresis    ","Hysteresis    ","Hysterese     "},
115
        {"Umkehrp. Nick ","Nick Invers   ","Invers Roulis ","Nick geinvert."},
116
        {"Umkehrp. Roll ","Roll Invers   ","Invers Tangage","Roll geinvert."},
117
 
118
 
119
        // group 4 (hoehe) 37-50
120
 
121
        {"Höhenregelung ","Altitude Ctrl ","Ctrl Altitude ","Hoogte Control"},
122
        {"J:HBeg,N:Vario","Y:LimH,N:Vario","Y:LimH,N:Vario","Y:LimH,N:Vario"},
123
        {"Schalter f. H.","Switch f. High","Swith Hauteur ","Schak. Hoogte "},
124
        {"akust. Vario  ","acoustic Vario","Vario Acoustic","Akoest. Vario "},
125
        {"Sollhöhe      ","Setpoint      ","Hauteur Max   ","Gewenste hoogt"},
126
        {"Min. Gas      ","min. throttle ","Gaz Min       ","Minimaal gas  "},
127
        {"Höhe P        ","Altitude P    ","Altitude P    ","Hoogte P      "},
128
        {"Luftdruck D   ","Barometric D  ","Pression D    ","Barometr. D   "},
129
        {"Z-ACC         ","ACC Z         ","ACC Z         ","ACC Z         "},
130
        {"Max. Höhe     ","Max. High     ","Max. High     ","Max. hoogte   "},
131
        {"Verstärkung/R ","gain/rate     ","Gain/Frequence","Verst./rate   "},
132
        {"Schwebegas +/-","hoover varia. ","Var Vol Stat  ","hoover varia. "},
133
        {"GPS Z         ","GPS Z         ","GPS Z         ","GPS Z         "},
134
        {"Stick Neutr. P","stick neutr. P","Pos Neutre Man","stick neutr. P"},
135
 
136
 
137
        // group 5 : (kamera) 51-66
138
 
139
        {"Nick S. Anst. ","nick serv ctrl","Asserv Tangage","nick serv ctrl"},
140
        {"Nick Kompens. ","nick compens. ","Comp Tangage  ","nick compens. "},
141
        {"Nick Umkehren ","nick inv. dir.","Inverser Roul ","nick inv.rich."},
142
        {"Nick Servo min","nick servo min","Servo Min     ","nick servo min"},
143
        {"Nick Servo max","nick servo max","Servo Max     ","nick servo max"},
144
        {"Roll S. Anst. ","roll serv ctrl","Asserv Roulis ","roll serv ctrl"},
145
        {"Roll Kompens. ","roll compens. ","Comp Tangage  ","roll compens. "},
146
        {"Roll Umkehren ","roll inv. dir.","Inverser Tang ","roll omkeren  "},
147
        {"Roll Servo min","roll servo min","Servo Min     ","roll servo min"},
148
        {"Roll Servo max","roll servo max","Servo Max     ","roll servo max"},
149
        {"Anst. Geschw. ","servo refresh ","Taux Refresh  ","Servo refresh "},
150
        {"Manuelle Gesch","manuell Speed ","Vitesse Man.  ","Snelh.handbed."},
151
        {"Cam Richtung  ","Cam Orient    ","Cam Orient    ","Camera richt. "},
152
        {"Servo 3       ","Servo 3       ","Servo 3       ","Servo 3       "},
153
        {"Servo 4       ","Servo 4       ","Servo 4       ","Servo 4       "},
154
        {"Servo 5       ","Servo 5       ","Servo 5       ","Servo 5       "},
155
 
156
 
157
        // group 6 : (navictrl) 67-85                       "CH Hoogte     "
158
 
159
        {"GPS           ","enable GPS    ","Activer GPS   ","enable GPS    "},
160
        {"GPS Modus St. ","GPS mode contr","Def Mode GPS  ","GPS mode contr"},
161
        {"GPS Verstärk. ","GPS Gain      ","Gain GPS      ","GPS versterk. "},
162
        {"GPS St. Schw. ","GPS stick thre","Seuil Manche  ","GPS st. dremp."},
163
        {"Min. Sat.     ","Min. Sat.     ","Nbre Min. Sat.","Min. Sat.     "},
164
        {"GPS-P         ","GPS-P         ","GPS-P         ","GPS-P         "},
165
        {"GPS-I         ","GPS-I         ","GPS-I         ","GPS-I         "},
166
        {"GPS-D         ","GPS-D         ","GPS-D         ","GPS-D         "},
167
        {"P Limit       ","Limit  P      ","Limite P      ","Limiet  P     "},
168
        {"I Limit       ","Limit  I      ","Limite I      ","Limiet  I     "},
169
        {"D Limit       ","Limit  D      ","Limite D      ","Limiet  D     "},
170
        {"GPS Acc       ","GPS Acc       ","Accel GPS     ","GPS Acc       "},
171
        {"GPS Windkorr. ","GPS Wind Corr.","Correct Vent  ","GPS Wind Corr."},
172
        {"Bremswirkung  ","Speed compens.","Compens Vit   ","Remwerking    "},
173
        {"GPS max. Rad. ","GPS max.radius","Rayon GPS Max ","GPS max.radius"},
174
        {"GPS Winkel Li.","GPS angl.limit","Limit Angl GPS","GPS hoek lim. "},
175
        {"PH Login time ","PH login time ","Tps Memoris   ","PH login tijd "},
176
        {"Dynamic PH    ","Dynamic PH    ","Dynamic PH    ","Dynamische PH "},
177
        {"CH Höhe       ","CH High       ","CH High       ","CH Hoogte     "},
178
 
179
 
180
        // group 7 : (ausgaenge) 86-95
181
 
182
        {"LED1 Bitmaske ","Out1 Bitmask  ","Bitmask S1    ","Uitg1 Bitpatr."},
183
        {"     Timing   ","Out1 Timing   ","Horloge S1    ","Uitg1 Timing  "},
184
        {"     sofort an","Activ         ","Actif         ","Direct aan    "},
185
        {"     n.m.Motor","Act. wi. Motor","Actif Au Repos","Akt. motor uit"},
186
        {"LED2 Bitmaske ","Out2 Bitmask  ","Bitmask S2    ","Uitg2 Bitpatr."},
187
        {"     Timing   ","Out2 Timing   ","Horloge S2    ","Uitg2 Timing  "},
188
        {"     sofort an","Activ         ","Actif         ","Direct aan    "},
189
        {"     n.m.Motor","Act. wi. Motor","Actif Au Repos","Akt. motor uit"},
190
        {"LED1 Vmin.Warn","Out1 undervolt","Al Undervoltag","Uitg1 ondersp."},
191
        {"LED2 Vmin.Warn","Out2 undervolt","Al Undervoltag","Uitg2 ondersp."},
192
 
193
 
194
        // group 8 : (verschiedenes) 96-107
195
 
196
        {"Min. Gas      ","min. throttle ","Gaz Min.      ","minimaal gas  "},
197
        {"Max. Gas      ","max. throttle ","Gaz Max.      ","maximaal gas  "},
198
        {"Kompasswirkung","compass effect","Effet compas  ","Kompas effect "},
199
        {"Carefree St.  ","Carefree Ctrl ","Carefree Ctrl ","Carefree Ctrl "},
200
        {"Teachable Care","Teachable Care","Teachable Care","Teachable Care"},
201
        {"Unterspannung ","undervoltage  ","Sous Tension  ","Onderspanning "},
202
        {"Volt Referenz ","Volt Referenz ","Tension Ref   ","Ref. spanning "},
203
        {"Not Gas Zeit  ","Emerg.Thr.Time","Duree secours ","Nood gas tijd "},
204
        {"Not Gas       ","Emerg.Throttle","Gaz de secours","Nood gas      "},
205
        {"Fails. CH Time","Fails. CH Time","Fails. CH Time","Fails. CH Tijd"},
206
        {"Compass Error ","Compass Error ","Compass Error ","Kompas Error  "},
207
        {"k.Summer o Sen","Compass Error ","Son Abs Emett ","Kompas Error  "},
208
 
209
 
210
        // group 9 : (gyro) 108-120
211
 
212
        {"Gyro P        ","Gyro P        ","Gyro P        ","Gyro P        "},
213
        {"Gyro I        ","Gyro I        ","Gyro I        ","Gyro I        "},
214
        {"Gyro D        ","Gyro D        ","Gyro D        ","Gyro D        "},
215
        {"Gier P        ","Lacet P       ","Lacet P       ","Gier P        "},
216
        {"Gier I        ","Lacet I       ","Lacet I       ","Gier I        "},
217
        {"Dynamische St.","dynamic stabi.","Stab Dynamique","Dynamis. stab."},
218
        {"Drehratenbeg. ","RotRate limit.","Limit Dit Rota","Toerental lim."},
219
        {"ACC/Gyro Fak. ","ACC/Gyro Fact ","ACC/Gyro Fact ","ACC/Gyro Fact "},
220
        {"ACC/Gyro Komp.","Comp ACC/Gyro ","Comp ACC/Gyro ","Comp ACC/Gyro "},
221
        {"Hauptregler I ","Main I        ","Regul Princ I ","Hoofdregel. I "},
222
        {"Drifkompensat.","drift Compens.","Compens Deriv ","Drift compens."},
223
        {"Gyro stab.    ","Gyro stability","Gyro Stability","Gyro stabilit."},
224
        {"Motor smooth  ","Motor smooth  ","Motor Smooth  ","Motor smooth  "},
225
 
226
 
227
        // group 10: (benutzer) 121-128
228
 
229
        {"Parameter 1   ","Parameter 1   ","Parameter 1   ","Parameter 1   "},
230
        {"Parameter 2   ","Parameter 2   ","Parameter 2   ","Parameter 2   "},
231
        {"Parameter 3   ","Parameter 3   ","Parameter 3   ","Parameter 3   "},
232
        {"Parameter 4   ","Parameter 4   ","Parameter 4   ","Parameter 4   "},
233
        {"Parameter 5   ","Parameter 5   ","Parameter 5   ","Parameter 5   "},
234
        {"Parameter 6   ","Parameter 6   ","Parameter 6   ","Parameter 6   "},
235
        {"Parameter 7   ","Parameter 7   ","Parameter 7   ","Parameter 7   "},
236
        {"Parameter 8   ","Parameter 8   ","Parameter 8   ","Parameter 8   "},
237
 
238
 
239
        // group 11: (achskopplung) 129-132
240
 
241
        {"Achs(e.)koppl.","(De)Coupl Axes","(De)Coupl Axes","As koppeling  "},
242
        {"Gier pos. Kopp","Retroac lacet ","Retroac Lacet ","Gier pos. kop."},
243
        {"Nick/Roll Kopp","Retro roul/tan","Retro Roul/Tan","Nick/Roll kop."},
244
        {"Gier Korrektur","Correct lacet ","Correct Lacet ","Gier correctie"},
245
 
246
 
247
        // group 12: (mixer) 133
248
 
249
        {"Orientierung  ","Orientierung  ","Orientation   "},
250
 
251
 
252
        // group 13 (easy) 134-144
253
 
254
        {"Höhenregelung ","Altitude Ctrl ","Ctrl Altitude ","Hoogte Contr. "},
255
        {"Sollhöhe      ","Setpoint      ","Hauteur Max   ","Gewenst.hoogte"},
256
        {"Stick Neutr. P","stick neutr. P","Pos Neutre Man","Stick neutr. P"},
257
        {"GPS           ","enable GPS    ","Activer GPS   ","Enable GPS    "},
258
        {"GPS Modus St. ","GPS mode contr","Def mode GPS  ","GPS mode contr"},
259
        {"Dynamic PH    ","Dynamic PH    ","Dynamic PH    ","Dynamic PH    "},
260
        {"CH Höhe       ","CH High       ","CH High       ","CH hoogte     "},
261
        {"Carefree St.  ","Carefree Ctrl ","Carefree Ctrl ","Carefree Ctrl "},
262
        {"Teachable Care","Teachable Care","Teachable Care","Teachable Care"},
263
        {"Motor Sich.Sch","Mot.Safety Sw.","Mot.Safety Sw.","Mot.saf.schak."},
264
        {"Orientierung  ","Orientation   ","Orientierung  ","Orientatie    "},
265
 
266
};
267