Home
last modified time | relevance | path

Searched refs:gyro_cal_ (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.cc31 gyroCalInit(&gyro_cal_, &gyro_cal_parameters); in Initialize()
41 gyroCalUpdateAccel(&gyro_cal_, sample.timestamp_nanos, in SetMeasurement()
48 gyroCalUpdateGyro(&gyro_cal_, sample.timestamp_nanos, in SetMeasurement()
56 gyroCalUpdateMag(&gyro_cal_, sample.timestamp_nanos, in SetMeasurement()
75 if (gyroCalNewBiasAvailable(&gyro_cal_)) { in SetMeasurement()
79 gyroCalGetBias(&gyro_cal_, &offset[0], &offset[1], &offset[2], in SetMeasurement()
124 gyroCalDebugPrint(&gyro_cal_, sample.timestamp_nanos); in SetMeasurement()
148 gyroCalSetBias(&gyro_cal_, cal_data_.offset[0], cal_data_.offset[1], in SetInitialCalibration()
Dgyro_offset_over_temp_cal.h78 const GyroCal& get_gyro_cal() const { return gyro_cal_; } in get_gyro_cal()
83 GyroCal gyro_cal_;
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/
Dnano_calibration.cc96 gyro_cal_ = gyro_cal; in Initialize()
97 if (gyro_cal_ != nullptr) { in Initialize()
98 if (gyro_cal_->get_sensor_type() == SensorType::kGyroscopeRps) { in Initialize()
99 LoadAshCalibration(CHRE_SENSOR_TYPE_GYROSCOPE, gyro_cal_, in Initialize()
103 gyro_cal_ = nullptr; in Initialize()
214 if (gyro_cal_ != nullptr) { in ProcessSample()
216 gyro_cal_->SetMeasurement(sample); in ProcessSample()
220 gyro_cal_->GetSensorCalibration(), in ProcessSample()
488 PrintCalibration(gyro_cal_->GetSensorCalibration(), gyro_cal_update_flags_, in HandleGyroLogMessage()
Dnano_calibration.h141 OnlineCalibrationThreeAxis *gyro_cal_ = nullptr; variable