Rev 370 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 370 | Rev 371 | ||
---|---|---|---|
Line 21... | Line 21... | ||
21 | MM3_calib_struct MM3_calib; |
21 | MM3_calib_struct MM3_calib; |
Line 22... | Line 22... | ||
22 | 22 | ||
23 | 23 | ||
24 | //############################################################################ |
24 | //############################################################################ |
25 | // Initialisierung |
25 | // Initialisierung |
26 | void MM3_init(void) |
26 | void init_MM3(void) |
27 | //############################################################################ |
27 | //############################################################################ |
28 | { |
28 | { |
Line 41... | Line 41... | ||
41 | } |
41 | } |
Line 42... | Line 42... | ||
42 | 42 | ||
43 | 43 | ||
44 | //############################################################################ |
44 | //############################################################################ |
45 | // Wird in der SIGNAL (SIG_OVERFLOW0) aufgerufen |
45 | // Wird in der SIGNAL (SIG_OVERFLOW0) aufgerufen |
46 | void MM3_timer0(void) |
46 | void timer0_MM3(void) |
47 | //############################################################################ |
47 | //############################################################################ |
48 | { |
48 | { |
49 | switch (MM3.STATE) |
49 | switch (MM3.STATE) |
Line 191... | Line 191... | ||
191 | } |
191 | } |
Line 192... | Line 192... | ||
192 | 192 | ||
193 | 193 | ||
194 | //############################################################################ |
194 | //############################################################################ |
195 | // Neigungskompensierung und Berechnung der Ausrichtung |
195 | // Neigungskompensierung und Berechnung der Ausrichtung |
196 | signed int MM3_heading(void) |
196 | signed int heading_MM3(void) |
197 | //############################################################################ |
197 | //############################################################################ |
198 | { |
198 | { |
199 | float sin_nick, cos_nick, sin_roll, cos_roll; |
199 | float sin_nick, cos_nick, sin_roll, cos_roll; |