Home
last modified time | relevance | path

Searched refs:cal_data_ (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/online_calibration/gyroscope/gyro_offset_over_temp_cal/
Dgyro_offset_over_temp_cal.cc95 overTempCalGetOffset(&over_temp_cal_, &cal_data_.offset_temp_celsius, in SetMeasurement()
96 cal_data_.offset); in SetMeasurement()
97 cal_data_.cal_update_time_nanos = sample.timestamp_nanos; in SetMeasurement()
103 cal_data_.otc_model_data = over_temp_cal_.model_data; in SetMeasurement()
104 cal_data_.num_model_pts = over_temp_cal_.num_model_pts; in SetMeasurement()
107 overTempCalGetModel(&over_temp_cal_, cal_data_.offset, in SetMeasurement()
108 &cal_data_.offset_temp_celsius, in SetMeasurement()
109 &cal_data_.cal_update_time_nanos, in SetMeasurement()
110 cal_data_.temp_sensitivity, cal_data_.temp_intercept); in SetMeasurement()
116 cal_data_.calibration_quality.level = CalibrationQualityLevel::HIGH_QUALITY; in SetMeasurement()
[all …]
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/accelerometer/accel_offset_cal/
Daccel_offset_cal.cc58 accelCalUpdateBias(&accel_cal_, &cal_data_.offset[0], &cal_data_.offset[1], in SetMeasurement()
59 &cal_data_.offset[2]); in SetMeasurement()
61 cal_data_.calibration_quality.level = CalibrationQualityLevel::HIGH_QUALITY; in SetMeasurement()
62 cal_data_.calibration_quality.value = kUndeterminedCalibrationQuality; in SetMeasurement()
63 cal_data_.offset_temp_celsius = temperature_celsius_; in SetMeasurement()
64 cal_data_.cal_update_time_nanos = sample.timestamp_nanos; in SetMeasurement()
88 cal_data_ = input_cal_data; in SetInitialCalibration()
91 cal_data_.calibration_quality.level = CalibrationQualityLevel::LOW_QUALITY; in SetInitialCalibration()
92 cal_data_.calibration_quality.value = kUndeterminedCalibrationQuality; in SetInitialCalibration()
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/magnetometer/mag_diverse_cal/
Dmag_diverse_cal.cc57 magCalGetBias(&mag_cal_, &cal_data_.offset[0], &cal_data_.offset[1], in SetMeasurement()
58 &cal_data_.offset[2]); in SetMeasurement()
60 cal_data_.calibration_quality.level = CalibrationQualityLevel::HIGH_QUALITY; in SetMeasurement()
61 cal_data_.calibration_quality.value = kHighQualityUt; in SetMeasurement()
62 cal_data_.offset_temp_celsius = temperature_celsius_; in SetMeasurement()
63 cal_data_.cal_update_time_nanos = sample.timestamp_nanos; in SetMeasurement()
88 cal_data_ = input_cal_data; in SetInitialCalibration()
92 cal_data_.calibration_quality.reset(); in SetInitialCalibration()
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/
Donline_calibration.h76 return cal_data_; in GetSensorCalibration()
101 calibration_callback_->Call(cal_data_, cal_update_flags); in OnNotifyCalibrationUpdate()
107 cal_data_.reset(); in InitializeCalData()
108 cal_data_.type = get_sensor_type(); in InitializeCalData()
113 CalibrationType cal_data_; variable