Home
last modified time | relevance | path

Searched refs:z_bias_new (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c174 fabsf(acc->z_bias - acc->z_bias_new) > ACCEL_NEW_BIAS_THRESHOLD; in accelCalNewBiasAvailable()
197 acc->x_bias_new = acc->y_bias_new = acc->z_bias_new = 0; in accelCalInit()
419 *z = acc->z_bias_new; in accelCalUpdateBias()
426 (acc->z_bias < acc->z_bias_new) || (acc->z_bias > acc->z_bias_new)) { in accelCalUpdateBias()
429 acc->z_bias = acc->z_bias_new; in accelCalUpdateBias()
440 acc->z_bias = acc->z_bias_new = z; in accelCalBiasSet()
468 CAL_ENCODE_FLOAT(acc->z_bias_new, 6)); in accelCalRun()
513 acc->z_bias_new = bias.z * KSCALE2; in accelCalRun()
741 CAL_ENCODE_FLOAT(acc->z_bias_new, 6), in accelCalDebPrint()
Daccel_cal.h159 float x_bias_new, y_bias_new, z_bias_new; member