Improved self-localization using a low-pass filter