Subversion Repositories Projects

Rev

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

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