Home
last modified time | relevance | path

Searched refs:fusion (Results 1 – 11 of 11) sorted by relevance

/device/google/contexthub/firmware/os/algos/
Dfusion.c66 void initFusion(struct Fusion *fusion, uint32_t flags) { in initFusion() argument
67 fusion->flags = flags; in initFusion()
71 fusion->param.gyro_var = DEFAULT_GYRO_VAR; in initFusion()
72 fusion->param.gyro_bias_var = DEFAULT_GYRO_BIAS_VAR; in initFusion()
73 fusion->param.acc_stdev = DEFAULT_ACC_STDEV; in initFusion()
74 fusion->param.mag_stdev = DEFAULT_MAG_STDEV; in initFusion()
77 fusion->param.gyro_var = GEOMAG_GYRO_VAR; in initFusion()
78 fusion->param.gyro_bias_var = GEOMAG_GYRO_BIAS_VAR; in initFusion()
79 fusion->param.acc_stdev = GEOMAG_ACC_STDEV; in initFusion()
80 fusion->param.mag_stdev = GEOMAG_MAG_STDEV; in initFusion()
[all …]
/device/google/contexthub/firmware/os/inc/algos/
Dfusion.h75 void initFusion(struct Fusion *fusion, uint32_t flags);
77 void fusionHandleGyro(struct Fusion *fusion, const struct Vec3 *w, float dT);
78 int fusionHandleAcc(struct Fusion *fusion, const struct Vec3 *a, float dT);
79 int fusionHandleMag(struct Fusion *fusion, const struct Vec3 *m, float dT);
82 void fusionSetMagTrust(struct Fusion *fusion, int mode);
84 void fusionGetAttitude(const struct Fusion *fusion, struct Vec4 *attitude);
85 void fusionGetBias(const struct Fusion *fusion, struct Vec3 *bias);
86 void fusionGetRotationMatrix(const struct Fusion *fusion, struct Mat33 *R);
87 int fusionHasEstimate(const struct Fusion *fusion);
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c113 struct Fusion fusion; member
400 if (fusionHasEstimate(&mTask.fusion)) { in updateOutput()
401 fusionGetAttitude(&mTask.fusion, &attitude); in updateOutput()
404 fusionGetRotationMatrix(&mTask.fusion, &R); in updateOutput()
493 fusionHandleAcc(&mTask.fusion, &a, dT); in drainSamples()
515 fusionHandleGyro(&mTask.fusion, &w, dT); in drainSamples()
527 fusionHandleMag(&mTask.fusion, &m, dT); in drainSamples()
559 initFusion(&mTask.fusion, in configureFusion()
814 fusionSetMagTrust(&mTask.fusion, MANUAL_MAG_CAL); in fusionHandleEvent()
/device/google/contexthub/firmware/variant/lunchbox/
Dlunchbox.mk40 os/algos/fusion.c \
/device/google/contexthub/firmware/variant/nucleo/
Dnucleo.mk41 os/algos/fusion.c \
/device/google/contexthub/firmware/variant/neonkey/
Dneonkey.mk42 os/algos/fusion.c \
/device/google/contexthub/firmware/
Dneonkey_aux_variant_config.mk69 os/algos/fusion.c \
Dargonkey_aux_variant_config.mk68 os/algos/fusion.c \
Dlunchbox_aux_variant_config.mk77 os/algos/fusion.c \
Dnucleo_aux_variant_config.mk69 os/algos/fusion.c \
/device/google/contexthub/firmware/variant/argonkey/
Dargonkey.mk45 os/algos/fusion.c \