Home
last modified time | relevance | path

Searched refs:acc_y (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()
22 kasa->acc_y += y; in kasaAccumulate()
49 kasa->acc_y *= inv; in kasaNormalize()
80 A.elem[1][3] = kasa->acc_y; in kasaFit()
86 A.elem[3][1] = kasa->acc_y; 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.c58 S.elem[0][1] = S.elem[1][0] = kasa->acc_xy - kasa->acc_x * kasa->acc_y; in moc_eigen_test()
60 S.elem[1][1] = kasa->acc_yy - kasa->acc_y * kasa->acc_y; in moc_eigen_test()
61 S.elem[1][2] = S.elem[2][1] = kasa->acc_yz - kasa->acc_y * kasa->acc_z; in moc_eigen_test()
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c123 asd->acc_x = asd->acc_y = asd->acc_z = 0.0f; in asdReset()
244 asd->acc_y += y; in accelStillnessDetection()
264 asd->var_y = (asd->acc_yy - (asd->acc_y * asd->acc_y) * inv) * inv; in accelStillnessDetection()
271 asd->mean_y = asd->acc_y * inv; in accelStillnessDetection()
386 S.elem[0][1] = S.elem[1][0] = akf->acc_xy - akf->acc_x * akf->acc_y; in accEigenTest()
388 S.elem[1][1] = akf->acc_yy - akf->acc_y * akf->acc_y; in accEigenTest()
389 S.elem[1][2] = S.elem[2][1] = akf->acc_yz - akf->acc_y * akf->acc_z; in accEigenTest()
Daccel_cal.h49 float acc_x, acc_y, acc_z; member