Home
last modified time | relevance | path

Searched refs:gyro_winmean_max (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/gyroscope/
Dgyro_cal.c712 static float gyro_winmean_max[3] = {0.0f, 0.0f, 0.0f}; in gyroStillMeanTracker() local
721 gyro_winmean_max[i] = -1.0f * (FLT_MAX - 1.0f); 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()
737 if (gyro_winmean_max[1] < gyro_cal->gyro_stillness_detect.win_mean_y) { in gyroStillMeanTracker()
738 gyro_winmean_max[1] = gyro_cal->gyro_stillness_detect.win_mean_y; in gyroStillMeanTracker()
744 if (gyro_winmean_max[2] < gyro_cal->gyro_stillness_detect.win_mean_z) { in gyroStillMeanTracker()
745 gyro_winmean_max[2] = gyro_cal->gyro_stillness_detect.win_mean_z; in gyroStillMeanTracker()
754 memcpy(gyro_cal->gyro_winmean_max, gyro_winmean_max, 3 * sizeof(float)); in gyroStillMeanTracker()
761 mean_not_stable |= (gyro_winmean_max[i] - gyro_winmean_min[i]) > in gyroStillMeanTracker()
[all …]
Dgyro_cal.h86 float gyro_winmean_max[3]; member
147 float gyro_winmean_max[3]; member