Function rclcpp::parameter_map_from_yaml_file

Function Documentation

ParameterMap rclcpp::parameter_map_from_yaml_file(const std::string &yaml_filename)

Get the ParameterMap from a yaml file.

Parameters:

yaml_filename[in] full name of the yaml file.

Throws:

from – rcl error of rcl_parse_yaml_file()

Returns:

an instance of a parameter map