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