Home
last modified time | relevance | path

Searched refs:num_points (Results 1 – 5 of 5) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/diversity_checker/
Ddiversity_checker.c69 diverse_data->num_points = 0; in diversityCheckerReset()
88 for (i = 0; i < diverse_data->num_points; ++i) { in diversityCheckerFindNearestPoint()
125 ->diverse_data[diverse_data->num_points * THREE_AXIS_DATA_DIM], in diversityCheckerUpdate()
129 diverse_data->num_points++; in diversityCheckerUpdate()
132 if (diverse_data->num_points == NUM_DIVERSE_VECTORS) { in diversityCheckerUpdate()
143 if (diverse_data->num_points <= diverse_data->min_num_diverse_vectors || in diversityCheckerNormQuality()
156 for (i = 0; i < diverse_data->num_points; ++i) { in diversityCheckerNormQuality()
188 float inv = 1.0f / diverse_data->num_points; in diversityCheckerNormQuality()
Ddiversity_checker.h93 size_t num_points; member
/device/google/contexthub/firmware/os/algos/calibration/gyroscope/
Dgyro_cal.c599 gyro_cal->temperature_mean_tracker.num_points = 0; in gyroTemperatureStatsTracker()
611 gyro_cal->temperature_mean_tracker.num_points++; in gyroTemperatureStatsTracker()
632 if (gyro_cal->temperature_mean_tracker.num_points > 0) { in gyroTemperatureStatsTracker()
635 gyro_cal->temperature_mean_tracker.num_points; in gyroTemperatureStatsTracker()
658 if (gyro_cal->temperature_mean_tracker.num_points > 0) { in gyroTemperatureStatsTracker()
Dgyro_cal.h125 size_t num_points; member
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.c200 moc->diversity_checker.num_points, in magCalUpdate()