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.c116 moc->x_bias = mag_cal_parameters->x_bias; in initMagCal()
206 CAL_ENCODE_FLOAT(moc->x_bias, 3), in magCalUpdate()
211 moc->x_bias = bias.x; in magCalUpdate()
230 *x = moc->x_bias; in magCalGetBias()
236 moc->x_bias += x; in magCalAddBias()
243 *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/accelerometer/
Daccel_cal.c176 return fabsf(acc->x_bias - acc->x_bias_new) > ACCEL_NEW_BIAS_THRESHOLD || in accelCalNewBiasAvailable()
201 acc->x_bias = acc->y_bias = acc->z_bias = 0; in accelCalInit()
429 if ((acc->x_bias < acc->x_bias_new) || (acc->x_bias > acc->x_bias_new) || in accelCalUpdateBias()
432 acc->x_bias = acc->x_bias_new; in accelCalUpdateBias()
443 acc->x_bias = acc->x_bias_new = x; in accelCalBiasSet()
450 *x = *x - acc->x_bias; in accelCalBiasRemove()
732 CAL_ENCODE_FLOAT(acc->x_bias, 6), in accelCalDebPrint()
Daccel_cal.h166 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/generic/goldfish/sensors/
Dmultihal_sensors_qemu.cpp143 uncal->x_bias = randomError(-0.003f, 0.003f); in parseQemuSensorEventLocked()
170 uncal->x_bias = randomError(-0.0003f, 0.0003f); in parseQemuSensorEventLocked()
203 uncal->x_bias = randomError( -0.003f, 0.003f); in parseQemuSensorEventLocked()
/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/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/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.c3227 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()