Searched refs:acc_z (Results 1 – 6 of 6) sorted by relevance
/device/google/contexthub/firmware/os/algos/common/math/ |
D | kasa.c | 10 kasa->acc_x = kasa->acc_y = kasa->acc_z = kasa->acc_w = 0.0f; in kasaReset() 39 kasa->acc_z += z; in kasaAccumulate() 66 kasa->acc_z *= inv; in kasaNormalize() 100 A.elem[2][3] = kasa->acc_z; in kasaFit() 103 A.elem[3][2] = kasa->acc_z; in kasaFit()
|
D | kasa.h | 24 float acc_x, acc_y, acc_z, acc_w; member
|
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/ |
D | accel_cal.c | 125 asd->acc_x = asd->acc_y = asd->acc_z = 0.0f; in asdReset() 249 asd->acc_z += z; in accelStillnessDetection() 268 asd->var_z = (asd->acc_zz - (asd->acc_z * asd->acc_z) * inv) * inv; in accelStillnessDetection() 275 asd->mean_z = asd->acc_z * inv; in accelStillnessDetection() 390 S.elem[0][2] = S.elem[2][0] = akf->acc_xz - akf->acc_x * akf->acc_z; in accEigenTest() 392 S.elem[1][2] = S.elem[2][1] = akf->acc_yz - akf->acc_y * akf->acc_z; in accEigenTest() 393 S.elem[2][2] = akf->acc_zz - akf->acc_z * akf->acc_z; in accEigenTest()
|
D | accel_cal.h | 50 float acc_x, acc_y, acc_z; member
|
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/ |
D | mag_cal.c | 58 S.elem[0][2] = S.elem[2][0] = kasa->acc_xz - kasa->acc_x * kasa->acc_z; 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() 61 S.elem[2][2] = kasa->acc_zz - kasa->acc_z * kasa->acc_z; in moc_eigen_test()
|
/device/google/cuttlefish/guest/commands/sensor_injection/ |
D | main.cpp | 206 double acc_x, acc_y, acc_z, mgn_x, mgn_y, mgn_z, gyro_x, gyro_y, gyro_z; in main() local 209 CHECK(android::base::ParseDouble(argv[4], &acc_z)) << "Accelerometer x value must be a double"; in main() 216 InjectAccelerometer(acc_x, acc_y, acc_z); in main()
|