OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MAG
(Results
1 - 4
of
4
) sorted by null
/frameworks/native/services/sensorservice/
Fusion.h
31
FUSION_9AXIS, // use accel gyro
mag
33
FUSION_NOGYRO, // use accel
mag
(geomag rotation)
90
enum { ACC=0x1,
MAG
=0x2, GYRO=0x4 };
/device/google/contexthub/firmware/src/algos/
fusion.c
34
#define
MAG
2
57
#define MIN_VALID_MAGNETIC_FIELD 20.0f //norminal
mag
field strength is 25uT in some area
77
// geo
mag
mode
104
| ((fusion->flags & FUSION_USE_MAG) ?
MAG
: 0)
115
| ((fusion->flags & FUSION_USE_MAG) ?
MAG
: 0)
161
case
MAG
:
169
fusion->mInitState |=
MAG
;
529
// geo
mag
mode
546
// game rotation mode, provide fake
mag
update to prevent
592
if (!fusion_init_complete(fusion,
MAG
, m, 0.0f /* dT */))
[
all
...]
/device/google/contexthub/firmware/src/drivers/orientation/
orientation.c
74
MAG
,
199
if (index ==
MAG
&& mTask.mag_client_cnt == 0) {
430
k = mTask.sample_indices[
MAG
];
434
&& (!(mTask.mag_client_cnt > 0) || mTask.sample_counts[
MAG
] > 0)) {
438
m_time = mTask.mag_client_cnt > 0 ? mTask.samples[
MAG
][k].time
441
// priority with same timestamp: gyro > acc >
mag
447
which =
MAG
;
480
case
MAG
:
481
initVec3(&m, mTask.samples[
MAG
][k].x, mTask.samples[
MAG
][k].y, mTask.samples[MAG][k].z)
[
all
...]
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
bosch_bmi160.c
86
// fixme: to list required definitions for a slave
mag
255
MAG
,
863
sensorSignalInternalEvt(mTask.sensors[
MAG
].handle,
929
// set the
MAG
power to NORMAL mode
948
// Config the
MAG
I2C device address
959
// fixme: move to
mag
-specific function
961
// set
mag
to SLEEP mode
1022
// set
MAG
mode to "forced". ready to pull data
1031
// config
MAG
read data address to the first data register
1040
// set the
MAG
power to SUSPEND mod
[
all
...]
Completed in 115 milliseconds