Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.c117 moc->x_bias = mag_cal_parameters->x_bias; in initMagCal()
207 CAL_ENCODE_FLOAT(moc->x_bias, 3), in magCalUpdate()
212 moc->x_bias = bias.x; in magCalUpdate()
231 *x = moc->x_bias; in magCalGetBias()
237 moc->x_bias += x; in magCalAddBias()
244 *xo = xi - moc->x_bias; in magCalRemoveBias()
Dmag_cal.h52 float x_bias; // [micro-Tesla] member
73 float x_bias, y_bias, z_bias; member
/device/google/contexthub/firmware/os/algos/calibration/diversity_checker/
Ddiversity_checker.c140 float x_bias, float y_bias, float z_bias) { in diversityCheckerNormQuality() argument
148 float vec_bias[THREE_AXIS_DATA_DIM] = {x_bias, y_bias, z_bias}; in diversityCheckerNormQuality()
Ddiversity_checker.h169 float x_bias, float y_bias, float z_bias);
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c174 return fabsf(acc->x_bias - acc->x_bias_new) > ACCEL_NEW_BIAS_THRESHOLD || in accelCalNewBiasAvailable()
198 acc->x_bias = acc->y_bias = acc->z_bias = 0; in accelCalInit()
426 if ((acc->x_bias < acc->x_bias_new) || (acc->x_bias > acc->x_bias_new) || in accelCalUpdateBias()
429 acc->x_bias = acc->x_bias_new; in accelCalUpdateBias()
440 acc->x_bias = acc->x_bias_new = x; in accelCalBiasSet()
447 *x = *x - acc->x_bias; in accelCalBiasRemove()
734 CAL_ENCODE_FLOAT(acc->x_bias, 6), in accelCalDebPrint()
Daccel_cal.h165 float x_bias, y_bias, z_bias; member
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_sphere_fit_cal/
Dmag_sphere_fit.c102 float initial_bias[3] = {mocs->moc.x_bias, mocs->moc.y_bias, in magCalSphereFit()
/device/generic/goldfish/sensors/
Dmultihal_sensors_qemu.cpp125 uncal->x_bias = 0.0; in parseQemuSensorEvent()
157 uncal->x_bias = 0.0; in parseQemuSensorEvent()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp720 ue->x_bias = mAccelBias[0]; in processSample()
725 ue->x_bias = mAccelEnabledBias[0]; in processSample()
765 ue->x_bias = mMagBias[0]; in processSample()
812 ue->x_bias = mAccelBias[0]; in processSample()
852 ue->x_bias = mGyroBias[0]; in processSample()
904 ue->x_bias = mMagBias[0]; in processSample()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c519 mTask.moc.x_bias = d->bias[0]; in magCfgData()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c3220 mTask.moc.x_bias = d->bias[0];
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c3726 T(magnCal).x_bias = d->bias[0]; in lsm6dsm_magnCfgData()