//sqrt(reference_in_sensor_frame.data_c[GRND_REF_DATA_C_3_Z_VARIANCE]) < 0.06) TODO: Could we use this variance to penalize uneven terrain?
//sqrt(reference_in_sensor_frame.data_c[GRND_REF_DATA_C_3_Z_VARIANCE]) < 0.06) TODO: Could we use this variance to penalize uneven terrain?
floatscore=0.995-(mahalanobis_distance/filtering_configuration.mahalanobis_threshold);// we use 0.995 instead of 1.0 to avoid overflowing the class field
floatscore=0.995-(mahalanobis_distance/filtering_configuration.mahalanobis_threshold);// we use 0.995 instead of 1.0 to avoid overflowing the class field