Searched refs:sample_time_nanos (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/firmware/os/algos/calibration/gyroscope/ |
D | gyro_cal.c | 58 uint64_t sample_time_nanos); 63 static void checkWatchdog(struct GyroCal* gyro_cal, uint64_t sample_time_nanos); 256 void gyroCalUpdateGyro(struct GyroCal* gyro_cal, uint64_t sample_time_nanos, in gyroCalUpdateGyro() argument 262 sample_time_nanos + gyro_cal->window_time_duration_nanos; in gyroCalUpdateGyro() 265 gyro_cal->gyro_watchdog_start_nanos = sample_time_nanos; in gyroCalUpdateGyro() 274 sample_time_nanos); in gyroCalUpdateGyro() 279 gyro_cal->stillness_win_endtime_nanos, sample_time_nanos, in gyroCalUpdateGyro() 284 deviceStillnessCheck(gyro_cal, sample_time_nanos); in gyroCalUpdateGyro() 288 void gyroCalUpdateMag(struct GyroCal* gyro_cal, uint64_t sample_time_nanos, in gyroCalUpdateMag() argument 292 gyro_cal->stillness_win_endtime_nanos, sample_time_nanos, in gyroCalUpdateMag() [all …]
|
D | gyro_cal.h | 234 void gyroCalUpdateGyro(struct GyroCal* gyro_cal, uint64_t sample_time_nanos, 238 void gyroCalUpdateMag(struct GyroCal* gyro_cal, uint64_t sample_time_nanos, 242 void gyroCalUpdateAccel(struct GyroCal* gyro_cal, uint64_t sample_time_nanos,
|
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/ |
D | accel_cal.c | 212 uint64_t sample_time_nanos) { in stillnessBatchComplete() argument 216 if ((sample_time_nanos - asd->start_time > asd->min_batch_window) && in stillnessBatchComplete() 218 if (sample_time_nanos - asd->start_time < asd->max_batch_window) { in stillnessBatchComplete() 225 } else if (sample_time_nanos - asd->start_time > asd->min_batch_window && in stillnessBatchComplete() 238 uint64_t sample_time_nanos, float x, float y, in accelStillnessDetection() argument 254 asd->start_time = sample_time_nanos; in accelStillnessDetection() 256 if (stillnessBatchComplete(asd, sample_time_nanos)) { in accelStillnessDetection() 456 void accelCalRun(struct AccelCal *acc, uint64_t sample_time_nanos, float x, in accelCalRun() argument 465 if ((sample_time_nanos - acc->temp_time_nanos) > IMU_TEMP_DELTA_TIME_NANOS) { in accelCalRun() 470 sample_time_nanos, in accelCalRun() [all …]
|
D | accel_cal.h | 182 void accelCalRun(struct AccelCal *acc, uint64_t sample_time_nanos, float x,
|