Home
last modified time | relevance | path

Searched refs:THREE_AXIS_DATA_DIM (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/diversity_checker/
Ddiversity_checker.c77 const float vec[THREE_AXIS_DATA_DIM] = {x, y, z}; in diversityCheckerFindNearestPoint()
80 float vec_diff[THREE_AXIS_DATA_DIM]; in diversityCheckerFindNearestPoint()
90 vecSub(vec_diff, &diverse_data->diverse_data[i * THREE_AXIS_DATA_DIM], vec, in diversityCheckerFindNearestPoint()
91 THREE_AXIS_DATA_DIM); in diversityCheckerFindNearestPoint()
94 norm_squared_result = vecNormSquared(vec_diff, THREE_AXIS_DATA_DIM); in diversityCheckerFindNearestPoint()
120 const float vec[THREE_AXIS_DATA_DIM] = {x, y, z}; in diversityCheckerUpdate()
125 ->diverse_data[diverse_data->num_points * THREE_AXIS_DATA_DIM], in diversityCheckerUpdate()
126 vec, sizeof(float) * THREE_AXIS_DATA_DIM); in diversityCheckerUpdate()
148 float vec_bias[THREE_AXIS_DATA_DIM] = {x_bias, y_bias, z_bias}; in diversityCheckerNormQuality()
149 float vec_bias_removed[THREE_AXIS_DATA_DIM]; in diversityCheckerNormQuality()
[all …]
Ddiversity_checker.h60 #define THREE_AXIS_DATA_DIM (3) // data is three-dimensional. macro
71 float diverse_data_log[THREE_AXIS_DATA_DIM * NUM_DIVERSE_VECTORS];
90 float diverse_data[THREE_AXIS_DATA_DIM * NUM_DIVERSE_VECTORS];
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_sphere_fit_cal/
Dmag_sphere_fit.c88 THREE_AXIS_DATA_DIM], in magCalSphereDataUpdate()
89 vec, sizeof(float) * THREE_AXIS_DATA_DIM); in magCalSphereDataUpdate()
Dmag_sphere_fit.h51 float sphere_data[THREE_AXIS_DATA_DIM * NUM_SPHERE_FIT_DATA];