Searched refs:CalibrationTypeFlags (Results 1 – 12 of 12) sorted by relevance
/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 | 52 enum class CalibrationTypeFlags : uint8_t { enum 63 CalibrationTypeFlags operator|(CalibrationTypeFlags lhs, 64 CalibrationTypeFlags rhs); 66 bool operator&(CalibrationTypeFlags lhs, CalibrationTypeFlags rhs); 68 CalibrationTypeFlags& operator|=(CalibrationTypeFlags& lhs, 69 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);
|
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/ |
D | nano_calibration.h | 109 online_calibration::CalibrationTypeFlags* flags, 119 online_calibration::CalibrationTypeFlags flags, const char *sensor_tag); 125 online_calibration::CalibrationTypeFlags *flags, 134 online_calibration::CalibrationTypeFlags flags, const char *sensor_tag); 155 online_calibration::CalibrationTypeFlags accel_cal_update_flags_ = 156 online_calibration::CalibrationTypeFlags::NONE; 157 online_calibration::CalibrationTypeFlags gyro_cal_update_flags_ = 158 online_calibration::CalibrationTypeFlags::NONE; 159 online_calibration::CalibrationTypeFlags mag_cal_update_flags_ = 160 online_calibration::CalibrationTypeFlags::NONE;
|
D | nano_calibration.cc | 27 using ::online_calibration::CalibrationTypeFlags; 160 const CalibrationTypeFlags new_cal_flags = in ProcessSample() 162 if (new_cal_flags != CalibrationTypeFlags::NONE) { in ProcessSample() 173 const CalibrationTypeFlags new_cal_flags = in ProcessSample() 175 if (new_cal_flags != CalibrationTypeFlags::NONE) { in ProcessSample() 194 const CalibrationTypeFlags new_cal_flags = mag_cal_->SetMeasurement(sample); in ProcessSample() 195 if (new_cal_flags != CalibrationTypeFlags::NONE) { in ProcessSample() 208 CalibrationTypeFlags flags, const char *sensor_tag) { in NotifyAshCalibration() 245 if (flags & CalibrationTypeFlags::BIAS) { in NotifyAshCalibration() 253 if (flags & CalibrationTypeFlags::OVER_TEMP) { in NotifyAshCalibration() [all …]
|
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/gyroscope/gyro_offset_over_temp_cal/ |
D | gyro_offset_over_temp_cal.cc | 34 CalibrationTypeFlags GyroOffsetOtcCal::SetMeasurement( in SetMeasurement() 90 CalibrationTypeFlags cal_update_callback_flags = CalibrationTypeFlags::NONE; in SetMeasurement() 95 cal_update_callback_flags |= CalibrationTypeFlags::BIAS; in SetMeasurement() 103 cal_update_callback_flags |= CalibrationTypeFlags::OVER_TEMP; 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 | 29 CalibrationTypeFlags AccelOffsetCal::SetMeasurement(const SensorData& sample) { in SetMeasurement() 63 cal_update_polling_flags_ = CalibrationTypeFlags::BIAS; in SetMeasurement() 64 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 | 34 CalibrationTypeFlags MagDiverseCal::SetMeasurement(const SensorData& sample) { in SetMeasurement() 63 cal_update_polling_flags_ = CalibrationTypeFlags::BIAS; in SetMeasurement() 64 OnNotifyCalibrationUpdate(CalibrationTypeFlags::BIAS); in SetMeasurement()
|
D | mag_diverse_cal.h | 63 CalibrationTypeFlags SetMeasurement(const SensorData& sample) final;
|