fix localization and obstacles