parameters: (self)
return_statement: return future.result().map
docstring: Get the global costmap.
docstring_summary: Get the global costmap.
docstring_tokens: Get the global costmap .
function: def getGlobalCostmap(self):
          """Get the global costmap."""
          while not self.get_costmap_global_srv.wait_for_service(timeout_sec=1.0):
              self.info('Get global costmaps service not available, waiting...')
          req = GetCostmap.Request()
          future = self.get_costmap_global_srv.call_async(req)
          rclpy.spin_until_future_complete(self, future)
          return future.result().map
function_tokens: def getGlobalCostmap ( self ) : while not self . get_costmap_global_srv . wait_for_service ( timeout_sec = 1.0 ) : self . info ( 'Get global costmaps service not available, waiting...' ) req = GetCostmap . Request ( ) future = self . get_costmap_global_srv . call_async ( req ) rclpy . spin_until_future_complete ( self , future ) return future . result ( ) . map