Subversion Repositories Projects

Rev

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

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