Searched refs:dT (Results 1 - 3 of 3) sorted by relevance

/device/google/contexthub/firmware/os/inc/algos/
H A Dfusion.h77 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);
/device/google/contexthub/firmware/os/algos/
H A Dfusion.c118 static void updateDt(struct Fusion *fusion, float dT) { argument
119 if (fabsf(fusion->mPredictDt - dT) > DELTA_TIME_MARGIN) {
120 float dT2 = dT * dT;
121 float dT3 = dT2 * dT;
123 float q00 = fusion->param.gyro_var * dT +
125 float q11 = fusion->param.gyro_bias_var * dT;
133 fusion->mPredictDt = dT;
137 static int fusion_init_complete(struct Fusion *fusion, int what, const struct Vec3 *d, float dT) { argument
146 updateDt(fusion, dT);
262 const float dT = fusion->mPredictDt; local
389 fusionHandleGyro(struct Fusion *fusion, const struct Vec3 *w, float dT) argument
513 fusionHandleAcc(struct Fusion *fusion, const struct Vec3 *a, float dT) argument
590 fusionHandleMag(struct Fusion *fusion, const struct Vec3 *m, float dT) argument
[all...]
/device/google/contexthub/firmware/os/drivers/orientation/
H A Dorientation.c455 float dT; local
487 dT = floatFromUint64(mTask.ResamplePeriodNs[which]) * 1e-9f;
493 fusionHandleAcc(&mTask.fusion, &a, dT);
496 fusionHandleAcc(&mTask.game, &a, dT);
515 fusionHandleGyro(&mTask.fusion, &w, dT);
518 fusionHandleGyro(&mTask.game, &w, dT);
527 fusionHandleMag(&mTask.fusion, &m, dT);

Completed in 65 milliseconds