Home
last modified time | relevance | path

Searched refs:CAL_ENCODE_FLOAT (Results 1 – 6 of 6) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.c169 CAL_ENCODE_FLOAT(bias.x, 3), CAL_ENCODE_FLOAT(bias.y, 3), in magCalUpdate()
170 CAL_ENCODE_FLOAT(bias.z, 3), CAL_ENCODE_FLOAT(radius, 3), in magCalUpdate()
192 CAL_ENCODE_FLOAT(bias.x, 3), CAL_ENCODE_FLOAT(bias.y, 3), in magCalUpdate()
193 CAL_ENCODE_FLOAT(bias.z, 3), CAL_ENCODE_FLOAT(radius, 3), in magCalUpdate()
194 CAL_ENCODE_FLOAT(moc->diversity_checker.diversity_dbg.var_log, 6), in magCalUpdate()
195 CAL_ENCODE_FLOAT(moc->diversity_checker.diversity_dbg.mean_log, in magCalUpdate()
197 CAL_ENCODE_FLOAT(moc->diversity_checker.diversity_dbg.max_log, 3), in magCalUpdate()
198 CAL_ENCODE_FLOAT(moc->diversity_checker.diversity_dbg.min_log, 3), in magCalUpdate()
200 CAL_ENCODE_FLOAT(moc->diversity_checker.threshold, 3), in magCalUpdate()
201 CAL_ENCODE_FLOAT(moc->diversity_checker.max_distance, 3), in magCalUpdate()
[all …]
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c464 CAL_ENCODE_FLOAT(temp, 3), in accelCalRun()
466 CAL_ENCODE_FLOAT(acc->x_bias_new, 6), in accelCalRun()
467 CAL_ENCODE_FLOAT(acc->y_bias_new, 6), in accelCalRun()
468 CAL_ENCODE_FLOAT(acc->z_bias_new, 6)); in accelCalRun()
571 CAL_ENCODE_FLOAT(acc->adf.x_o[0], 6), in accelCalDebPrint()
572 CAL_ENCODE_FLOAT(acc->adf.x_o[1], 6), in accelCalDebPrint()
573 CAL_ENCODE_FLOAT(acc->adf.x_o[2], 6), in accelCalDebPrint()
574 CAL_ENCODE_FLOAT(acc->adf.x_o[3], 6), in accelCalDebPrint()
575 CAL_ENCODE_FLOAT(acc->adf.x_o[4], 6), in accelCalDebPrint()
576 CAL_ENCODE_FLOAT(acc->adf.x_o[5], 6), in accelCalDebPrint()
[all …]
/device/google/contexthub/firmware/os/algos/calibration/gyroscope/
Dgyro_cal.c227 CAL_ENCODE_FLOAT(bias_x * RAD_TO_MDEG, 3), in gyroCalSetBias()
228 CAL_ENCODE_FLOAT(bias_y * RAD_TO_MDEG, 3), in gyroCalSetBias()
229 CAL_ENCODE_FLOAT(bias_z * RAD_TO_MDEG, 3), in gyroCalSetBias()
230 CAL_ENCODE_FLOAT(temperature_celsius, 3), in gyroCalSetBias()
476 CAL_ENCODE_FLOAT( in computeGyroCal()
478 CAL_ENCODE_FLOAT( in computeGyroCal()
480 CAL_ENCODE_FLOAT( in computeGyroCal()
482 CAL_ENCODE_FLOAT(gyro_cal->temperature_mean_celsius, 3), in computeGyroCal()
757 CAL_ENCODE_FLOAT(gyro_cal->stillness_mean_delta_limit * RAD_TO_MDEG, in gyroStillMeanTracker()
759 CAL_ENCODE_FLOAT( in gyroStillMeanTracker()
[all …]
/device/google/contexthub/firmware/os/algos/calibration/over_temp/
Dover_temp_cal.c380 CAL_ENCODE_FLOAT(offset[0] * over_temp_cal->otc_unit_conversion, 3), in overTempCalSetModel()
381 CAL_ENCODE_FLOAT(offset[1] * over_temp_cal->otc_unit_conversion, 3), in overTempCalSetModel()
382 CAL_ENCODE_FLOAT(offset[2] * over_temp_cal->otc_unit_conversion, 3), in overTempCalSetModel()
383 CAL_ENCODE_FLOAT(offset_temp_celsius, 3)); in overTempCalSetModel()
390 CAL_ENCODE_FLOAT(temp_sensitivity[0] * over_temp_cal->otc_unit_conversion, in overTempCalSetModel()
392 CAL_ENCODE_FLOAT(temp_sensitivity[1] * over_temp_cal->otc_unit_conversion, in overTempCalSetModel()
394 CAL_ENCODE_FLOAT(temp_sensitivity[2] * over_temp_cal->otc_unit_conversion, in overTempCalSetModel()
396 CAL_ENCODE_FLOAT(sensor_intercept[0] * over_temp_cal->otc_unit_conversion, in overTempCalSetModel()
398 CAL_ENCODE_FLOAT(sensor_intercept[1] * over_temp_cal->otc_unit_conversion, in overTempCalSetModel()
400 CAL_ENCODE_FLOAT(sensor_intercept[2] * over_temp_cal->otc_unit_conversion, in overTempCalSetModel()
[all …]
/device/google/contexthub/firmware/os/algos/calibration/sphere_fit/
Dsphere_fit_calibration.c246 CAL_ENCODE_FLOAT(x_sol[0], 6), CAL_ENCODE_FLOAT(x_sol[1], 6), in runCalibration()
247 CAL_ENCODE_FLOAT(x_sol[2], 6), CAL_ENCODE_FLOAT(x_sol[3], 6), in runCalibration()
248 CAL_ENCODE_FLOAT(x_sol[4], 6), CAL_ENCODE_FLOAT(x_sol[5], 6), in runCalibration()
249 CAL_ENCODE_FLOAT(x_sol[6], 6), CAL_ENCODE_FLOAT(x_sol[7], 6), in runCalibration()
250 CAL_ENCODE_FLOAT(x_sol[8], 6)); in runCalibration()
/device/google/contexthub/firmware/os/algos/calibration/util/
Dcal_log.h73 # define CAL_ENCODE_FLOAT(x, num_digits) \ macro
86 # define CAL_ENCODE_FLOAT(x, num_digits) (x)