Searched refs:diverse_data (Results 1 – 3 of 3) sorted by relevance
/device/google/contexthub/firmware/os/algos/calibration/diversity_checker/ |
D | diversity_checker.c | 27 void diversityCheckerInit(struct DiversityChecker* diverse_data, in diversityCheckerInit() argument 29 ASSERT_NOT_NULL(diverse_data); in diversityCheckerInit() 32 diverse_data->threshold_tuning_param_sq = in diversityCheckerInit() 34 diverse_data->max_distance_tuning_param_sq = in diversityCheckerInit() 42 diversityCheckerLocalFieldUpdate(diverse_data, local_field); in diversityCheckerInit() 43 diverse_data->min_num_diverse_vectors = parameters->min_num_diverse_vectors; in diversityCheckerInit() 47 diverse_data->min_num_diverse_vectors = 1; in diversityCheckerInit() 49 diverse_data->max_num_max_distance = parameters->max_num_max_distance; in diversityCheckerInit() 50 diverse_data->var_threshold = parameters->var_threshold; in diversityCheckerInit() 51 diverse_data->max_min_threshold = parameters->max_min_threshold; in diversityCheckerInit() [all …]
|
D | diversity_checker.h | 90 float diverse_data[THREE_AXIS_DATA_DIM * NUM_DIVERSE_VECTORS]; member 140 void diversityCheckerInit(struct DiversityChecker* diverse_data, 145 void diversityCheckerReset(struct DiversityChecker* diverse_data); 150 bool diversityCheckerFindNearestPoint(struct DiversityChecker* diverse_data, 155 void diversityCheckerUpdate(struct DiversityChecker* diverse_data, float x, 168 bool diversityCheckerNormQuality(struct DiversityChecker* diverse_data, 177 void diversityCheckerLocalFieldUpdate(struct DiversityChecker* diverse_data,
|
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/ |
D | mag_cal.c | 271 void magLogPrint(struct DiversityChecker *diverse_data, float temp) { in magLogPrint() argument 274 const float *data_log_ptr = &diverse_data->diversity_dbg.diverse_data_log[0]; in magLogPrint() 275 if (diverse_data->diversity_dbg.new_trigger == 1) { in magLogPrint() 281 diverse_data->diversity_dbg.diversity_count, in magLogPrint() 307 diverse_data->diversity_dbg.diversity_count, in magLogPrint() 332 diverse_data->diversity_dbg.diversity_count, in magLogPrint() 354 diverse_data->diversity_dbg.new_trigger = 0; in magLogPrint()
|