Subversion Repositories Projects

Rev

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

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