Robot localization in pipe networks