Updated localization to take into account walls.