Subversion Repositories Projects

Rev

Rev 753 | Rev 758 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 753 Rev 757
1
/****************************************************************************
1
/****************************************************************************
2
 *   Copyright (C) 2009-2010 by Claas Anders "CaScAdE" Rathje               *
2
 *   Copyright (C) 2009-2010 by Claas Anders "CaScAdE" Rathje               *
3
 *   admiralcascade@gmail.com                                               *
3
 *   admiralcascade@gmail.com                                               *
4
 *   Project-URL: http://www.mylifesucks.de/oss/c-osd/                      *
4
 *   Project-URL: http://www.mylifesucks.de/oss/c-osd/                      *
5
 *                                                                          *
5
 *                                                                          *
6
 *   This program is free software; you can redistribute it and/or modify   *
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   *
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.         *
8
 *   the Free Software Foundation; either version 2 of the License.         *
9
 *                                                                          *
9
 *                                                                          *
10
 *   This program is distributed in the hope that it will be useful,        *
10
 *   This program is distributed in the hope that it will be useful,        *
11
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of         *
11
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of         *
12
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
12
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
13
 *   GNU General Public License for more details.                           *
13
 *   GNU General Public License for more details.                           *
14
 *                                                                          *
14
 *                                                                          *
15
 *   You should have received a copy of the GNU General Public License      *
15
 *   You should have received a copy of the GNU General Public License      *
16
 *   along with this program; if not, write to the                          *
16
 *   along with this program; if not, write to the                          *
17
 *   Free Software Foundation, Inc.,                                        *
17
 *   Free Software Foundation, Inc.,                                        *
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
19
 ****************************************************************************/
19
 ****************************************************************************/
-
 
20
 
-
 
21
20100412-2125
-
 
22
  *added mph/ft (two new chars added, reflash characters if you need ft/mph)
-
 
23
  *AGRESSiVA-horizion now switchable via menu
-
 
24
  *reworked menu a bit
-
 
25
  *switched from -O2 to -Os because of the added stuff
20
 
26
 
21
20100403-0115
27
20100403-0115
22
  *RC-RSSI now shown if available (RC_Quality is still fallback, still needs FC patch)
28
  *RC-RSSI now shown if available (RC_Quality is still fallback, still needs FC patch)
23
  +AGRESSiVA-horizion to main trunk (NEW_ARTHORIZON 1 to test, needs new chars)
29
  +AGRESSiVA-horizion to main trunk (NEW_ARTHORIZON 1 to test, needs new chars)
24
  +chars needed for above mod to chars.mcm and chars.c
30
  +chars needed for above mod to chars.mcm and chars.c
25
 
31
 
26
20100218-2330
32
20100218-2330
27
  *hopefully fixed the laggy osd data problem
33
  *hopefully fixed the laggy osd data problem
28
  -send_data_mk has been striked out to save space
34
  -send_data_mk has been striked out to save space
29
  @nc-mode should be small enough for bootloader again ( Program:   14986 bytes (91.5% Full) )
35
  @nc-mode should be small enough for bootloader again ( Program:   14986 bytes (91.5% Full) )
30
 
36
 
31
20100216-1430
37
20100216-1430
32
  *some menu stuff
38
  *some menu stuff
33
  *stats in nc_default do not disturb the bigvario anymore
39
  *stats in nc_default do not disturb the bigvario anymore
34
  *reduced code size from 16088 bytes (98.2% Full) 15436 bytes (94.2% Full)
40
  *reduced code size from 16088 bytes (98.2% Full) 15436 bytes (94.2% Full)
35
 
41
 
36
20100214-1700
42
20100214-1700
37
  +mah wasted per flight (still counts up after landing, but space gets tight)
43
  +mah wasted per flight (still counts up after landing, but space gets tight)
38
  *init phase from 2000ms to 3000ms
44
  *init phase from 2000ms to 3000ms
39
  *init only takes place after first "valid" UBat is received (<4V should case the Mega to reset anyways)
45
  *init only takes place after first "valid" UBat is received (<4V should case the Mega to reset anyways)
40
 
46
 
41
20100212-2310
47
20100212-2310
42
  *adapted MK-datastructs to NC 0.18c
48
  *adapted MK-datastructs to NC 0.18c
43
  *added choice for current display measured by FC
49
  *added choice for current display measured by FC
44
 
50
 
45
20091109-1100
51
20091109-1100
46
  +fc-only mode by Josef "jopl" Plasil (MK3Mag on FC and no NC)
52
  +fc-only mode by Josef "jopl" Plasil (MK3Mag on FC and no NC)
47
  *usart1 routine to filter out unwanted datasets (also big thanks to jopl)
53
  *usart1 routine to filter out unwanted datasets (also big thanks to jopl)
48
 
54
 
49
20091102-2205
55
20091102-2205
50
  +nc/fc software version display in bootup
56
  +nc/fc software version display in bootup
51
  *changed checkbytes because of previously removed EEPROM data
57
  *changed checkbytes because of previously removed EEPROM data
52
 
58
 
53
20091030-2222
59
20091030-2222
54
	*synced NaviStruct to NC Code v0.17e
60
	*synced NaviStruct to NC Code v0.17e
55
	(since nothing of the new stuff is used right now, older NC version will still work)
61
	(since nothing of the new stuff is used right now, older NC version will still work)
56
 
62
 
57
20090714-2100
63
20090714-2100
58
	*fixed the flags (hopefully) for C-Strom and stuff
64
	*fixed the flags (hopefully) for C-Strom and stuff
59
 
65
 
60
20090706-2000
66
20090706-2000
61
    *hopefully fixed the new 10th number showing functions
67
    *hopefully fixed the new 10th number showing functions
62
    +support for GPS height instead of Baro
68
    +support for GPS height instead of Baro
63
 
69
 
64
20090703-0005
70
20090703-0005
65
    *write-number-functions changed, using itoa now, saves space, should be faster
71
    *write-number-functions changed, using itoa now, saves space, should be faster
66
    *inline added for basic max7456-spi_send because saves procedure call (^= time)
72
    *inline added for basic max7456-spi_send because saves procedure call (^= time)
67
 
73
 
68
20090627-1415
74
20090627-1415
69
	*ALL characters now in Progmem, from now on there will be only ONE char-file!
75
	*ALL characters now in Progmem, from now on there will be only ONE char-file!
70
 
76
 
71
20090612-2100
77
20090612-2100
72
    *spi transfer now struct driven (needs C-Strom 20090612-2100 now!!!)
78
    *spi transfer now struct driven (needs C-Strom 20090612-2100 now!!!)
73
    *lesser spi update rate (caused problems on some strom-slaves)
79
    *lesser spi update rate (caused problems on some strom-slaves)
74
    *voltage gets transfered via spi as well
80
    *voltage gets transfered via spi as well
75
    *menu to switch display of 2nd voltage measured by C-Strom on and off
81
    *menu to switch display of 2nd voltage measured by C-Strom on and off
76
 
82
 
77
20090604-1350
83
20090604-1350
78
	*bugfix for stats
84
	*bugfix for stats
79
 
85
 
80
20090604-1330
86
20090604-1330
81
	*possible to choose between different osd-layouts (via menu)
87
	*possible to choose between different osd-layouts (via menu)
82
 
88
 
83
20090604-0700
89
20090604-0700
84
	+(shaddi)osd_ncmode_minimal for less symbols during FPV
90
	+(shaddi)osd_ncmode_minimal for less symbols during FPV
85
 
91
 
86
20090601-2233
92
20090601-2233
87
	*(woggle) changed timer init an interupt to be more precise
93
	*(woggle) changed timer init an interupt to be more precise
88
	*(woggle) remove all warning during compile
94
	*(woggle) remove all warning during compile
89
	*(woggle) simplify draw_big_variometer
95
	*(woggle) simplify draw_big_variometer
90
	*(woggle) put compass rose to PROGMEM
96
	*(woggle) put compass rose to PROGMEM
91
	*(woggle) put directions array to PROGMEM
97
	*(woggle) put directions array to PROGMEM
92
 
98
 
93
20090525-2305
99
20090525-2305
94
	+HUD on/off via RC (connect to PPM, according to manual) testing stuff
100
	+HUD on/off via RC (connect to PPM, according to manual) testing stuff
95
 
101
 
96
20090523-1150
102
20090523-1150
97
	+pal/ntsc changable in menu (applied immedeately!)
103
	+pal/ntsc changable in menu (applied immedeately!)
98
 
104
 
99
20090519-2245
105
20090519-2245
100
    *mah corrected
106
    *mah corrected
101
    +config gets saved now (menu item!)
107
    +config gets saved now (menu item!)
102
    *source moved a bit
108
    *source moved a bit
103
 
109
 
104
20090519-0115
110
20090519-0115
105
    +mah currently wasted
111
    +mah currently wasted
106
    *some small changes
112
    *some small changes
107
 
113
 
108
20090517-2345
114
20090517-2345
109
	*modded the real alpha stuff i have been talking about below
115
	*modded the real alpha stuff i have been talking about below
110
 
116
 
111
20090516-2345
117
20090516-2345
112
	+some really testing stuff 'bout current measurement, more to come
118
	+some really testing stuff 'bout current measurement, more to come
113
 
119
 
114
20090513-2350
120
20090513-2350
115
	*cellnumber autoconfig modified, offset set to 1,5V
121
	*cellnumber autoconfig modified, offset set to 1,5V
116
	*copy paste nick/roll error fixed
122
	*copy paste nick/roll error fixed
117
	*clean after build in dist.sh
123
	*clean after build in dist.sh
118
	+a little shellscript to auto-build the files (testing)
124
	+a little shellscript to auto-build the files (testing)
119
	*osd-layouts in seperate files so including own layouts should get easier
125
	*osd-layouts in seperate files so including own layouts should get easier
120
	+build date is displayed during init to know which version you are runing
126
	+build date is displayed during init to know which version you are runing
121
 
127
 
122
20090513-1040
128
20090513-1040
123
    *some code movement
129
    *some code movement
124
    +artificial horizon for FC-ONLY mode
130
    +artificial horizon for FC-ONLY mode
125
 
131
 
126
20090512-2100
132
20090512-2100
127
    +some FCONLY basics (set FCONLY to 1 in main.h to use it)
133
    +some FCONLY basics (set FCONLY to 1 in main.h to use it)
128
 
134
 
129
20090511-2345
135
20090511-2345
130
    *battery voltages now calculated according to CELL_VOLT_MIN CELL_VOLT_MAX and CELL_NUM
136
    *battery voltages now calculated according to CELL_VOLT_MIN CELL_VOLT_MAX and CELL_NUM
131
    *CELL_NUM -1 causes a rough auto detection of cell number
137
    *CELL_NUM -1 causes a rough auto detection of cell number
132
    -UBAT_WRN and UBAT_MAX are now deprecated
138
    -UBAT_WRN and UBAT_MAX are now deprecated
133
 
139
 
134
20090427-2315
140
20090427-2315
135
    +write_gps_pos(...) (needs to be tested)
141
    +write_gps_pos(...) (needs to be tested)
136
    +gps position is shown in stats screen for testing purpose
142
    +gps position is shown in stats screen for testing purpose
137
 
143
 
138
20090427-2131
144
20090427-2131
139
    *stats are only collected while engines running (shaddi)
145
    *stats are only collected while engines running (shaddi)
140
 
146
 
141
20090427-2102
147
20090427-2102
142
    *fixed maximum distance in stats (shaddi)
148
    *fixed maximum distance in stats (shaddi)
143
 
149
 
144
20090427-2050
150
20090427-2050
145
    *clear() now faster
151
    *clear() now faster
146
    *fixed calculation of max speed in stats (shaddi)
152
    *fixed calculation of max speed in stats (shaddi)
147
    *littel typo in artificial horizon (thx joko)
153
    *littel typo in artificial horizon (thx joko)
148
    *stats are only shown AFTER flight (more specific, after motors had been on at least once)
154
    *stats are only shown AFTER flight (more specific, after motors had been on at least once)
149
    +indication icon for serial link (requires new character 198)
155
    +indication icon for serial link (requires new character 198)
150
    +indication icon for manual controll (stick > stick threshold)
156
    +indication icon for manual controll (stick > stick threshold)
151
    (Character set 192 needs to be reflashed since new icon is in it)
157
    (Character set 192 needs to be reflashed since new icon is in it)
152
 
158
 
153
20090420-0205
159
20090420-0205
154
    *reset-bug fixed
160
    *reset-bug fixed
155
    *moved code a bit
161
    *moved code a bit
156
 
162
 
157
20090419-2145
163
20090419-2145
158
	*reset-bug workaround in usart1.c: usart1_DisableTXD and usart1_EnableTXD
164
	*reset-bug workaround in usart1.c: usart1_DisableTXD and usart1_EnableTXD
159
 
165
 
160
20090419-1900
166
20090419-1900
161
	*fixed bug in heading-fine conv for bearing to home
167
	*fixed bug in heading-fine conv for bearing to home
162
 
168
 
163
20090419-1245
169
20090419-1245
164
	*compass characters bigger
170
	*compass characters bigger
165
	*battery position
171
	*battery position
166
	+voltage-symbol to battery-voltage
172
	+voltage-symbol to battery-voltage
167
	(Character Set 208 needs to be reflashed since compass chars are in it)
173
	(Character Set 208 needs to be reflashed since compass chars are in it)
168
 
174
 
169
20090418-2015
175
20090418-2015
170
	*fixed bug in Character Set 128 (reflash it if you already flashed it!)
176
	*fixed bug in Character Set 128 (reflash it if you already flashed it!)
171
	+another set of vario chars
177
	+another set of vario chars
172
	*changed vario to use new characters
178
	*changed vario to use new characters
173
	*moved vario/home-bearing positions
179
	*moved vario/home-bearing positions
174
	*big vario now enabled via menu or BIGVARIO
180
	*big vario now enabled via menu or BIGVARIO
175
	(Character Set 112 needs to be flashed)
181
	(Character Set 112 needs to be flashed)
176
 
182
 
177
20090418-1235
183
20090418-1235
178
	+big vario for testing purpose
184
	+big vario for testing purpose
179
	(Character Set 192 needs to be flashed)
185
	(Character Set 192 needs to be flashed)
180
 
186
 
181
20090418-0100
187
20090418-0100
182
	*variometer uses more steps (9 instead of 5)
188
	*variometer uses more steps (9 instead of 5)
183
	*home-arrow is now home-clock using more steps (22,5° resolution)
189
	*home-arrow is now home-clock using more steps (22,5° resolution)
184
	+visual battery-gauge according to difference between UBAT_WRN and UBAT_MAX
190
	+visual battery-gauge according to difference between UBAT_WRN and UBAT_MAX
185
 
191
 
186
20090417-1115
192
20090417-1115
187
	*changed calculation of km/h (thx wowie)
193
	*changed calculation of km/h (thx wowie)
188
	*added JochenK_(joko)'s characters
194
	*added JochenK_(joko)'s characters
189
	(Character-Sets 128, 136, 144, 152, 160, 168, 176 and 184 need to be flashed!)
195
	(Character-Sets 128, 136, 144, 152, 160, 168, 176 and 184 need to be flashed!)
190
 
196
 
191
20090408-1245 (shaddi)
197
20090408-1245 (shaddi)
192
	*fixed distance towards home
198
	*fixed distance towards home
193
 
199
 
194
20090408-0035
200
20090408-0035
195
	*rewrote number->display functions
201
	*rewrote number->display functions
196
	*fixed height bug (uint vs int)
202
	*fixed height bug (uint vs int)
197
 
203
 
198
20090407-2100
204
20090407-2100
199
    +added request of OSD data, disrequest of debug data and uptime reset to menu
205
    +added request of OSD data, disrequest of debug data and uptime reset to menu
200
    -removed the uptime-reset binding from S2
206
    -removed the uptime-reset binding from S2
201
    +pgm space for some strings to save _normal_ data space
207
    +pgm space for some strings to save _normal_ data space
202
    *some code movement
208
    *some code movement
203
 
209
 
204
20090406-0130
210
20090406-0130
205
	*MK-Datastruct updated to work with NaviCtrl 0.15c firmware
211
	*MK-Datastruct updated to work with NaviCtrl 0.15c firmware
206
	*changed flags from NO* to invers versions
212
	*changed flags from NO* to invers versions
207
	*enhanced the menu a bit
213
	*enhanced the menu a bit
208
	-artificial horizon at bootup, the menu is cooler imho
214
	-artificial horizon at bootup, the menu is cooler imho
209
 
215
 
210
20090405-0207
216
20090405-0207
211
	+NOOSD as requested
217
	+NOOSD as requested
212
	*height now corrected (thx lephisto) and displayed as .x up to 10m
218
	*height now corrected (thx lephisto) and displayed as .x up to 10m
213
 
219
 
214
20090402-0106
220
20090402-0106
215
	+ disabling the txd pin while not using it so it won't interfere with KopterTool usage (thx joko)
221
	+ disabling the txd pin while not using it so it won't interfere with KopterTool usage (thx joko)
216
	+ if no data has been received for over 2sec we re-request it
222
	+ if no data has been received for over 2sec we re-request it
217
	* tried source organisation a bit
223
	* tried source organisation a bit
218
 
224
 
219
20090401-1741 (shaddi)
225
20090401-1741 (shaddi)
220
	+ More precise Veriometer. Uses more more characters to show the speed of the movement
226
	+ More precise Veriometer. Uses more more characters to show the speed of the movement
221
	  (Character-Set 232 needs to be flashed!)
227
	  (Character-Set 232 needs to be flashed!)
222
 
228
 
223
20090331-1549
229
20090331-1549
224
	+ simple config menu during runtime, press S1 to jump in, S2 to cyle and S1 to accept choice
230
	+ simple config menu during runtime, press S1 to jump in, S2 to cyle and S1 to accept choice
225
	- S1 no longer requests the NC data
231
	- S1 no longer requests the NC data
226
 
232
 
227
20090331-1305
233
20090331-1305
228
	+ added more statistics
234
	+ added more statistics
229
	* corrected S1/S2 mapping (d'oh)
235
	* corrected S1/S2 mapping (d'oh)
230
	+ started simple mode controll, press S2 during bootup toggles artificial horizon
236
	+ started simple mode controll, press S2 during bootup toggles artificial horizon
231
 
237
 
232
20090329-1452
238
20090329-1452
233
	* fixed bearing to home
239
	* fixed bearing to home
234
	+ added flight stats (shown while engines off)
240
	+ added flight stats (shown while engines off)
235
	+ sat icon should indicate PH/CH/Free now
241
	+ sat icon should indicate PH/CH/Free now
236
	+ you need to flash characters 224-231 if you were using previous versions
242
	+ you need to flash characters 224-231 if you were using previous versions
237
 
243
 
238
20090327-2140
244
20090327-2140
239
	* fixed km/h (was cm/s)
245
	* fixed km/h (was cm/s)
240
	* fixed height m (was dm)
246
	* fixed height m (was dm)
241
	* modified incoming data speed to 100ms (was 200ms)
247
	* modified incoming data speed to 100ms (was 200ms)
242
 
248
 
243
20090326-2031
249
20090326-2031
244
	+ first binary release
250
	+ first binary release