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 | 55 uint64_t sample_time_nanos); 60 static void checkWatchdog(struct GyroCal* gyro_cal, uint64_t sample_time_nanos); 257 void gyroCalUpdateGyro(struct GyroCal* gyro_cal, uint64_t sample_time_nanos, in gyroCalUpdateGyro() argument 263 sample_time_nanos + gyro_cal->window_time_duration_nanos; in gyroCalUpdateGyro() 266 gyro_cal->gyro_watchdog_start_nanos = sample_time_nanos; in gyroCalUpdateGyro() 275 sample_time_nanos); in gyroCalUpdateGyro() 280 gyro_cal->stillness_win_endtime_nanos, sample_time_nanos, in gyroCalUpdateGyro() 285 deviceStillnessCheck(gyro_cal, sample_time_nanos); in gyroCalUpdateGyro() 289 void gyroCalUpdateMag(struct GyroCal* gyro_cal, uint64_t sample_time_nanos, in gyroCalUpdateMag() argument 293 gyro_cal->stillness_win_endtime_nanos, sample_time_nanos, in gyroCalUpdateMag() [all …]
|
D | gyro_cal.h | 237 void gyroCalUpdateGyro(struct GyroCal* gyro_cal, uint64_t sample_time_nanos, 241 void gyroCalUpdateMag(struct GyroCal* gyro_cal, uint64_t sample_time_nanos, 245 void gyroCalUpdateAccel(struct GyroCal* gyro_cal, uint64_t sample_time_nanos,
|
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/ |
D | accel_cal.c | 207 uint64_t sample_time_nanos) { in stillnessBatchComplete() argument 211 if ((sample_time_nanos - asd->start_time > asd->min_batch_window) && in stillnessBatchComplete() 213 if (sample_time_nanos - asd->start_time < asd->max_batch_window) { in stillnessBatchComplete() 220 } else if (sample_time_nanos - asd->start_time > asd->min_batch_window && in stillnessBatchComplete() 233 uint64_t sample_time_nanos, float x, float y, in accelStillnessDetection() argument 249 asd->start_time = sample_time_nanos; in accelStillnessDetection() 251 if (stillnessBatchComplete(asd, sample_time_nanos)) { in accelStillnessDetection() 451 void accelCalRun(struct AccelCal *acc, uint64_t sample_time_nanos, float x, in accelCalRun() argument 460 if ((sample_time_nanos - acc->temp_time_nanos) > IMU_TEMP_DELTA_TIME_NANOS) { in accelCalRun() 465 sample_time_nanos, in accelCalRun() [all …]
|
D | accel_cal.h | 181 void accelCalRun(struct AccelCal *acc, uint64_t sample_time_nanos, float x,
|