Home
last modified time | relevance | path

Searched refs:win_mean_x (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/gyroscope/
Dgyro_stillness_detect.c89 gyro_still_det->win_mean_x = 0; in gyroStillDetUpdate()
110 gyro_still_det->win_mean_x += delta; in gyroStillDetUpdate()
138 float tmp = gyro_still_det->win_mean_x; in gyroStillDetCompute()
139 gyro_still_det->win_mean_x *= tmp_denom_mean; in gyroStillDetCompute()
141 (gyro_still_det->acc_var_x - gyro_still_det->win_mean_x * tmp) * in gyroStillDetCompute()
157 gyro_still_det->win_mean_x += gyro_still_det->assumed_mean_x; in gyroStillDetCompute()
Dgyro_stillness_detect.h74 float win_mean_x, win_mean_y, win_mean_z; member
Dgyro_cal.c727 if (gyro_winmean_min[0] > gyro_cal->gyro_stillness_detect.win_mean_x) { in gyroStillMeanTracker()
728 gyro_winmean_min[0] = gyro_cal->gyro_stillness_detect.win_mean_x; in gyroStillMeanTracker()
730 if (gyro_winmean_max[0] < gyro_cal->gyro_stillness_detect.win_mean_x) { in gyroStillMeanTracker()
731 gyro_winmean_max[0] = gyro_cal->gyro_stillness_detect.win_mean_x; in gyroStillMeanTracker()