Searched refs:accel_cal_ (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/accelerometer/accel_offset_cal/ |
D | accel_offset_cal.cc | 27 accelCalInit(&accel_cal_, &accel_cal_parameters); in Initialize() 35 accelCalRun(&accel_cal_, sample.timestamp_nanos, in SetMeasurement() 43 accelCalDebPrint(&accel_cal_, temperature_celsius_); in SetMeasurement() 57 if (accelCalNewBiasAvailable(&accel_cal_)) { in SetMeasurement() 58 accelCalUpdateBias(&accel_cal_, &cal_data_.offset[0], &cal_data_.offset[1], in SetMeasurement() 84 accelCalBiasSet(&accel_cal_, input_cal_data.offset[0], in SetInitialCalibration()
|
D | accel_offset_cal.h | 72 const AccelCal& get_accel_cal() const { return accel_cal_; } in get_accel_cal() 76 AccelCal accel_cal_;
|
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/ |
D | nano_calibration.cc | 83 accel_cal_ = accel_cal; in Initialize() 84 if (accel_cal_ != nullptr) { in Initialize() 85 if (accel_cal_->get_sensor_type() == SensorType::kAccelerometerMps2) { in Initialize() 86 LoadAshCalibration(CHRE_SENSOR_TYPE_ACCELEROMETER, accel_cal_, in Initialize() 91 accel_cal_ = nullptr; in Initialize() 195 if (accel_cal_ != nullptr) { in ProcessSample() 197 accel_cal_->SetMeasurement(sample); in ProcessSample() 201 accel_cal_->GetSensorCalibration(), in ProcessSample() 203 PrintCalibration(accel_cal_->GetSensorCalibration(), in ProcessSample()
|
D | nano_calibration.h | 138 OnlineCalibrationThreeAxis *accel_cal_ = nullptr; variable
|