libwallaby  v23
The wallaby standard library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
compass.h
Go to the documentation of this file.
1 #ifndef _COMPASS_H_
2 #define _COMPASS_H_
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
25 void calibrate_compass();
26 
27 
42 void set_compass_params(float meanX, float meanY, float meanZ,
43  float W1, float W2, float div_E1, float div_E2);
44 
52 float get_compass_angle(void);
53 
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 
60 #endif // #define _COMPASS_H_
float get_compass_angle(void)
void set_compass_params(float meanX, float meanY, float meanZ, float W1, float W2, float div_E1, float div_E2)
void calibrate_compass()