Home
last modified time | relevance | path

Searched refs:acc_y (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/magnetometer/
Dmag_cal.c51 S.elem[0][1] = S.elem[1][0] = kasa->acc_xy - kasa->acc_x * kasa->acc_y; in moc_eigen_test()
53 S.elem[1][1] = kasa->acc_yy - kasa->acc_y * kasa->acc_y; in moc_eigen_test()
54 S.elem[1][2] = S.elem[2][1] = kasa->acc_yz - kasa->acc_y * kasa->acc_z; in moc_eigen_test()
87 A.elem[1][3] = kasa->acc_y; in magKasaFit()
93 A.elem[3][1] = kasa->acc_y; in magKasaFit()
129 kasa->acc_x = kasa->acc_y = kasa->acc_z = kasa->acc_w = 0.0f; in magKasaReset()
224 moc->kasa.acc_y += y; in magCalUpdate()
249 moc->kasa.acc_y *= inv; in magCalUpdate()
Dmag_cal.h33 float acc_x, acc_y, acc_z, acc_w; member
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c116 asd->acc_x = asd->acc_y = asd->acc_z = 0.0f; in asdReset()
226 asd->acc_y += y; in accelStillnessDetection()
246 asd->var_y = (asd->acc_yy - (asd->acc_y * asd->acc_y) * inv) * inv; in accelStillnessDetection()
253 asd->mean_y = asd->acc_y * inv; in accelStillnessDetection()
276 akf->acc_y += asd->mean_y; in accelCalUpdate()
368 ac1->akf.acc_y *= inv; in accelGoodData()
409 S.elem[0][1] = S.elem[1][0] = akf->acc_xy - akf->acc_x * akf->acc_y; in accEigenTest()
411 S.elem[1][1] = akf->acc_yy - akf->acc_y * akf->acc_y; in accEigenTest()
412 S.elem[1][2] = S.elem[2][1] = akf->acc_yz - akf->acc_y * akf->acc_z; in accEigenTest()
Daccel_cal.h46 float acc_x, acc_y, acc_z; member