Home
last modified time | relevance | path

Searched refs:timestamp_nanos (Results 1 – 12 of 12) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/over_temp/
Dover_temp_cal.c77 uint64_t timestamp_nanos);
91 uint64_t timestamp_nanos);
138 uint64_t timestamp_nanos,
153 uint64_t timestamp_nanos,
195 uint64_t timestamp_nanos);
199 uint64_t timestamp_nanos,
212 uint64_t timestamp_nanos,
225 uint64_t timestamp_nanos,
232 uint64_t timestamp_nanos);
309 float offset_temp_celsius, uint64_t timestamp_nanos, in overTempCalSetModel() argument
[all …]
Dover_temp_cal.h390 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,
557 uint64_t timestamp_nanos);
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/
Dsensor_data.h87 uint64_t timestamp_nanos; member
95 SensorData() : timestamp_nanos(0), type(SensorType::kUndefined) { in SensorData()
99 SensorData(SensorType type, uint64_t timestamp_nanos, float x_axis, in SensorData()
101 : timestamp_nanos(timestamp_nanos), type(type) { in SensorData()
107 SensorData(SensorType type, uint64_t timestamp_nanos, in SensorData()
109 : timestamp_nanos(timestamp_nanos), type(type) { in SensorData()
/device/google/contexthub/firmware/os/algos/calibration/sample_rate_estimator/
Dsample_rate_estimator.c52 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()
Dsample_rate_estimator.h117 uint64_t timestamp_nanos);
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/gyroscope/gyro_offset_over_temp_cal/
Dgyro_offset_over_temp_cal.cc39 gyroCalUpdateAccel(&gyro_cal_, sample.timestamp_nanos, in SetMeasurement()
46 gyroCalUpdateGyro(&gyro_cal_, sample.timestamp_nanos, in SetMeasurement()
54 gyroCalUpdateMag(&gyro_cal_, sample.timestamp_nanos, in SetMeasurement()
62 overTempCalSetTemperature(&over_temp_cal_, sample.timestamp_nanos, in SetMeasurement()
94 cal_data_.cal_update_time_nanos = sample.timestamp_nanos; in SetMeasurement()
121 gyroCalDebugPrint(&gyro_cal_, sample.timestamp_nanos); in SetMeasurement()
124 overTempCalDebugPrint(&over_temp_cal_, sample.timestamp_nanos); in SetMeasurement()
/device/google/contexthub/firmware/os/algos/calibration/sphere_fit/
Dsphere_fit_calibration.c36 uint64_t timestamp_nanos);
88 uint64_t timestamp_nanos) { in sphereFitRunCal() argument
94 return runCalibration(sphere_cal, data, timestamp_nanos); in sphereFitRunCal()
219 uint64_t timestamp_nanos) { in runCalibration() argument
253 sphere_cal->estimate_time_nanos = timestamp_nanos; in runCalibration()
Dsphere_fit_calibration.h122 uint64_t timestamp_nanos);
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/
Dnano_calibration.cc120 sample.timestamp_nanos = header.baseTimestamp; in HandleSensorSamples()
122 sample.timestamp_nanos += data[i].timestampDelta; in HandleSensorSamples()
140 sample.timestamp_nanos = header.baseTimestamp; in HandleTemperatureSamples()
144 sample.timestamp_nanos += data[i].timestampDelta; in HandleTemperatureSamples()
183 sample.timestamp_nanos, gyro_notification_time_nanos_, in ProcessSample()
185 gyro_notification_time_nanos_ = sample.timestamp_nanos; in ProcessSample()
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/accelerometer/accel_offset_cal/
Daccel_offset_cal.cc33 accelCalRun(&accel_cal_, sample.timestamp_nanos, in SetMeasurement()
62 cal_data_.cal_update_time_nanos = sample.timestamp_nanos; in SetMeasurement()
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/magnetometer/mag_diverse_cal/
Dmag_diverse_cal.cc40 &mag_cal_, NanoToMicroseconds(sample.timestamp_nanos), in SetMeasurement()
62 cal_data_.cal_update_time_nanos = sample.timestamp_nanos; in SetMeasurement()
/device/google/contexthub/firmware/os/algos/calibration/gyroscope/
Dgyro_cal.c1016 void gyroCalDebugPrint(struct GyroCal* gyro_cal, uint64_t timestamp_nanos) { in gyroCalDebugPrint() argument
1034 if (NANO_TIMER_CHECK_T1_GEQUAL_T2_PLUS_DELTA(timestamp_nanos, in gyroCalDebugPrint()
1043 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint()
1050 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint()
1059 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint()
1068 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint()
1075 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint()
1082 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint()
1089 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint()
1096 gyro_cal->wait_timer_nanos = timestamp_nanos; // Starts the wait timer. in gyroCalDebugPrint()