Home
last modified time | relevance | path

Searched refs:initVec3 (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/firmware/os/algos/
Dfusion.c85 initVec3(&fusion->Ba, 0.0f, 0.0f, 1.0f); in initFusion()
86 initVec3(&fusion->Bm, 0.0f, 1.0f, 0.0f); in initFusion()
89 initVec3(&fusion->x1, 0.0f, 0.0f, 0.0f); in initFusion()
96 initVec3(&fusion->mData[0], 0.0f, 0.0f, 0.0f); in initFusion()
97 initVec3(&fusion->mData[1], 0.0f, 0.0f, 0.0f); in initFusion()
98 initVec3(&fusion->mData[2], 0.0f, 0.0f, 0.0f); in initFusion()
220 initVec3(&fusion->x1, 0.0f, 0.0f, 0.0f); in fusion_init_complete()
533 initVec3(&w_dummy, fusion->x1.x + kEps, fusion->x1.y + kEps, in fusionHandleAcc()
/device/google/contexthub/firmware/os/algos/common/math/
Dkasa.c105 initVec3(&v, out.x, out.y, out.z); in kasaFit()
111 initVec3(bias, v.x, v.y, v.z); in kasaFit()
Dvec.h57 static inline void initVec3(struct Vec3 *v, float x, float y, float z) { in initVec3() function
Dmat.c407 initVec3(eigenvals, _eigenvals[0], _eigenvals[1], _eigenvals[2]); in mat33GetEigenbasis()
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c367 initVec3(&g, R.elem[0][2], R.elem[1][2], R.elem[2][2]); in updateOutput()
383 initVec3(&g, R.elem[0][2], R.elem[1][2], R.elem[2][2]); in updateOutput()
385 initVec3(&a, in updateOutput()
490 initVec3(&a, mTask.samples[ACC][i].x, mTask.samples[ACC][i].y, mTask.samples[ACC][i].z); in drainSamples()
512 initVec3(&w, mTask.samples[GYR][j].x, mTask.samples[GYR][j].y, mTask.samples[GYR][j].z); in drainSamples()
525 initVec3(&m, mTask.samples[MAG][k].x, mTask.samples[MAG][k].y, mTask.samples[MAG][k].z); in drainSamples()