Inaccurate Distance Readings

I reached out to Acconeer and they provided some settings to add to my Arduino sketch that helped tremendously. After adding the following #define statements shown below to the sketch that I have attached previously I ran quite a few trials with and without a float. The readings without a float were actually more accurate. I’m still running trials to see how consistent and accurate this setup is in a controlled environment. Once I get it down I will introduce it to the outdoors and se how it performs.

#define SMALL_TANK_RANGE_START_M 0.03f
#define SMALL_TANK_RANGE_END_M 0.5f
#define SMALL_TANK_MAX_STEP_LENGTH 2U
#define SMALL_TANK_MAX_PROFILE ACC_CONFIG_PROFILE_2
#define SMALL_TANK_PEAK_SORTING ACC_DETECTOR_DISTANCE_PEAK_SORTING_CLOSEST
#define SMALL_TANK_REFLECTOR_SHAPE ACC_DETECTOR_DISTANCE_REFLECTOR_SHAPE_PLANAR
#define SMALL_TANK_THRESHOLD_SENSITIVITY 0.0f
#define SMALL_TANK_SIGNAL_QUALITY 20.0f
#define SMALL_TANK_CLOSE_RANGE_LEAKAGE_CANCELLATION true