Rev 227 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 227 | Rev 229 | ||
---|---|---|---|
Line 111... | Line 111... | ||
111 | float sin_nick, cos_nick, sin_roll, cos_roll; |
111 | float sin_nick, cos_nick, sin_roll, cos_roll; |
112 | signed int x_corr, y_corr; |
112 | signed int x_corr, y_corr; |
113 | signed int heading; |
113 | signed int heading; |
Line 114... | Line 114... | ||
114 | 114 | ||
115 | //Berechung von sinus und cosinus |
115 | //Berechung von sinus und cosinus |
116 | sin_nick = (float)sin_i(MM3.NickGrad)/1000; |
116 | sin_nick = (float)sin_f(MM3.NickGrad); |
117 | cos_nick = (float)cos_i(MM3.NickGrad)/1000; |
117 | cos_nick = (float)cos_f(MM3.NickGrad); |
118 | sin_roll = (float)sin_i(MM3.RollGrad)/1000; |
118 | sin_roll = (float)sin_f(MM3.RollGrad); |
Line 119... | Line 119... | ||
119 | cos_roll = (float)cos_i(MM3.RollGrad)/1000; |
119 | cos_roll = (float)cos_f(MM3.RollGrad); |
120 | 120 | ||
121 | //Neigungskompensation |
121 | //Neigungskompensation |