Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/calibration/gyroscope/
Dgyro_cal.c54 static void deviceStillnessCheck(struct GyroCal* gyro_cal,
57 static void computeGyroCal(struct GyroCal* gyro_cal,
60 static void checkWatchdog(struct GyroCal* gyro_cal, uint64_t sample_time_nanos);
80 static bool gyroTemperatureStatsTracker(struct GyroCal* gyro_cal,
93 static bool gyroStillMeanTracker(struct GyroCal* gyro_cal,
112 static void gyroCalUpdateDebug(struct GyroCal* gyro_cal);
115 static void gyroCalDebugPrintData(const struct GyroCal* gyro_cal,
123 void gyroCalInit(struct GyroCal* gyro_cal, in gyroCalInit() argument
126 memset(gyro_cal, 0, sizeof(struct GyroCal)); in gyroCalInit()
132 gyroStillDetInit(&gyro_cal->gyro_stillness_detect, in gyroCalInit()
[all …]
Dgyro_cal.h213 void gyroCalInit(struct GyroCal* gyro_cal,
217 void gyroCalDestroy(struct GyroCal* gyro_cal);
220 void gyroCalGetBias(struct GyroCal* gyro_cal, float* bias_x, float* bias_y,
225 void gyroCalSetBias(struct GyroCal* gyro_cal, float bias_x, float bias_y,
230 void gyroCalRemoveBias(struct GyroCal* gyro_cal, float xi, float yi, float zi,
234 bool gyroCalNewBiasAvailable(struct GyroCal* gyro_cal);
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,
250 void gyroCalDebugPrint(struct GyroCal* gyro_cal,
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/
Dnano_calibration.h87 OnlineCalibrationThreeAxis *gyro_cal,
Dnano_calibration.cc51 OnlineCalibrationThreeAxis *gyro_cal, in Initialize() argument
67 gyro_cal_ = gyro_cal; in Initialize()
/device/google/contexthub/firmware/
Dneonkey_aux_variant_config.mk60 os/algos/calibration/gyroscope/gyro_cal.c \
Dnucleo_aux_variant_config.mk60 os/algos/calibration/gyroscope/gyro_cal.c \
Dargonkey_aux_variant_config.mk59 os/algos/calibration/gyroscope/gyro_cal.c \
Dlunchbox_aux_variant_config.mk68 os/algos/calibration/gyroscope/gyro_cal.c \
/device/google/contexthub/firmware/variant/argonkey/
Dargonkey.mk36 os/algos/calibration/gyroscope/gyro_cal.c \
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c652 struct GyroCal gyro_cal; member
1067 gyroCalSetBias(&T(gyro_cal), bias->softwareBias[0], bias->softwareBias[1],
2488 gyroCalUpdateAccel(&T(gyro_cal), rtc_time, x, y, z);
2498 gyroCalUpdateGyro(&T(gyro_cal), rtc_time, x, y, z, T(chip_temperature));
2499 gyroCalRemoveBias(&T(gyro_cal), x, y, z, &x, &y, &z);
2500 new_offset_update = gyroCalNewBiasAvailable(&T(gyro_cal));
2503 gyroCalGetBias(&T(gyro_cal), &offset[0], &offset[1], &offset[2],
3087 gyroCalUpdateMag(&T(gyro_cal), ts, sample->x, sample->y, sample->z);
3217 gyroCalInit(&T(gyro_cal),
3262 gyroCalDestroy(&T(gyro_cal));
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
DREADME94 > Gyro bias calibration through gyro_cal & gyro_stillnes_detect libs;
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c482 struct GyroCal gyro_cal; member
2037 gyroCalUpdateMag(&mTask.gyro_cal,
2070 gyroCalUpdateAccel(&mTask.gyro_cal,
2077 gyroCalUpdateGyro(&mTask.gyro_cal,
2092 gyroCalRemoveBias(&mTask.gyro_cal,
2105 gyroCalDebugPrint(&mTask.gyro_cal, rtc_time);
2215 bool new_gyrocal_offset_update = gyroCalNewBiasAvailable(&mTask.gyro_cal);
2218 gyroCalGetBias(&mTask.gyro_cal, &gyro_offset[0], &gyro_offset[1],
3129 gyroCalSetBias(&T(gyro_cal), bias->softwareBias[0],
3888 gyroCalInit(&mTask.gyro_cal, &gyro_cal_parameters);