Searched refs:CalibrationTypeFlags (Results 1 – 13 of 13) sorted by relevance
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/ |
D | nano_calibration.cc | 49 using ::online_calibration::CalibrationTypeFlags; 196 const CalibrationTypeFlags new_cal_flags = in ProcessSample() 198 if (new_cal_flags != CalibrationTypeFlags::NONE) { in ProcessSample() 215 const CalibrationTypeFlags new_cal_flags = in ProcessSample() 217 if (new_cal_flags != CalibrationTypeFlags::NONE) { in ProcessSample() 227 gyro_cal_update_flags_ != CalibrationTypeFlags::BIAS)) { in ProcessSample() 240 const CalibrationTypeFlags new_cal_flags = mag_cal_->SetMeasurement(sample); in ProcessSample() 241 if (new_cal_flags != CalibrationTypeFlags::NONE) { in ProcessSample() 260 CalibrationTypeFlags flags, const char *sensor_tag) { in NotifyAshCalibration() 297 if (flags & CalibrationTypeFlags::BIAS) { in NotifyAshCalibration() [all …]
|
D | nano_calibration.h | 108 online_calibration::CalibrationTypeFlags *flags, 118 online_calibration::CalibrationTypeFlags flags, const char *sensor_tag); 124 online_calibration::CalibrationTypeFlags *flags, 133 online_calibration::CalibrationTypeFlags flags, const char *sensor_tag); 157 online_calibration::CalibrationTypeFlags accel_cal_update_flags_ = 158 online_calibration::CalibrationTypeFlags::NONE; 159 online_calibration::CalibrationTypeFlags gyro_cal_update_flags_ = 160 online_calibration::CalibrationTypeFlags::NONE; 161 online_calibration::CalibrationTypeFlags mag_cal_update_flags_ = 162 online_calibration::CalibrationTypeFlags::NONE;
|
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/ |
D | calibration_data.cc | 21 CalibrationTypeFlags operator|(CalibrationTypeFlags lhs, in operator |() 22 CalibrationTypeFlags rhs) { in operator |() 23 return static_cast<CalibrationTypeFlags>(static_cast<char>(lhs) | in operator |() 27 bool operator&(CalibrationTypeFlags lhs, CalibrationTypeFlags rhs) { in operator &() 31 CalibrationTypeFlags& operator|=(CalibrationTypeFlags& lhs, in operator |=() 32 CalibrationTypeFlags rhs) { in operator |=() 33 lhs = static_cast<CalibrationTypeFlags>(static_cast<char>(lhs) | in operator |=()
|
D | calibration_data.h | 58 enum class CalibrationTypeFlags : uint8_t { enum 70 CalibrationTypeFlags operator|(CalibrationTypeFlags lhs, 71 CalibrationTypeFlags rhs); 73 bool operator&(CalibrationTypeFlags lhs, CalibrationTypeFlags rhs); 75 CalibrationTypeFlags& operator|=(CalibrationTypeFlags& lhs, 76 CalibrationTypeFlags rhs);
|
D | online_calibration.h | 63 virtual CalibrationTypeFlags SetMeasurement(const SensorData& sample) = 0; 75 cal_update_polling_flags_ = CalibrationTypeFlags::NONE; in GetSensorCalibration() 83 CalibrationTypeFlags new_calibration_ready() const { in new_calibration_ready() 99 void OnNotifyCalibrationUpdate(CalibrationTypeFlags cal_update_flags) const { in OnNotifyCalibrationUpdate() 109 cal_update_polling_flags_ = CalibrationTypeFlags::NONE; in InitializeCalData() 123 mutable CalibrationTypeFlags cal_update_polling_flags_ = 124 CalibrationTypeFlags::NONE;
|
D | calibration_callback.h | 48 CalibrationTypeFlags cal_update_flags) = 0; 61 CalibrationTypeFlags cal_update_flags)) in Callback() 66 CalibrationTypeFlags cal_update_flags) final { in Call() 79 CalibrationTypeFlags cal_update_flags);
|
D | result_callback_interface.h | 27 CalibrationTypeFlags flags) = 0;
|
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/gyroscope/gyro_offset_over_temp_cal/ |
D | gyro_offset_over_temp_cal.cc | 36 CalibrationTypeFlags GyroOffsetOtcCal::SetMeasurement( in SetMeasurement() 74 CalibrationTypeFlags cal_update_callback_flags = CalibrationTypeFlags::NONE; in SetMeasurement() 83 cal_update_callback_flags |= CalibrationTypeFlags::OTC_STILL_BIAS; in SetMeasurement() 98 cal_update_callback_flags |= CalibrationTypeFlags::BIAS; in SetMeasurement() 106 cal_update_callback_flags |= CalibrationTypeFlags::OVER_TEMP; in SetMeasurement() 115 if (cal_update_callback_flags != CalibrationTypeFlags::NONE) { in SetMeasurement()
|
D | gyro_offset_over_temp_cal.h | 65 CalibrationTypeFlags SetMeasurement(const SensorData& sample) final;
|
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/accelerometer/accel_offset_cal/ |
D | accel_offset_cal.cc | 31 CalibrationTypeFlags AccelOffsetCal::SetMeasurement(const SensorData& sample) { in SetMeasurement() 65 cal_update_polling_flags_ = CalibrationTypeFlags::BIAS; in SetMeasurement() 66 OnNotifyCalibrationUpdate(CalibrationTypeFlags::BIAS); in SetMeasurement()
|
D | accel_offset_cal.h | 59 CalibrationTypeFlags SetMeasurement(const SensorData& sample) final;
|
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/magnetometer/mag_diverse_cal/ |
D | mag_diverse_cal.cc | 35 CalibrationTypeFlags MagDiverseCal::SetMeasurement(const SensorData& sample) { in SetMeasurement() 64 cal_update_polling_flags_ = CalibrationTypeFlags::BIAS; in SetMeasurement() 65 OnNotifyCalibrationUpdate(CalibrationTypeFlags::BIAS); in SetMeasurement()
|
D | mag_diverse_cal.h | 62 CalibrationTypeFlags SetMeasurement(const SensorData& sample) final;
|