Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.c118 moc->z_bias = mag_cal_parameters->z_bias; in initMagCal()
208 CAL_ENCODE_FLOAT(moc->z_bias, 3), in magCalUpdate()
213 moc->z_bias = bias.z; in magCalUpdate()
232 *z = moc->z_bias; in magCalGetBias()
238 moc->z_bias += z; in magCalAddBias()
245 *zo = zi - moc->z_bias; in magCalRemoveBias()
Dmag_cal.h54 float z_bias; // [micro-Tesla] member
73 float x_bias, y_bias, z_bias; member
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c178 fabsf(acc->z_bias - acc->z_bias_new) > ACCEL_NEW_BIAS_THRESHOLD; in accelCalNewBiasAvailable()
201 acc->x_bias = acc->y_bias = acc->z_bias = 0; in accelCalInit()
431 (acc->z_bias < acc->z_bias_new) || (acc->z_bias > acc->z_bias_new)) { in accelCalUpdateBias()
434 acc->z_bias = acc->z_bias_new; in accelCalUpdateBias()
445 acc->z_bias = acc->z_bias_new = z; in accelCalBiasSet()
452 *z = *z - acc->z_bias; in accelCalBiasRemove()
734 CAL_ENCODE_FLOAT(acc->z_bias, 6), (unsigned)acc->adf.noff); 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.cpp145 uncal->z_bias = randomError(-0.003f, 0.003f); in parseQemuSensorEventLocked()
172 uncal->z_bias = randomError(-0.0003f, 0.0003f); in parseQemuSensorEventLocked()
205 uncal->z_bias = randomError(-0.003f, 0.003f); in parseQemuSensorEventLocked()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp722 ue->z_bias = mAccelBias[2]; in processSample()
727 ue->z_bias = mAccelEnabledBias[2]; in processSample()
767 ue->z_bias = mMagBias[2]; in processSample()
814 ue->z_bias = mAccelBias[2]; in processSample()
854 ue->z_bias = mGyroBias[2]; in processSample()
906 ue->z_bias = mMagBias[2]; in processSample()
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_sphere_fit_cal/
Dmag_sphere_fit.c103 mocs->moc.z_bias}; in magCalSphereFit()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c521 mTask.moc.z_bias = d->bias[2]; in magCfgData()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c3229 mTask.moc.z_bias = d->bias[2];
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c3728 T(magnCal).z_bias = d->bias[2]; in lsm6dsm_magnCfgData()