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