Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1734 - 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
 
36
#define PAGES 14
37
#define PARAM_COUNT 152  //152 FC088L
38
#define PARAM_LENGTH 15
39
#define PARAM_NUM_LANG 4
40
 
41
//           German          Englisch   Französisch   Holländisch
42
 
43
prog_char param_pages[PAGES][PARAM_NUM_LANG][PARAM_LENGTH]= // zeilen,zeichen+1
44
{
45
        {"Kanäle        ","Channel       ","Canaux        ","Kanaal        "},
46
        {"Konfiguration ","main          ","Config        ","Configuratie  "},
47
        {"Stick         ","stick         ","Manche        ","Stick         "},
48
        {"Looping       ","Looping       ","Looping       ","Looping       "},
49
        {"Höhe          ","Altitude      ","Altitude      ","Hoogte        "},
50
        {"Kamera        ","Camera        ","Camera        ","Camera        "},
51
        {"NaviCtrl      ","NaviCtrl      ","NaviCtrl      ","NaviCtrl      "},
52
        {"Ausgänge      ","Outputs       ","Sorties       ","Uitgangen     "},
53
        {"Verschiedenes ","Divers        ","Divers        ","Diversen      "},
54
        {"Gyro          ","Gyro          ","Gyro          ","Gyro          "},
55
        {"Benutzer      ","User          ","Parametres    ","Gebruiker     "},
56
        {"Achskopplung  ","Coupl Axes    ","Coupl Axes    ","Koppeling Ass "},
57
        {"Mixer-Setup   ","Config Mix    ","Config Mix    ","Config. Mixer "},
58
        {"Easy Setup    ","Config Easy   ","Config Easy   ","Config. easy  "},
59
 
60
 
61
 
62
};
63
 
64
 
65
//Namen
66
prog_char  param_names[PARAM_COUNT][PARAM_NUM_LANG][PARAM_LENGTH]=
67
{
68
        // group 0 (kanaele) 1-15
69
 
70
        {"Gas           ","Throttle      ","Gaz           ","Gas           "},
71
        {"Gier          ","Gier          ","Lacet         ","Gier          "},
72
        {"Nick          ","Nick          ","Tangage       ","Nick          "},
73
        {"Roll          ","Roll          ","Roulis        ","Roll          "},
74
        {"Poti 1        ","Poti 1        ","Poti 1        ","Poti 1        "},
75
        {"Poti 2        ","Poti 2        ","Poti 2        ","Poti 2        "},
76
        {"Poti 3        ","Poti 3        ","Poti 3        ","Poti 3        "},
77
        {"Poti 4        ","Poti 4        ","Poti 4        ","Poti 4        "},
78
        {"Poti 5        ","Poti 5        ","Poti 5        ","Poti 5        "},
79
        {"Poti 6        ","Poti 6        ","Poti 6        ","Poti 6        "},
80
        {"Poti 7        ","Poti 7        ","Poti 7        ","Poti 7        "},
81
        {"Poti 8        ","Poti 8        ","Poti 8        ","Poti 8        "},
82
        {"Motor Sich.Sch","Mot.Safety Sw.","Mot.Safety Sw.","Mot.saf.schak."},
83
        {"Motor Swi.Mode","Motor Swi.Mode","Motor Swi.Mode","Motor Swi.Mode"},
84
        {"Erw. Sig. Pr. ","Enh. Sig.Check","Recep Renforce","Uitg.Sig.Check"},
85
        {"Empfänger Typ ","Receiver Type ","Type Recepteur","Ontvang. Type "},
86
 
87
 
88
        // group 1 (main) 16-23
89
 
90
        {"Höhenregeler  ","Ctrl Altitude ","Ctrl Altitude ","Ctrl Hoogte   "},
91
        {"GPS           ","GPS           ","GPS           ","GPS           "},
92
        {"Kompass       ","Compass       ","Compas        ","Kompas        "},
93
        {"KompFest Ausr.","CompOrient.Fix","Maintien Cap  ","Kompas vast   "},
94
        {"Erw. Sig. Pr. ","Sens.RcvSigVal","Ctrl Ren Recep","ExtRec Signaal"},
95
        {"Achs(e.)koppl.","Axis Couping  ","Decouplage Axe","As koppeling  "},
96
        {"Drehratenbegr.","RotRate limit.","Limit Vit. Rot","RotRate limit."},
97
        {"Heading Hold  ","Nick/Roll     ","Orient. Fixe  ","Koers vast    "},
98
 
99
 
100
        // group 2 (stick) 24-27
101
 
102
        {"Nick/Roll P   ","Nick/Roll P   ","Roul/Tang P   ","Nick/Roll P   "},
103
        {"Nick/Roll D   ","Nick/Roll D   ","Roul/Tang D   ","Nick/Roll D   "},
104
        {"Gier P        ","Gier P        ","Lacet P       ","Gier P        "},
105
        {"Externe Kontr.","Extern Ctrl   ","Ctrl Externe  ","Extern Control"},
106
 
107
 
108
        // group3 : (looping) 28-36
109
 
110
        {"Looping oben  ","Looping up    ","Looping Avant ","Looping omhoog"},
111
        {"Looping unten ","Looping down  ","Looping Arrier","Looping bened."},
112
        {"Looping links ","Looping left  ","Looping Gauche","Looping links "},
113
        {"Looping rechts","Looping right ","Looping Droite","Looping rechts"},
114
        {"Gas Limit     ","Throttle Limit","Limite Gaz    ","Gas Limiet    "},
115
        {"Ansprechschw. ","Resp. Thresh. ","Seuil Reponse ","Drempelwaarde "},
116
        {"Hysterese     ","Hysteresis    ","Hysteresis    ","Hysterese     "},
117
        {"Umkehrp. Nick ","Turnover Nick ","Invers Roulis ","Nick geinvert."},
118
        {"Umkehrp. Roll ","Turnover Roll ","Invers Tangage","Roll geinvert."},
119
 
120
 
121
        // group 4 (hoehe) 37-50
122
 
123
        {"Höhenregelung ","Altitude Ctrl ","Ctrl Altitude ","Hoogte Control"},
124
        {"J:HBeg,N:Vario","Y:LimH,N:Vario","Y:LimH,N:Vario","Y:LimH,N:Vario"},
125
        {"Schalter f. H.","use Sw. f.Setp","Swith Hauteur ","Schak. Hoogte "},
126
        {"akust. Vario  ","acoustic Vario","Vario Acoustic","Akoest. Vario "},
127
        {"Sollhöhe      ","Setpoint      ","Hauteur Max   ","Gewenste hoogt"},
128
        {"Min. Gas      ","min. throttle ","Gaz Min       ","Minimaal gas  "},
129
        {"Höhe P        ","Altitude P    ","Altitude P    ","Hoogte P      "},
130
        {"Luftdruck D   ","Barometric D  ","Pression D    ","Barometr. D   "},
131
        {"Z-ACC         ","ACC Z         ","ACC Z         ","ACC Z         "},
132
        {"Max. Höhe     ","Max. Altitude ","Max. High     ","Max. hoogte   "},
133
        {"Verstärkung/R ","gain/rate     ","Gain/Frequence","Verst./rate   "},
134
        {"Schwebegas +/-","hoover varia. ","Var Vol Stat  ","hoover varia. "},
135
        {"GPS Z         ","GPS Z         ","GPS Z         ","GPS Z         "},
136
        {"Stick Neutr. P","stick neutr. P","Pos Neutre Man","stick neutr. P"},
137
 
138
 
139
        // group 5 : (kamera) 51-68
140
 
141
        {"Nick S. Anst. ","nick serv ctrl","Asserv Tangage","nick serv ctrl"},
142
        {"Nick Kompens. ","nick compens. ","Comp Tangage  ","nick compens. "},
143
        {"Nick Umkehren ","nick inv. dir.","Inverser Roul ","nick inv.rich."},
144
        {"Nick Servo min","nick servo min","Servo Min     ","nick servo min"},
145
        {"Nick Servo max","nick servo max","Servo Max     ","nick servo max"},
146
        {"Nick Serv Filt","Nick Serv Filt","Nick Serv Filt","Nick Serv Filt"},  //FC0.87
147
 
148
        {"Roll S. Anst. ","roll serv ctrl","Asserv Roulis ","roll serv ctrl"},
149
        {"Roll Kompens. ","roll compens. ","Comp Tangage  ","roll compens. "},
150
        {"Roll Umkehren ","roll inv. dir.","Inverser Tang ","roll omkeren  "},
151
        {"Roll Servo min","roll servo min","Servo Min     ","roll servo min"},
152
        {"Roll Servo max","roll servo max","Servo Max     ","roll servo max"},
153
        {"Roll Serv Filt","Roll Serv Filt","Roll Serv Filt","Roll Serv Filt"},  //FC0.87
154
 
155
        {"Anst. Geschw. ","servo refresh ","Taux Refresh  ","Servo refresh "},
156
        {"Manuelle Gesch","manuell Speed ","Vitesse Man.  ","Snelh.handbed."},
157
        {"Cam Richtung  ","Cam Orient    ","Cam Orient    ","Camera richt. "},
158
        {"Servo 3       ","Servo 3       ","Servo 3       ","Servo 3       "},
159
        {"Servo 4       ","Servo 4       ","Servo 4       ","Servo 4       "},
160
        {"Servo 5       ","Servo 5       ","Servo 5       ","Servo 5       "},
161
 
162
 
163
        // group 6 : (navictrl) 69-88                      "CH Hoogte     "
164
 
165
        {"GPS           ","enable GPS    ","Activer GPS   ","enable GPS    "},
166
        {"GPS Modus St. ","GPS mode contr","Def Mode GPS  ","GPS mode contr"},
167
        {"GPS Verstärk. ","GPS Gain      ","Gain GPS      ","GPS versterk. "},
168
        {"GPS St. Schw. ","GPS stick thre","Seuil Manche  ","GPS st. dremp."},
169
        {"Min. Sat.     ","Min. Sat.     ","Nbre Min. Sat.","Min. Sat.     "},
170
        {"GPS-P         ","GPS-P         ","GPS-P         ","GPS-P         "},
171
        {"GPS-I         ","GPS-I         ","GPS-I         ","GPS-I         "},
172
        {"GPS-D         ","GPS-D         ","GPS-D         ","GPS-D         "},
173
        {"P Limit       ","Limit  P      ","Limite P      ","Limiet  P     "},
174
        {"I Limit       ","Limit  I      ","Limite I      ","Limiet  I     "},
175
        {"D Limit       ","Limit  D      ","Limite D      ","Limiet  D     "},
176
        {"GPS Acc       ","GPS Acc       ","Accel GPS     ","GPS Acc       "},
177
        {"GPS Windkorr. ","GPS Wind Corr.","Correct Vent  ","GPS Wind Corr."},
178
        {"Bremswirkung  ","Speed compens.","Compens Vit   ","Remwerking    "},
179
        {"GPS max. Rad. ","GPS max.radius","Rayon GPS Max ","GPS max.radius"},
180
        {"GPS Winkel Li.","GPS angl.limit","Limit Angl GPS","GPS hoek lim. "},
181
        {"PH Login time ","PH login time ","Tps Memoris   ","PH login tijd "},
182
        {"Dynamic PH    ","Dynamic PH    ","Dynamic PH    ","Dynamische PH "},
183
        {"GPS m. Rad dPH","GPS m. Rad dPH","GPS m. Rad dPH","GPS m. Rad dPH"}, //FC0.87
184
        {"CH Höhe       ","CH Altitude   ","CH Altitude   ","CH Hoogte     "},
185
 
186
 
187
        // group 7 : (ausgaenge) 89-98
188
 
189
        {"LED1 Bitmaske ","Out1 Bitmask  ","Bitmask S1    ","Uitg1 Bitpatr."},
190
        {"     Timing   ","Out1 Timing   ","Horloge S1    ","Uitg1 Timing  "},
191
        {"     sofort an","Activ         ","Actif         ","Direct aan    "},
192
        {"     n.m.Motor","Act. wi. Motor","Actif Au Repos","Akt. motor uit"},
193
        {"LED2 Bitmaske ","Out2 Bitmask  ","Bitmask S2    ","Uitg2 Bitpatr."},
194
        {"     Timing   ","Out2 Timing   ","Horloge S2    ","Uitg2 Timing  "},
195
        {"     sofort an","Activ         ","Actif         ","Direct aan    "},
196
        {"     n.m.Motor","Act. wi. Motor","Actif Au Repos","Akt. motor uit"},
197
        {"Out1 Vmin.Warn","Out1 undervolt","Al Undervoltag","Uitg1 ondersp."},
198
        {"Out2 Vmin.Warn","Out2 undervolt","Al Undervoltag","Uitg2 ondersp."},
199
 
200
 
201
        // group 8 : (verschiedenes) 99-113
202
 
203
        {"Min. Gas      ","min. throttle ","Gaz Min.      ","minimaal gas  "},
204
        {"Max. Gas      ","max. throttle ","Gaz Max.      ","maximaal gas  "},
205
        {"Kompasswirkung","compass effect","Effet compas  ","Kompas effect "},
206
        {"Carefree St.  ","Carefree Ctrl ","Carefree Ctrl ","Carefree Ctrl "},
207
        {"Teachable Care","Teachable Care","Teachable Care","Teachable Care"},
208
        {"Unterspannung ","undervoltage  ","Sous Tension  ","Onderspanning "},
209
        {"Volt Referenz ","Volt Referenz ","Tension Ref   ","Ref. spanning "},
210
        {"Not Gas Zeit  ","Emerg.Thr.Time","Duree secours ","Nood gas tijd "},
211
        {"Not Gas       ","Emerg.Throttle","Gaz de secours","Nood gas      "},
212
        {"Fails. CH Time","Fails. CH Time","Fails. CH Time","Fails. CH Tijd"},
213
        {"Fails. Channel","Fails. Channel","Fails. Channel","Fails. Channel"}, //FC 0.87
214
        {"k.Summer o Sen","n beep act TX ","n beep act TX ","n beep act TX "}, // Pos Change FC0.87
215
        {"Vario fail Alt","Vario fail Alt","Vario fail Alt","Vario fail Alt"}, //FC 0.87
216
        {"Compass Error ","Compass Error ","Compass Error ","Kompas Error  "},
217
        {"k.Start o.SD-K","n st. wtho SD ","n st. wtho SD ","n st. wtho SD "}, //FC 0.87
218
        {"k.Start o.GPS ","n st. wtho GPS","n st. wtho GPD","n st. wtho GPS"}, //FC 0.88L
219
 
220
        // group 9 : (gyro) 114-126
221
 
222
        {"Gyro P        ","Gyro P        ","Gyro P        ","Gyro P        "},
223
        {"Gyro I        ","Gyro I        ","Gyro I        ","Gyro I        "},
224
        {"Gyro D        ","Gyro D        ","Gyro D        ","Gyro D        "},
225
        {"Gier P        ","Lacet P       ","Lacet P       ","Gier P        "},
226
        {"Gier I        ","Lacet I       ","Lacet I       ","Gier I        "},
227
        {"Dynamische St.","dynamic stabi.","Stab Dynamique","Dynamis. stab."},
228
        {"Drehratenbeg. ","RotRate limit.","Limit Dit Rota","Toerental lim."},
229
        {"ACC/Gyro Fak. ","ACC/Gyro Fact ","ACC/Gyro Fact ","ACC/Gyro Fact "},
230
        {"ACC/Gyro Komp.","Comp ACC/Gyro ","Comp ACC/Gyro ","Comp ACC/Gyro "},
231
        {"Hauptregler I ","Main I        ","Regul Princ I ","Hoofdregel. I "},
232
        {"Drifkompensat.","drift Compens.","Compens Deriv ","Drift compens."},
233
        {"Gyro stab.    ","Gyro stability","Gyro Stability","Gyro stabilit."},
234
        {"Motor smooth  ","Motor smooth  ","Motor Smooth  ","Motor smooth  "},
235
 
236
 
237
        // group 10: (benutzer) 127-134
238
 
239
        {"Parameter 1   ","Parameter 1   ","Parameter 1   ","Parameter 1   "},
240
        {"Parameter 2   ","Parameter 2   ","Parameter 2   ","Parameter 2   "},
241
        {"Parameter 3   ","Parameter 3   ","Parameter 3   ","Parameter 3   "},
242
        {"Parameter 4   ","Parameter 4   ","Parameter 4   ","Parameter 4   "},
243
        {"Parameter 5   ","Parameter 5   ","Parameter 5   ","Parameter 5   "},
244
        {"Parameter 6   ","Parameter 6   ","Parameter 6   ","Parameter 6   "},
245
        {"Parameter 7   ","Parameter 7   ","Parameter 7   ","Parameter 7   "},
246
        {"Parameter 8   ","Parameter 8   ","Parameter 8   ","Parameter 8   "},
247
 
248
 
249
        // group 11: (achskopplung) 135-138
250
 
251
        {"Achs(e.)koppl.","(De)Coupl Axes","(De)Coupl Axes","As koppeling  "},
252
        {"Gier pos. Kopp","Retroac lacet ","Retroac Lacet ","Gier pos. kop."},
253
        {"Nick/Roll Kopp","Retro roul/tan","Retro Roul/Tan","Nick/Roll kop."},
254
        {"Gier Korrektur","Correct lacet ","Correct Lacet ","Gier correctie"},
255
 
256
 
257
        // group 12: (mixer) 139
258
 
259
        {"Orientierung  ","Orientierung  ","Orientation   "},
260
 
261
 
262
        // group 13 (easy) 140-150
263
 
264
        {"Höhenregelung ","Altitude Ctrl ","Ctrl Altitude ","Hoogte Contr. "},
265
        {"Sollhöhe      ","Setpoint      ","Hauteur Max   ","Gewenst.hoogte"},
266
        {"Stick Neutr. P","stick neutr. P","Pos Neutre Man","Stick neutr. P"},
267
        {"GPS           ","enable GPS    ","Activer GPS   ","Enable GPS    "},
268
        {"GPS Modus St. ","GPS mode contr","Def mode GPS  ","GPS mode contr"},
269
        {"Dynamic PH    ","Dynamic PH    ","Dynamic PH    ","Dynamic PH    "},
270
        {"CH Höhe       ","CH High       ","CH High       ","CH hoogte     "},
271
        {"Carefree St.  ","Carefree Ctrl ","Carefree Ctrl ","Carefree Ctrl "},
272
        {"Teachable Care","Teachable Care","Teachable Care","Teachable Care"},
273
        {"Motor Sich.Sch","Mot.Safety Sw.","Mot.Safety Sw.","Mot.saf.schak."},
274
        {"Orientierung  ","Orientation   ","Orientierung  ","Orientatie    "},
275
 
276
};
277