Rev 955 | Rev 1281 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
932 | - | 1 | /**************************************************************************** |
902 | - | 2 | * Copyright (C) 2009-2011 by Claas Anders "CaScAdE" Rathje * |
321 | cascade | 3 | * admiralcascade@gmail.com * |
4 | * Project-URL: http://www.mylifesucks.de/oss/c-osd/ * |
||
5 | * * |
||
6 | * This program is free software; you can redistribute it and/or modify * |
||
7 | * it under the terms of the GNU General Public License as published by * |
||
8 | * the Free Software Foundation; either version 2 of the License. * |
||
9 | * * |
||
10 | * This program is distributed in the hope that it will be useful, * |
||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||
13 | * GNU General Public License for more details. * |
||
14 | * * |
||
15 | * You should have received a copy of the GNU General Public License * |
||
16 | * along with this program; if not, write to the * |
||
17 | * Free Software Foundation, Inc., * |
||
18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||
19 | ****************************************************************************/ |
||
497 | cascade | 20 | |
1197 | - | 21 | 20110825-1000 |
22 | *initial testing stuff for -45° rotated flights (X instead of +) |
||
23 | *some minor code changes |
||
24 | |||
955 | - | 25 | 20110605-1045 |
26 | *possible fix of the previous ugly RSSI hack |
||
27 | |||
954 | - | 28 | 20110604-1615 |
29 | +really ugly (untested) hack to get ACT DSL RSSI information in FC-Only mode |
||
30 | |||
952 | - | 31 | 20110523-1635 |
32 | *fixed statistics-accumulation in minimal-screen. |
||
33 | |||
942 | - | 34 | 20110331-1805 |
35 | +added possibility to blank the display with SJ1 (SJ1 closed = no HUD) |
||
36 | |||
941 | - | 37 | 20110331-1200 |
38 | *small adaption to NC 0.24b and FC 0.84a |
||
39 | *added CF-indicator icon |
||
40 | @To see the correct CF-indicator you will have to flash the characters! |
||
41 | |||
932 | - | 42 | 20110307-1845 |
43 | *added debug output option for MAX7456 emulation |
||
44 | *moved horizon one line higher when displaying GPS-Coordinates |
||
45 | *fixed small glitch in menu |
||
46 | |||
902 | - | 47 | 20110202-1323 |
48 | *added big speed indicator (credits to: uwerner) |
||
49 | *added possibility to show GPS-Coordinates during flight |
||
50 | *added more _brackets_ |
||
51 | @To see correct corner-chars when using scope, flash the character-set |
||
52 | included in this release! |
||
53 | |||
837 | - | 54 | 20101218-2030 |
55 | *added _brackets_ to mark a scope when using a second camera |
||
56 | (might help to remember what the second camera is filming) |
||
57 | @To see real corners, flash the new character-set included in this release! |
||
58 | |||
835 | - | 59 | 20101116-2110 |
60 | *increased buffer so the new config struct really fits (fixes garbage after setting name) |
||
61 | *fixed GPS-blink on startup |
||
62 | *re-enable some ascii-char mappings (some people do have underscores in their setting-names) |
||
63 | |||
833 | - | 64 | 20101115-2115 |
65 | *inserted missing new value in config-struct. should fix setting-name. |
||
66 | |||
832 | - | 67 | 20101115-0800 |
68 | *updated structs and flags to fit FC 0.80a && NC 0.20a |
||
69 | *sat-icon will blink when not enough sats are found (nc_mode_default) |
||
826 | - | 70 | |
71 | 20101008-0945 |
||
72 | *fixed EPi-Strom voltage-display when using FC-Ampere |
||
73 | |||
74 | 20101007-1555 |
||
75 | *added passive option: OSD will NOT request data after bootup |
||
76 | |||
809 | - | 77 | 20100908-2335 |
826 | - | 78 | *fixed height-offset causing different height values in OSD compared to MK-Tool when using baro-height (thx Neo360) |
809 | - | 79 | |
800 | - | 80 | 20100822-2300 |
826 | - | 81 | *removed debug-leftover in ppm.c (thx OktoMac) |
82 | *made number display-routines more stable when big numbers occur |
||
800 | - | 83 | |
787 | - | 84 | 20100803-0355 |
826 | - | 85 | *removed constantly requests for the NC Uart in NC mode which |
86 | caused problems when using OSD/MKTool at the same time |
||
787 | - | 87 | |
783 | - | 88 | 20100730-1345 |
826 | - | 89 | *added current setting display |
90 | *updated structs for FC 0.80 and NC 0.20 (old version will still work, just cosmetics) |
||
91 | *battery warn level now _can_ be taken from the FC-Settings |
||
92 | *corrected some defines so FC stuff is only in FC Builds and NC stuff only in NC builds |
||
783 | - | 93 | |
772 | - | 94 | 20100701-1745 |
826 | - | 95 | *hopefully fixed altimeter-stats |
96 | *some basic antenna tracking insertion for others to test |
||
766 | - | 97 | |
767 | - | 98 | 20100613-2255 |
826 | - | 99 | *corrected heigth-division-factor when using baro-height |
766 | - | 100 | |
762 | - | 101 | 20100531-1530 |
826 | - | 102 | *fixed bug in stats when max-distance > 999m |
762 | - | 103 | |
761 | - | 104 | 20100501-1130 |
826 | - | 105 | *distance to home now 4 digits for long distance flights |
106 | *max height and speed shown again in stats |
||
107 | *clear full screen before stats shown so the art-horizon does not bug us |
||
761 | - | 108 | |
758 | cascade | 109 | 20100419-0020 |
826 | - | 110 | *fixed bug causing PPM-based display on/off to fail |
111 | *fixed display of AGRESSiVA-horizion during motor run |
||
758 | cascade | 112 | |
757 | cascade | 113 | 20100412-2125 |
826 | - | 114 | *added mph/ft (two new chars added, reflash characters if you need ft/mph) |
115 | *AGRESSiVA-horizion now switchable via menu |
||
116 | *reworked menu a bit |
||
117 | *switched from -O2 to -Os because of the added stuff |
||
757 | cascade | 118 | |
753 | cascade | 119 | 20100403-0115 |
826 | - | 120 | *RC-RSSI now shown if available (RC_Quality is still fallback, still needs FC patch) |
121 | +AGRESSiVA-horizion to main trunk (NEW_ARTHORIZON 1 to test, needs new chars) |
||
122 | +chars needed for above mod to chars.mcm and chars.c |
||
753 | cascade | 123 | |
738 | cascade | 124 | 20100218-2330 |
826 | - | 125 | *hopefully fixed the laggy osd data problem |
126 | -send_data_mk has been striked out to save space |
||
127 | @nc-mode should be small enough for bootloader again ( Program: 14986 bytes (91.5% Full) ) |
||
738 | cascade | 128 | |
736 | cascade | 129 | 20100216-1430 |
826 | - | 130 | *some menu stuff |
131 | *stats in nc_default do not disturb the bigvario anymore |
||
132 | *reduced code size from 16088 bytes (98.2% Full) 15436 bytes (94.2% Full) |
||
736 | cascade | 133 | |
734 | cascade | 134 | 20100214-1700 |
826 | - | 135 | +mah wasted per flight (still counts up after landing, but space gets tight) |
136 | *init phase from 2000ms to 3000ms |
||
137 | *init only takes place after first "valid" UBat is received (<4V should case the Mega to reset anyways) |
||
734 | cascade | 138 | |
728 | cascade | 139 | 20100212-2310 |
826 | - | 140 | *adapted MK-datastructs to NC 0.18c |
141 | *added choice for current display measured by FC |
||
728 | cascade | 142 | |
685 | cascade | 143 | 20091109-1100 |
826 | - | 144 | +fc-only mode by Josef "jopl" Plasil (MK3Mag on FC and no NC) |
145 | *usart1 routine to filter out unwanted datasets (also big thanks to jopl) |
||
685 | cascade | 146 | |
677 | cascade | 147 | 20091102-2205 |
826 | - | 148 | +nc/fc software version display in bootup |
149 | *changed checkbytes because of previously removed EEPROM data |
||
677 | cascade | 150 | |
151 | 20091030-2222 |
||
152 | *synced NaviStruct to NC Code v0.17e |
||
153 | (since nothing of the new stuff is used right now, older NC version will still work) |
||
154 | |||
528 | cascade | 155 | 20090714-2100 |
156 | *fixed the flags (hopefully) for C-Strom and stuff |
||
157 | |||
523 | cascade | 158 | 20090706-2000 |
826 | - | 159 | *hopefully fixed the new 10th number showing functions |
160 | +support for GPS height instead of Baro |
||
523 | cascade | 161 | |
519 | cascade | 162 | 20090703-0005 |
826 | - | 163 | *write-number-functions changed, using itoa now, saves space, should be faster |
164 | *inline added for basic max7456-spi_send because saves procedure call (^= time) |
||
519 | cascade | 165 | |
514 | cascade | 166 | 20090627-1415 |
167 | *ALL characters now in Progmem, from now on there will be only ONE char-file! |
||
168 | |||
507 | cascade | 169 | 20090612-2100 |
826 | - | 170 | *spi transfer now struct driven (needs C-Strom 20090612-2100 now!!!) |
171 | *lesser spi update rate (caused problems on some strom-slaves) |
||
172 | *voltage gets transfered via spi as well |
||
173 | *menu to switch display of 2nd voltage measured by C-Strom on and off |
||
507 | cascade | 174 | |
499 | cascade | 175 | 20090604-1350 |
176 | *bugfix for stats |
||
507 | cascade | 177 | |
497 | cascade | 178 | 20090604-1330 |
179 | *possible to choose between different osd-layouts (via menu) |
||
499 | cascade | 180 | |
497 | cascade | 181 | 20090604-0700 |
182 | +(shaddi)osd_ncmode_minimal for less symbols during FPV |
||
183 | |||
489 | woggle | 184 | 20090601-2233 |
185 | *(woggle) changed timer init an interupt to be more precise |
||
186 | *(woggle) remove all warning during compile |
||
187 | *(woggle) simplify draw_big_variometer |
||
188 | *(woggle) put compass rose to PROGMEM |
||
189 | *(woggle) put directions array to PROGMEM |
||
389 | cascade | 190 | |
478 | cascade | 191 | 20090525-2305 |
477 | cascade | 192 | +HUD on/off via RC (connect to PPM, according to manual) testing stuff |
193 | |||
474 | cascade | 194 | 20090523-1150 |
195 | +pal/ntsc changable in menu (applied immedeately!) |
||
196 | |||
471 | cascade | 197 | 20090519-2245 |
826 | - | 198 | *mah corrected |
199 | +config gets saved now (menu item!) |
||
200 | *source moved a bit |
||
471 | cascade | 201 | |
468 | cascade | 202 | 20090519-0115 |
826 | - | 203 | +mah currently wasted |
204 | *some small changes |
||
468 | cascade | 205 | |
467 | cascade | 206 | 20090517-2345 |
207 | *modded the real alpha stuff i have been talking about below |
||
468 | cascade | 208 | |
465 | cascade | 209 | 20090516-2345 |
210 | +some really testing stuff 'bout current measurement, more to come |
||
211 | |||
459 | cascade | 212 | 20090513-2350 |
213 | *cellnumber autoconfig modified, offset set to 1,5V |
||
214 | *copy paste nick/roll error fixed |
||
215 | *clean after build in dist.sh |
||
216 | +a little shellscript to auto-build the files (testing) |
||
217 | *osd-layouts in seperate files so including own layouts should get easier |
||
218 | +build date is displayed during init to know which version you are runing |
||
219 | |||
220 | 20090513-1040 |
||
826 | - | 221 | *some code movement |
222 | +artificial horizon for FC-ONLY mode |
||
459 | cascade | 223 | |
454 | cascade | 224 | 20090512-2100 |
826 | - | 225 | +some FCONLY basics (set FCONLY to 1 in main.h to use it) |
459 | cascade | 226 | |
453 | cascade | 227 | 20090511-2345 |
826 | - | 228 | *battery voltages now calculated according to CELL_VOLT_MIN CELL_VOLT_MAX and CELL_NUM |
229 | *CELL_NUM -1 causes a rough auto detection of cell number |
||
230 | -UBAT_WRN and UBAT_MAX are now deprecated |
||
453 | cascade | 231 | |
412 | cascade | 232 | 20090427-2315 |
826 | - | 233 | +write_gps_pos(...) (needs to be tested) |
234 | +gps position is shown in stats screen for testing purpose |
||
412 | cascade | 235 | |
410 | shaddi | 236 | 20090427-2131 |
826 | - | 237 | *stats are only collected while engines running (shaddi) |
410 | shaddi | 238 | |
409 | shaddi | 239 | 20090427-2102 |
826 | - | 240 | *fixed maximum distance in stats (shaddi) |
409 | shaddi | 241 | |
407 | cascade | 242 | 20090427-2050 |
826 | - | 243 | *clear() now faster |
244 | *fixed calculation of max speed in stats (shaddi) |
||
245 | *littel typo in artificial horizon (thx joko) |
||
246 | *stats are only shown AFTER flight (more specific, after motors had been on at least once) |
||
247 | +indication icon for serial link (requires new character 198) |
||
248 | +indication icon for manual controll (stick > stick threshold) |
||
249 | (Character set 192 needs to be reflashed since new icon is in it) |
||
407 | cascade | 250 | |
389 | cascade | 251 | 20090420-0205 |
826 | - | 252 | *reset-bug fixed |
253 | *moved code a bit |
||
407 | cascade | 254 | |
387 | cascade | 255 | 20090419-2145 |
256 | *reset-bug workaround in usart1.c: usart1_DisableTXD and usart1_EnableTXD |
||
379 | cascade | 257 | |
386 | cascade | 258 | 20090419-1900 |
259 | *fixed bug in heading-fine conv for bearing to home |
||
260 | |||
385 | cascade | 261 | 20090419-1245 |
262 | *compass characters bigger |
||
263 | *battery position |
||
264 | +voltage-symbol to battery-voltage |
||
265 | (Character Set 208 needs to be reflashed since compass chars are in it) |
||
266 | |||
383 | cascade | 267 | 20090418-2015 |
268 | *fixed bug in Character Set 128 (reflash it if you already flashed it!) |
||
385 | cascade | 269 | +another set of vario chars |
383 | cascade | 270 | *changed vario to use new characters |
271 | *moved vario/home-bearing positions |
||
385 | cascade | 272 | *big vario now enabled via menu or BIGVARIO |
383 | cascade | 273 | (Character Set 112 needs to be flashed) |
385 | cascade | 274 | |
379 | cascade | 275 | 20090418-1235 |
276 | +big vario for testing purpose |
||
277 | (Character Set 192 needs to be flashed) |
||
383 | cascade | 278 | |
377 | cascade | 279 | 20090418-0100 |
280 | *variometer uses more steps (9 instead of 5) |
||
800 | - | 281 | *home-arrow is now home-clock using more steps (22,5� resolution) |
377 | cascade | 282 | +visual battery-gauge according to difference between UBAT_WRN and UBAT_MAX |
321 | cascade | 283 | |
375 | cascade | 284 | 20090417-1115 |
285 | *changed calculation of km/h (thx wowie) |
||
286 | *added JochenK_(joko)'s characters |
||
287 | (Character-Sets 128, 136, 144, 152, 160, 168, 176 and 184 need to be flashed!) |
||
288 | |||
367 | cascade | 289 | 20090408-1245 (shaddi) |
290 | *fixed distance towards home |
||
291 | |||
349 | cascade | 292 | 20090408-0035 |
293 | *rewrote number->display functions |
||
294 | *fixed height bug (uint vs int) |
||
295 | |||
346 | cascade | 296 | 20090407-2100 |
826 | - | 297 | +added request of OSD data, disrequest of debug data and uptime reset to menu |
298 | -removed the uptime-reset binding from S2 |
||
299 | +pgm space for some strings to save _normal_ data space |
||
300 | *some code movement |
||
346 | cascade | 301 | |
339 | cascade | 302 | 20090406-0130 |
303 | *MK-Datastruct updated to work with NaviCtrl 0.15c firmware |
||
304 | *changed flags from NO* to invers versions |
||
305 | *enhanced the menu a bit |
||
306 | -artificial horizon at bootup, the menu is cooler imho |
||
307 | |||
336 | cascade | 308 | 20090405-0207 |
309 | +NOOSD as requested |
||
310 | *height now corrected (thx lephisto) and displayed as .x up to 10m |
||
311 | |||
331 | cascade | 312 | 20090402-0106 |
313 | + disabling the txd pin while not using it so it won't interfere with KopterTool usage (thx joko) |
||
314 | + if no data has been received for over 2sec we re-request it |
||
315 | * tried source organisation a bit |
||
316 | |||
330 | shaddi | 317 | 20090401-1741 (shaddi) |
318 | + More precise Veriometer. Uses more more characters to show the speed of the movement |
||
826 | - | 319 | (Character-Set 232 needs to be flashed!) |
331 | cascade | 320 | |
326 | cascade | 321 | 20090331-1549 |
322 | + simple config menu during runtime, press S1 to jump in, S2 to cyle and S1 to accept choice |
||
323 | - S1 no longer requests the NC data |
||
331 | cascade | 324 | |
324 | cascade | 325 | 20090331-1305 |
326 | + added more statistics |
||
327 | * corrected S1/S2 mapping (d'oh) |
||
328 | + started simple mode controll, press S2 during bootup toggles artificial horizon |
||
329 | |||
321 | cascade | 330 | 20090329-1452 |
324 | cascade | 331 | * fixed bearing to home |
332 | + added flight stats (shown while engines off) |
||
333 | + sat icon should indicate PH/CH/Free now |
||
334 | + you need to flash characters 224-231 if you were using previous versions |
||
321 | cascade | 335 | |
336 | 20090327-2140 |
||
324 | cascade | 337 | * fixed km/h (was cm/s) |
338 | * fixed height m (was dm) |
||
339 | * modified incoming data speed to 100ms (was 200ms) |
||
321 | cascade | 340 | |
341 | 20090326-2031 |
||
677 | cascade | 342 | + first binary release |