Sensing and filtering for localization tasks