Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/calibration/magnetometer/
Dmag_cal.h48 float x_bias, y_bias, z_bias; member
57 void initMagCal(struct MagCal *moc, float x_bias, float y_bias, float z_bias,
64 void initMagCal(struct MagCal *moc, float x_bias, float y_bias, float z_bias,
Dmag_cal.c165 void initMagCal(struct MagCal *moc, float x_bias, float y_bias, float z_bias, in initMagCal() argument
184 moc->z_bias = z_bias; in initMagCal()
283 moc->z_bias = bias.z; in magCalUpdate()
305 *z = moc->z_bias; in magCalGetBias()
311 moc->z_bias += z; in magCalAddBias()
318 *zo = zi - moc->z_bias; in magCalRemoveBias()
/device/google/contexthub/firmware/os/algos/calibration/common/
Ddiversity_checker.c137 float z_bias) { in diversityCheckerNormQuality() argument
145 float vec_bias[3] = {x_bias, y_bias, z_bias}; in diversityCheckerNormQuality()
Ddiversity_checker.h136 float z_bias);
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c181 acc->x_bias = acc->y_bias = acc->z_bias = 0; in accelCalInit()
447 (acc->z_bias < acc->z_bias_new) || (acc->z_bias > acc->z_bias_new)) { in accelCalUpdateBias()
450 acc->z_bias = acc->z_bias_new; in accelCalUpdateBias()
461 acc->z_bias = acc->z_bias_new = z; in accelCalBiasSet()
468 *z = *z - acc->z_bias; in accelCalBiasRemove()
765 CAL_ENCODE_FLOAT(acc->z_bias, 6), (unsigned)acc->adf.noff); in accelCalDebPrint()
Daccel_cal.h143 float x_bias, y_bias, z_bias; member
/device/google/contexthub/inc/chre/
Dsensor.h543 float z_bias; member
/device/google/contexthub/sensorhal/
Dhubconnection.cpp677 ue->z_bias = mAccelBias[2]; in processSample()
701 ue->z_bias = mMagBias[2]; in processSample()
746 ue->z_bias = mAccelBias[2]; in processSample()
770 ue->z_bias = mGyroBias[2]; in processSample()
806 ue->z_bias = mMagBias[2]; in processSample()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c3136 mTask.moc.z_bias = d->bias[2];