Function nav2_util::add_namespaces

Function Documentation

std::string nav2_util::add_namespaces(const std::string &top_ns, const std::string &sub_ns = "")

Concatenate two namespaces to produce an absolute namespace.

Parameters:
  • top_ns[in] The namespace to place first

  • sub_ns[in] The namespace to place after top_ns

Returns:

An absolute namespace starting with “/”