Home
last modified time | relevance | path

Searched refs:radius (Results 1 – 6 of 6) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.c113 moc->radius = 0.0f; in initMagCal()
162 float radius; in magCalUpdate() local
164 if (kasaFit(&moc->kasa, &bias, &radius, MAX_FIT_MAG, MIN_FIT_MAG)) { in magCalUpdate()
170 CAL_ENCODE_FLOAT(bias.z, 3), CAL_ENCODE_FLOAT(radius, 3), in magCalUpdate()
175 diversityCheckerLocalFieldUpdate(&moc->diversity_checker, radius); in magCalUpdate()
193 CAL_ENCODE_FLOAT(bias.z, 3), CAL_ENCODE_FLOAT(radius, 3), in magCalUpdate()
214 moc->radius = radius; in magCalUpdate()
Dmag_cal.h74 float radius; // [micro-Tesla] member
/device/google/contexthub/firmware/os/algos/common/math/
Dkasa.h47 int kasaFit(struct KasaFit *kasa, struct Vec3 *bias, float *radius,
Dkasa.c68 int kasaFit(struct KasaFit *kasa, struct Vec3 *bias, float *radius, in kasaFit() argument
112 *radius = r; in kasaFit()
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_sphere_fit_cal/
Dmag_sphere_fit.c103 mocs->number_of_data_samples, mocs->moc.radius}; in magCalSphereFit()
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c498 float radius; in accelCalRun() local
501 kasaFit(&acc->ac1[temp_gate].akf, &bias, &radius, G_NORM_MAX, in accelCalRun()
534 acc->adf.rad[acc->adf.n_o] = radius; in accelCalRun()