Subversion Repositories Projects

Rev

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

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