Subversion Repositories Projects

Rev

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

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