Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/calibration/diversity_checker/
Ddiversity_checker.c58 memset(&diverse_data->diversity_dbg, 0, sizeof(diverse_data->diversity_dbg)); in diversityCheckerInit()
193 diverse_data->diversity_dbg.diversity_count++; in diversityCheckerNormQuality()
194 diverse_data->diversity_dbg.var_log = var; in diversityCheckerNormQuality()
195 diverse_data->diversity_dbg.mean_log = acc_norm * inv; in diversityCheckerNormQuality()
196 diverse_data->diversity_dbg.max_log = max; in diversityCheckerNormQuality()
197 diverse_data->diversity_dbg.min_log = min; in diversityCheckerNormQuality()
198 memcpy(&diverse_data->diversity_dbg.diverse_data_log, in diversityCheckerNormQuality()
200 sizeof(diverse_data->diversity_dbg.diverse_data_log)); in diversityCheckerNormQuality()
Ddiversity_checker.h123 struct DiversityDbg diversity_dbg; member
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.c185 moc->diversity_checker.diversity_dbg.new_trigger = 1; in magCalUpdate()
194 CAL_ENCODE_FLOAT(moc->diversity_checker.diversity_dbg.var_log, 6), in magCalUpdate()
195 CAL_ENCODE_FLOAT(moc->diversity_checker.diversity_dbg.mean_log, in magCalUpdate()
197 CAL_ENCODE_FLOAT(moc->diversity_checker.diversity_dbg.max_log, 3), in magCalUpdate()
198 CAL_ENCODE_FLOAT(moc->diversity_checker.diversity_dbg.min_log, 3), in magCalUpdate()
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()
[all …]