Searched refs:THREE_AXIS_DATA_DIM (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/firmware/os/algos/calibration/diversity_checker/ |
D | diversity_checker.c | 77 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 …]
|
D | diversity_checker.h | 60 #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/ |
D | mag_sphere_fit.c | 88 THREE_AXIS_DATA_DIM], in magCalSphereDataUpdate() 89 vec, sizeof(float) * THREE_AXIS_DATA_DIM); in magCalSphereDataUpdate()
|
D | mag_sphere_fit.h | 51 float sphere_data[THREE_AXIS_DATA_DIM * NUM_SPHERE_FIT_DATA];
|