Home
last modified time | relevance | path

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

/hardware/invensense/mlsdk/mllite/
DmlSetGyroBias.c54 long biasTmp2[3], biasTmp[3], biasPrev[3]; in inv_convert_bias() local
69 biasTmp[i] = inv_q30_mult(biasTmp2[0], inv_obj.gyro_orient[i]) + in inv_convert_bias()
75 biasTmp[i] = (long)(biasTmp[i] * 1.39882274201861f / sf); in inv_convert_bias()
82 bias[i] = (short)(biasPrev[i] - biasTmp[i]); in inv_convert_bias()
111 long biasTmp; in inv_set_gyro_bias_in_dps() local
122 biasTmp = -bias[i] / sf; in inv_set_gyro_bias_in_dps()
123 if (biasTmp < 0) in inv_set_gyro_bias_in_dps()
124 biasTmp += 65536L; in inv_set_gyro_bias_in_dps()
125 offset[i] = (short)biasTmp; in inv_set_gyro_bias_in_dps()
DmlBiasNoMotion.c327 long biasTmp2[3], biasTmp[3]; in MLPollMotionStatus() local
338 biasTmp[i] = in MLPollMotionStatus()
345 inv_obj->gyro_bias[0] = inv_q30_mult(biasTmp[0], 1501974482L); in MLPollMotionStatus()
346 inv_obj->gyro_bias[1] = inv_q30_mult(biasTmp[1], 1501974482L); in MLPollMotionStatus()
347 inv_obj->gyro_bias[2] = inv_q30_mult(biasTmp[2], 1501974482L); in MLPollMotionStatus()
Dmlarray.c2132 long biasTmp; in inv_set_gyro_bias() local
2145 biasTmp = -inv_obj.gyro_bias[i] / sf; in inv_set_gyro_bias()
2146 if (biasTmp < 0) in inv_set_gyro_bias()
2147 biasTmp += 65536L; in inv_set_gyro_bias()
2148 offset[i] = (short)biasTmp; in inv_set_gyro_bias()
2179 long biasTmp; in inv_set_accel_bias() local
2195 biasTmp = (long)(tmp64 / inv_obj.accel_sens); in inv_set_accel_bias()
2197 biasTmp = 0; in inv_set_accel_bias()
2199 if (biasTmp < 0) in inv_set_accel_bias()
2200 biasTmp += 65536L; in inv_set_accel_bias()
[all …]