how to get a copy of global costmap from move_base
i am writing a package which needs to use global costmap for its calculations. this package does not implement BaseGlobalPlanner, because it is not the task of the package. the global costmap is private variable of move_base and i did not find any way to access it in another package. so my qestion is how do i get the global costmap from move_base for my calculations?