Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/calibration/sphere_fit/
Dcalibration_data.c39 float x_temp[THREE_AXIS_DIM]; in calDataCorrectData() local
40 vecSub(x_temp, x_impaired, calstruct->bias, THREE_AXIS_DIM); in calDataCorrectData()
46 x_corrected[0] = calstruct->scale_factor_x * x_temp[0]; in calDataCorrectData()
48 calstruct->skew_yx * x_temp[0] + calstruct->scale_factor_y * x_temp[1]; in calDataCorrectData()
49 x_corrected[2] = calstruct->skew_zx * x_temp[0] + in calDataCorrectData()
50 calstruct->skew_zy * x_temp[1] + in calDataCorrectData()
51 calstruct->scale_factor_z * x_temp[2]; in calDataCorrectData()