/device/google/contexthub/firmware/os/algos/calibration/over_temp/ |
D | over_temp_cal.c | 80 uint64_t timestamp_nanos); 94 uint64_t timestamp_nanos); 141 uint64_t timestamp_nanos, 156 uint64_t timestamp_nanos, 198 uint64_t timestamp_nanos); 202 uint64_t timestamp_nanos, 215 uint64_t timestamp_nanos, 228 uint64_t timestamp_nanos, 235 uint64_t timestamp_nanos); 312 float offset_temp_celsius, uint64_t timestamp_nanos, in overTempCalSetModel() argument [all …]
|
D | over_temp_cal.h | 390 float offset_temp_celsius, uint64_t timestamp_nanos, 409 float *offset_temp_celsius, uint64_t *timestamp_nanos, 425 size_t data_length, uint64_t timestamp_nanos, 469 uint64_t timestamp_nanos, float xi, float yi, 493 uint64_t timestamp_nanos, 504 uint64_t timestamp_nanos, 535 uint64_t timestamp_nanos);
|
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/ |
D | sensor_data.h | 88 uint64_t timestamp_nanos; member 96 SensorData() : timestamp_nanos(0), type(SensorType::kUndefined) { in SensorData() 100 SensorData(SensorType type, uint64_t timestamp_nanos, float x_axis, in SensorData() 102 : timestamp_nanos(timestamp_nanos), type(type) { in SensorData() 108 SensorData(SensorType type, uint64_t timestamp_nanos, in SensorData() 110 : timestamp_nanos(timestamp_nanos), type(type) { in SensorData()
|
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/ |
D | nano_calibration.cc | 149 sample.timestamp_nanos = header.baseTimestamp; in HandleSensorSamples() 151 sample.timestamp_nanos += data[i].timestampDelta; in HandleSensorSamples() 176 sample.timestamp_nanos = header.baseTimestamp; in HandleTemperatureSamples() 180 sample.timestamp_nanos += data[i].timestampDelta; in HandleTemperatureSamples() 207 result_callback_->SetCalibrationEvent(sample.timestamp_nanos, in ProcessSample() 223 HandleGyroLogMessage(sample.timestamp_nanos); in ProcessSample() 231 result_callback_->SetCalibrationEvent(sample.timestamp_nanos, in ProcessSample() 250 result_callback_->SetCalibrationEvent(sample.timestamp_nanos, in ProcessSample() 473 bool NanoSensorCal::HandleGyroLogMessage(uint64_t timestamp_nanos) { in HandleGyroLogMessage() argument 478 timestamp_nanos, initialization_start_time_nanos_, in HandleGyroLogMessage() [all …]
|
D | nano_calibration.h | 135 bool HandleGyroLogMessage(uint64_t timestamp_nanos);
|
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/gyroscope/gyro_offset_over_temp_cal/ |
D | gyro_offset_over_temp_cal.cc | 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() 64 overTempCalSetTemperature(&over_temp_cal_, sample.timestamp_nanos, in SetMeasurement() 97 cal_data_.cal_update_time_nanos = sample.timestamp_nanos; in SetMeasurement() 124 gyroCalDebugPrint(&gyro_cal_, sample.timestamp_nanos); in SetMeasurement() 127 overTempCalDebugPrint(&over_temp_cal_, sample.timestamp_nanos); in SetMeasurement()
|
/device/google/contexthub/firmware/os/algos/calibration/sample_rate_estimator/ |
D | sample_rate_estimator.c | 52 uint64_t timestamp_nanos) { in sampleRateEstimatorUpdate() argument 58 if (timestamp_nanos <= sample_rate_estimator->last_timestamp_nanos || in sampleRateEstimatorUpdate() 60 sample_rate_estimator->last_timestamp_nanos = timestamp_nanos; in sampleRateEstimatorUpdate() 67 timestamp_nanos - sample_rate_estimator->last_timestamp_nanos); in sampleRateEstimatorUpdate() 80 sample_rate_estimator->last_timestamp_nanos = timestamp_nanos; in sampleRateEstimatorUpdate()
|
D | sample_rate_estimator.h | 118 uint64_t timestamp_nanos);
|
/device/google/contexthub/firmware/os/algos/calibration/gyroscope/ |
D | gyro_cal.c | 1015 void gyroCalDebugPrint(struct GyroCal* gyro_cal, uint64_t timestamp_nanos) { in gyroCalDebugPrint() argument 1033 if (NANO_TIMER_CHECK_T1_GEQUAL_T2_PLUS_DELTA(timestamp_nanos, in gyroCalDebugPrint() 1042 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint() 1049 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint() 1058 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint() 1067 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint() 1074 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint() 1081 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint() 1088 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint() 1095 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint()
|
/device/google/contexthub/firmware/os/algos/calibration/sphere_fit/ |
D | sphere_fit_calibration.c | 40 uint64_t timestamp_nanos); 92 uint64_t timestamp_nanos) { in sphereFitRunCal() argument 98 return runCalibration(sphere_cal, data, timestamp_nanos); in sphereFitRunCal() 223 uint64_t timestamp_nanos) { in runCalibration() argument 257 sphere_cal->estimate_time_nanos = timestamp_nanos; in runCalibration()
|
D | sphere_fit_calibration.h | 122 uint64_t timestamp_nanos);
|
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/accelerometer/accel_offset_cal/ |
D | accel_offset_cal.cc | 35 accelCalRun(&accel_cal_, sample.timestamp_nanos, in SetMeasurement() 64 cal_data_.cal_update_time_nanos = sample.timestamp_nanos; in SetMeasurement()
|
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/magnetometer/mag_diverse_cal/ |
D | mag_diverse_cal.cc | 41 &mag_cal_, NanoToMicroseconds(sample.timestamp_nanos), in SetMeasurement() 63 cal_data_.cal_update_time_nanos = sample.timestamp_nanos; in SetMeasurement()
|