Function rclcpp::parameter_map_from
Defined in File parameter_map.hpp
Function Documentation
-
ParameterMap rclcpp::parameter_map_from(const rcl_params_t *const c_params, const char *node_fqn = nullptr)
Convert parameters from rcl_yaml_param_parser into C++ class instances.
- Parameters:
c_params – [in] C structures containing parameters for multiple nodes.
node_fqn – [in] a Fully Qualified Name of node, default value is nullptr. If it’s not nullptr, return the relative node parameters belonging to this node_fqn.
- Throws:
InvalidParametersException – if the
rcl_params_t
is inconsistent or invalid.- Returns:
a map where the keys are fully qualified node names and values a list of parameters.