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
28
void
calibrate_compass
();
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
get_compass_angle
float get_compass_angle(void)
calibrate_compass
void calibrate_compass()
set_compass_params
void set_compass_params(float meanX, float meanY, float meanZ, float W1, float W2, float div_E1, float div_E2)
module
compass
public
kipr
compass
compass.h
Generated by
1.9.1