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