Subversion Repositories FlightCtrl

Rev

Rev 1490 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1490 Rev 1523
Line 36... Line 36...
36
 
36
 
37
// Cosinus with argument in degree at an angular resolution of 1 degree and a discretisation of 13 bit.
37
// Cosinus with argument in degree at an angular resolution of 1 degree and a discretisation of 13 bit.
38
int16_t c_cos_8192(int16_t angle)
38
int16_t c_cos_8192(int16_t angle)
39
{
39
{
40
        return (c_sin_8192(90 - angle));
-
 
41
}
40
        return (c_sin_8192(90 - angle));
-
 
41
}