Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/common/math/
Dkasa.c10 kasa->acc_x = kasa->acc_y = kasa->acc_z = kasa->acc_w = 0.0f; in kasaReset()
38 kasa->acc_y += y; in kasaAccumulate()
65 kasa->acc_y *= inv; in kasaNormalize()
96 A.elem[1][3] = kasa->acc_y; in kasaFit()
102 A.elem[3][1] = kasa->acc_y; in kasaFit()
Dkasa.h24 float acc_x, acc_y, acc_z, acc_w; member
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c125 asd->acc_x = asd->acc_y = asd->acc_z = 0.0f; in asdReset()
247 asd->acc_y += y; in accelStillnessDetection()
267 asd->var_y = (asd->acc_yy - (asd->acc_y * asd->acc_y) * inv) * inv; in accelStillnessDetection()
274 asd->mean_y = asd->acc_y * inv; in accelStillnessDetection()
389 S.elem[0][1] = S.elem[1][0] = akf->acc_xy - akf->acc_x * akf->acc_y; in accEigenTest()
391 S.elem[1][1] = akf->acc_yy - akf->acc_y * akf->acc_y; in accEigenTest()
392 S.elem[1][2] = S.elem[2][1] = akf->acc_yz - akf->acc_y * akf->acc_z; in accEigenTest()
Daccel_cal.h50 float acc_x, acc_y, acc_z; member
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.c57 S.elem[0][1] = S.elem[1][0] = kasa->acc_xy - kasa->acc_x * kasa->acc_y; in moc_eigen_test()
59 S.elem[1][1] = kasa->acc_yy - kasa->acc_y * kasa->acc_y; in moc_eigen_test()
60 S.elem[1][2] = S.elem[2][1] = kasa->acc_yz - kasa->acc_y * kasa->acc_z; in moc_eigen_test()
/device/google/cuttlefish/guest/commands/sensor_injection/
Dmain.cpp206 double acc_x, acc_y, acc_z, mgn_x, mgn_y, mgn_z, gyro_x, gyro_y, gyro_z; in main() local
208 CHECK(android::base::ParseDouble(argv[3], &acc_y)) << "Accelerometer x value must be a double"; in main()
216 InjectAccelerometer(acc_x, acc_y, acc_z); in main()