register obstacle in mapper