Function rclcpp::parameter_map_from_yaml_file

Function Documentation

ParameterMap rclcpp::parameter_map_from_yaml_file(const std::string &yaml_filename, const char *node_fqn = nullptr)

Get the ParameterMap from a yaml file.

Parameters:
  • yaml_filename[in] full name of the yaml file.

  • node_fqn[in] a Fully Qualified Name of node, default value is nullptr.

Throws:

from – rcl error of rcl_parse_yaml_file()

Returns:

an instance of a parameter map