get obstacle points from costmap