Searched refs:acc_x (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() 37 kasa->acc_x += x; in kasaAccumulate() 64 kasa->acc_x *= inv; in kasaNormalize() 92 A.elem[0][3] = kasa->acc_x; in kasaFit() 101 A.elem[3][0] = kasa->acc_x; 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() 245 asd->acc_x += x; in accelStillnessDetection() 266 asd->var_x = (asd->acc_xx - (asd->acc_x * asd->acc_x) * inv) * inv; in accelStillnessDetection() 273 asd->mean_x = asd->acc_x * inv; in accelStillnessDetection() 388 S.elem[0][0] = akf->acc_xx - akf->acc_x * akf->acc_x; in accEigenTest() 389 S.elem[0][1] = S.elem[1][0] = akf->acc_xy - akf->acc_x * akf->acc_y; in accEigenTest() 390 S.elem[0][2] = S.elem[2][0] = akf->acc_xz - akf->acc_x * 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 | 56 S.elem[0][0] = kasa->acc_xx - kasa->acc_x * kasa->acc_x; in moc_eigen_test() 57 S.elem[0][1] = S.elem[1][0] = kasa->acc_xy - kasa->acc_x * kasa->acc_y; in moc_eigen_test() 58 S.elem[0][2] = S.elem[2][0] = kasa->acc_xz - kasa->acc_x * 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 207 CHECK(android::base::ParseDouble(argv[2], &acc_x)) << "Accelerometer x value must be a double"; in main() 216 InjectAccelerometer(acc_x, acc_y, acc_z); in main()
|