OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SCALE_0_92_MG
(Results
1 - 4
of
4
) sorted by null
/hardware/bsp/intel/peripheral/libmraa/examples/c++/
I2c-compass.cpp
74
#define
SCALE_0_92_MG
0.92
130
direction = atan2(y *
SCALE_0_92_MG
, x *
SCALE_0_92_MG
);
136
printf("Compass scaled data x : %f, y : %f, z : %f\n", x *
SCALE_0_92_MG
, y *
SCALE_0_92_MG
,
137
z *
SCALE_0_92_MG
);
/hardware/bsp/intel/peripheral/libmraa/examples/
i2c_HMC5883L.c
70
#define
SCALE_0_92_MG
0.92
126
direction = atan2(y *
SCALE_0_92_MG
, x *
SCALE_0_92_MG
);
132
printf("Compass scaled data x : %f, y : %f, z : %f\n", x *
SCALE_0_92_MG
, y *
SCALE_0_92_MG
,
133
z *
SCALE_0_92_MG
);
/hardware/bsp/intel/peripheral/libmraa/examples/java/
I2cCompass.java
85
final static float
SCALE_0_92_MG
= 0.92f;
124
direction = (float) Math.atan2(y *
SCALE_0_92_MG
, x *
SCALE_0_92_MG
);
129
System.out.println(String.format("Compass scaled data x : %f, y : %f, z : %f\n", x *
SCALE_0_92_MG
, y *
SCALE_0_92_MG
,
130
z *
SCALE_0_92_MG
));
/hardware/bsp/intel/peripheral/libupm/src/hmc5883l/
hmc5883l.cxx
74
#define
SCALE_0_92_MG
0.92
142
return atan2(m_coor[1] *
SCALE_0_92_MG
, m_coor[0] *
SCALE_0_92_MG
) + m_declination;
Completed in 182 milliseconds