Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/common/math/
Dkasa.c9 kasa->acc_x = kasa->acc_y = kasa->acc_z = kasa->acc_w = 0.0f; in kasaReset()
21 kasa->acc_x += x; in kasaAccumulate()
48 kasa->acc_x *= inv; in kasaNormalize()
76 A.elem[0][3] = kasa->acc_x; in kasaFit()
85 A.elem[3][0] = kasa->acc_x; in kasaFit()
Dkasa.h23 float acc_x, acc_y, acc_z, acc_w; member
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.c55 S.elem[0][0] = kasa->acc_xx - kasa->acc_x * kasa->acc_x; in moc_eigen_test()
56 S.elem[0][1] = S.elem[1][0] = kasa->acc_xy - kasa->acc_x * kasa->acc_y; in moc_eigen_test()
57 S.elem[0][2] = S.elem[2][0] = kasa->acc_xz - kasa->acc_x * kasa->acc_z; in moc_eigen_test()
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c121 asd->acc_x = asd->acc_y = asd->acc_z = 0.0f; in asdReset()
240 asd->acc_x += x; in accelStillnessDetection()
261 asd->var_x = (asd->acc_xx - (asd->acc_x * asd->acc_x) * inv) * inv; in accelStillnessDetection()
268 asd->mean_x = asd->acc_x * inv; in accelStillnessDetection()
383 S.elem[0][0] = akf->acc_xx - akf->acc_x * akf->acc_x; in accEigenTest()
384 S.elem[0][1] = S.elem[1][0] = akf->acc_xy - akf->acc_x * akf->acc_y; in accEigenTest()
385 S.elem[0][2] = S.elem[2][0] = akf->acc_xz - akf->acc_x * akf->acc_z; in accEigenTest()
Daccel_cal.h49 float acc_x, acc_y, acc_z; member