I'm looking for an algorithm, that can process an amount of (GPS-) positions and determine, if the actual position gets closer to a way point. What is the "best" way to filter variability in the positions? So far, I've implemented a moving average over the last positions and compare that to the new one.
Does it make sense to use a low-pass filter? Any other ideas?