Subversion Repositories Projects

Rev

Rev 734 | Rev 738 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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