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