Subversion Repositories Projects

Rev

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

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