Searched refs:mean_z (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/ |
D | accel_cal.c | 82 if (PHIZ < asd->mean_z) { in accelStatsCounter() 86 if (PHIZb > asd->mean_z) { in accelStatsCounter() 91 PHIb < asd->mean_y && PHIZ > asd->mean_z && PHIZb < asd->mean_z) { in accelStatsCounter() 270 asd->mean_z = asd->acc_z * inv; in accelStillnessDetection() 273 asd->mean_z * asd->mean_z; in accelStillnessDetection() 297 kasaAccumulate(&ac1->akf, asd->mean_x, asd->mean_y, asd->mean_z); in accelGoodData() 304 kasaAccumulate(&ac1->akf, asd->mean_x, asd->mean_y, asd->mean_z); in accelGoodData() 311 kasaAccumulate(&ac1->akf, asd->mean_x, asd->mean_y, asd->mean_z); in accelGoodData() 318 kasaAccumulate(&ac1->akf, asd->mean_x, asd->mean_y, asd->mean_z); in accelGoodData() 321 if (PHIZ < asd->mean_z && ac1->agd.nz < ac1->agd.nfz) { in accelGoodData() [all …]
|
D | accel_cal.h | 53 float mean_x, mean_y, mean_z; member
|
/device/google/contexthub/firmware/os/algos/calibration/gyroscope/ |
D | gyro_stillness_detect.c | 75 gyro_still_det->mean_z += z; in gyroStillDetUpdate() 230 gyro_still_det->prev_mean_z = gyro_still_det->mean_z * tmp_denom; in gyroStillDetReset() 237 gyro_still_det->mean_z = 0; in gyroStillDetReset()
|
D | gyro_stillness_detect.h | 69 float mean_x, mean_y, mean_z; member
|