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