libkipr  1.0.0
compass.h
Go to the documentation of this file.
1 
12 #ifndef _KIPR_COMPASS_COMPASS_H_
13 #define _KIPR_COMPASS_COMPASS_H_
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
29 
30 
45 void set_compass_params(float meanX, float meanY, float meanZ,
46  float W1, float W2, float div_E1, float div_E2);
47 
55 float get_compass_angle(void);
56 
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif
float get_compass_angle(void)
void calibrate_compass()
void set_compass_params(float meanX, float meanY, float meanZ, float W1, float W2, float div_E1, float div_E2)