Map images and obstacles in, but loop broken