I'm dealing with a problem where sometimes an object I'm looking at using RF signals can appear to be somewhere it's not due to the bouncing of the waves.
Currently what I have in place is a circular buffer that keeps the past 200 timestamps correlated to when it was seen it in that zone.
Once it sees that the object has been seen in two different zones it calculates the average time it was seen in both zones and returns the zone with the greater time.
This works pretty great under ideal conditions but sometimes the zones can be in a tight clusters so it's possible it sees 3 or more zones at once.
I understand this isn't exactly an easy problem to solve and I'm not looking for an answer on exactly what to do. I'm not sure if it's even possible to get something with 100 percent correct results but maybe some advice to improve what I have.