Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c172 return fabsf(acc->x_bias - acc->x_bias_new) > ACCEL_NEW_BIAS_THRESHOLD || in accelCalNewBiasAvailable()
197 acc->x_bias_new = acc->y_bias_new = acc->z_bias_new = 0; in accelCalInit()
417 *x = acc->x_bias_new; in accelCalUpdateBias()
424 if ((acc->x_bias < acc->x_bias_new) || (acc->x_bias > acc->x_bias_new) || in accelCalUpdateBias()
427 acc->x_bias = acc->x_bias_new; in accelCalUpdateBias()
438 acc->x_bias = acc->x_bias_new = x; in accelCalBiasSet()
466 CAL_ENCODE_FLOAT(acc->x_bias_new, 6), in accelCalRun()
511 acc->x_bias_new = bias.x * KSCALE2; in accelCalRun()
739 CAL_ENCODE_FLOAT(acc->x_bias_new, 6), in accelCalDebPrint()
Daccel_cal.h159 float x_bias_new, y_bias_new, z_bias_new; member