Subversion Repositories Projects

Rev

Rev 2039 | Rev 2043 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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