Home
last modified time | relevance | path

Searched refs:CalibrationTypeFlags (Results 1 – 13 of 13) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/
Dnano_calibration.cc49 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 …]
Dnano_calibration.h108 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/
Dcalibration_data.cc21 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 |=()
Dcalibration_data.h58 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);
Donline_calibration.h63 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;
Dcalibration_callback.h48 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);
Dresult_callback_interface.h27 CalibrationTypeFlags flags) = 0;
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/gyroscope/gyro_offset_over_temp_cal/
Dgyro_offset_over_temp_cal.cc36 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()
Dgyro_offset_over_temp_cal.h65 CalibrationTypeFlags SetMeasurement(const SensorData& sample) final;
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/accelerometer/accel_offset_cal/
Daccel_offset_cal.cc31 CalibrationTypeFlags AccelOffsetCal::SetMeasurement(const SensorData& sample) { in SetMeasurement()
65 cal_update_polling_flags_ = CalibrationTypeFlags::BIAS; in SetMeasurement()
66 OnNotifyCalibrationUpdate(CalibrationTypeFlags::BIAS); in SetMeasurement()
Daccel_offset_cal.h59 CalibrationTypeFlags SetMeasurement(const SensorData& sample) final;
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/magnetometer/mag_diverse_cal/
Dmag_diverse_cal.cc35 CalibrationTypeFlags MagDiverseCal::SetMeasurement(const SensorData& sample) { in SetMeasurement()
64 cal_update_polling_flags_ = CalibrationTypeFlags::BIAS; in SetMeasurement()
65 OnNotifyCalibrationUpdate(CalibrationTypeFlags::BIAS); in SetMeasurement()
Dmag_diverse_cal.h62 CalibrationTypeFlags SetMeasurement(const SensorData& sample) final;