Searched refs:temperature_celsius (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/firmware/os/algos/calibration/over_temp/ |
D | over_temp_cal.c | 148 size_t axis_index, float temperature_celsius); 165 static bool checkAndEnforceTemperatureRange(float *temperature_celsius) { in checkAndEnforceTemperatureRange() argument 166 if (*temperature_celsius > OVERTEMPCAL_TEMP_MAX_CELSIUS) { in checkAndEnforceTemperatureRange() 167 *temperature_celsius = OVERTEMPCAL_TEMP_MAX_CELSIUS; in checkAndEnforceTemperatureRange() 170 if (*temperature_celsius < OVERTEMPCAL_TEMP_MIN_CELSIUS) { in checkAndEnforceTemperatureRange() 171 *temperature_celsius = OVERTEMPCAL_TEMP_MIN_CELSIUS; in checkAndEnforceTemperatureRange() 245 over_temp_cal->temperature_celsius = JUMPSTART_START_TEMP_CELSIUS; in overTempCalInit() 518 float temperature_celsius) { in overTempCalUpdateSensorEstimate() argument 525 if (!isValidOtcOffset(offset, temperature_celsius)) { in overTempCalUpdateSensorEstimate() 538 if (outlierCheck(over_temp_cal, offset, 0, temperature_celsius) || in overTempCalUpdateSensorEstimate() [all …]
|
D | over_temp_cal.h | 120 float temperature_celsius; member 145 float temperature_celsius; member 387 float temperature_celsius); 395 float temperature_celsius);
|
/device/google/contexthub/firmware/os/algos/calibration/gyroscope/ |
D | gyro_cal.c | 81 float temperature_celsius, 250 float* bias_z, float* temperature_celsius) { in gyroCalGetBias() argument 254 *temperature_celsius = gyro_cal->bias_temperature_celsius; in gyroCalGetBias() 297 float x, float y, float z, float temperature_celsius) { in gyroCalUpdateGyro() argument 311 if (NANO_ABS(temperature_celsius - latest_temperature_celsius) > FLT_MIN) { in gyroCalUpdateGyro() 312 gyroTemperatureStatsTracker(gyro_cal, temperature_celsius, DO_UPDATE_DATA); in gyroCalUpdateGyro() 640 float temperature_celsius, in gyroTemperatureStatsTracker() argument 661 mean_accumulator += temperature_celsius; in gyroTemperatureStatsTracker() 665 if (temperature_min_max_celsius[0] > temperature_celsius) { in gyroTemperatureStatsTracker() 666 temperature_min_max_celsius[0] = temperature_celsius; in gyroTemperatureStatsTracker() [all …]
|
D | gyro_cal.h | 188 float* bias_z, float* temperature_celsius); 203 float x, float y, float z, float temperature_celsius);
|