Searched refs:CAL_ENCODE_FLOAT (Results 1 – 6 of 6) sorted by relevance
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/ |
D | mag_cal.c | 170 CAL_ENCODE_FLOAT(bias.x, 3), CAL_ENCODE_FLOAT(bias.y, 3), in magCalUpdate() 171 CAL_ENCODE_FLOAT(bias.z, 3), CAL_ENCODE_FLOAT(radius, 3), in magCalUpdate() 193 CAL_ENCODE_FLOAT(bias.x, 3), CAL_ENCODE_FLOAT(bias.y, 3), in magCalUpdate() 194 CAL_ENCODE_FLOAT(bias.z, 3), CAL_ENCODE_FLOAT(radius, 3), in magCalUpdate() 195 CAL_ENCODE_FLOAT(moc->diversity_checker.diversity_dbg.var_log, 6), in magCalUpdate() 196 CAL_ENCODE_FLOAT(moc->diversity_checker.diversity_dbg.mean_log, in magCalUpdate() 198 CAL_ENCODE_FLOAT(moc->diversity_checker.diversity_dbg.max_log, 3), in magCalUpdate() 199 CAL_ENCODE_FLOAT(moc->diversity_checker.diversity_dbg.min_log, 3), in magCalUpdate() 201 CAL_ENCODE_FLOAT(moc->diversity_checker.threshold, 3), in magCalUpdate() 202 CAL_ENCODE_FLOAT(moc->diversity_checker.max_distance, 3), in magCalUpdate() [all …]
|
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/ |
D | accel_cal.c | 469 CAL_ENCODE_FLOAT(temp, 3), in accelCalRun() 471 CAL_ENCODE_FLOAT(acc->x_bias_new, 6), in accelCalRun() 472 CAL_ENCODE_FLOAT(acc->y_bias_new, 6), in accelCalRun() 473 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/ |
D | gyro_cal.c | 226 CAL_ENCODE_FLOAT(bias_x * RAD_TO_MDEG, 3), in gyroCalSetBias() 227 CAL_ENCODE_FLOAT(bias_y * RAD_TO_MDEG, 3), in gyroCalSetBias() 228 CAL_ENCODE_FLOAT(bias_z * RAD_TO_MDEG, 3), in gyroCalSetBias() 229 CAL_ENCODE_FLOAT(temperature_celsius, 3), in gyroCalSetBias() 475 CAL_ENCODE_FLOAT( in computeGyroCal() 477 CAL_ENCODE_FLOAT( in computeGyroCal() 479 CAL_ENCODE_FLOAT( in computeGyroCal() 481 CAL_ENCODE_FLOAT(gyro_cal->temperature_mean_celsius, 3), in computeGyroCal() 756 CAL_ENCODE_FLOAT(gyro_cal->stillness_mean_delta_limit * RAD_TO_MDEG, in gyroStillMeanTracker() 758 CAL_ENCODE_FLOAT( in gyroStillMeanTracker() [all …]
|
/device/google/contexthub/firmware/os/algos/calibration/over_temp/ |
D | over_temp_cal.c | 383 CAL_ENCODE_FLOAT(offset[0] * over_temp_cal->otc_unit_conversion, 3), in overTempCalSetModel() 384 CAL_ENCODE_FLOAT(offset[1] * over_temp_cal->otc_unit_conversion, 3), in overTempCalSetModel() 385 CAL_ENCODE_FLOAT(offset[2] * over_temp_cal->otc_unit_conversion, 3), in overTempCalSetModel() 386 CAL_ENCODE_FLOAT(offset_temp_celsius, 3)); in overTempCalSetModel() 393 CAL_ENCODE_FLOAT(temp_sensitivity[0] * over_temp_cal->otc_unit_conversion, in overTempCalSetModel() 395 CAL_ENCODE_FLOAT(temp_sensitivity[1] * over_temp_cal->otc_unit_conversion, in overTempCalSetModel() 397 CAL_ENCODE_FLOAT(temp_sensitivity[2] * over_temp_cal->otc_unit_conversion, in overTempCalSetModel() 399 CAL_ENCODE_FLOAT(sensor_intercept[0] * over_temp_cal->otc_unit_conversion, in overTempCalSetModel() 401 CAL_ENCODE_FLOAT(sensor_intercept[1] * over_temp_cal->otc_unit_conversion, in overTempCalSetModel() 403 CAL_ENCODE_FLOAT(sensor_intercept[2] * over_temp_cal->otc_unit_conversion, in overTempCalSetModel() [all …]
|
/device/google/contexthub/firmware/os/algos/calibration/sphere_fit/ |
D | sphere_fit_calibration.c | 250 CAL_ENCODE_FLOAT(x_sol[0], 6), CAL_ENCODE_FLOAT(x_sol[1], 6), in runCalibration() 251 CAL_ENCODE_FLOAT(x_sol[2], 6), CAL_ENCODE_FLOAT(x_sol[3], 6), in runCalibration() 252 CAL_ENCODE_FLOAT(x_sol[4], 6), CAL_ENCODE_FLOAT(x_sol[5], 6), in runCalibration() 253 CAL_ENCODE_FLOAT(x_sol[6], 6), CAL_ENCODE_FLOAT(x_sol[7], 6), in runCalibration() 254 CAL_ENCODE_FLOAT(x_sol[8], 6)); in runCalibration()
|
/device/google/contexthub/firmware/os/algos/calibration/util/ |
D | cal_log.h | 75 # define CAL_ENCODE_FLOAT(x, num_digits) \ macro 88 # define CAL_ENCODE_FLOAT(x, num_digits) (x)
|