Subversion Repositories Projects

Rev

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

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