Subversion Repositories Projects

Rev

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

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