Template Function nav2_util::get_plugin_type_param

Function Documentation

template<typename NodeT>
std::string nav2_util::get_plugin_type_param(NodeT node, const std::string &plugin_name)

Gets the type of plugin for the selected node and its plugin.

Gets the type of plugin for the selected node and its plugin. Actually seeks for the value of “<plugin_name>.plugin” parameter.

Parameters:
  • node[in] Selected node

  • plugin_name[in] The name of plugin the type of which is being searched for

Returns:

A string containing the type of plugin (the value of “<plugin_name>.plugin” parameter)