Home
last modified time | relevance | path

Searched refs:acc_z (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/src/algos/
Dmag_cal.c42 S.elem[0][2] = S.elem[2][0] = moc->acc_xz - moc->acc_x * moc->acc_z; in moc_eigen_test()
44 S.elem[1][2] = S.elem[2][1] = moc->acc_yz - moc->acc_y * moc->acc_z; in moc_eigen_test()
45 S.elem[2][2] = moc->acc_zz - moc->acc_z * moc->acc_z; in moc_eigen_test()
77 A.elem[2][2] = moc->acc_zz; A.elem[2][3] = moc->acc_z; in moc_fit()
79 A.elem[3][2] = moc->acc_z; A.elem[3][3] = 1.0f; in moc_fit()
114 moc->acc_x = moc->acc_y = moc->acc_z = moc->acc_w = 0.0f; in moc_reset()
174 moc->acc_z += z; in magCalUpdate()
200 moc->acc_z *= inv; in magCalUpdate()
/device/google/contexthub/firmware/inc/algos/
Dmag_cal.h33 float acc_x, acc_y, acc_z, acc_w; member