Subversion Repositories Projects

Rev

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

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