Function rcl_parse_yaml_value

Function Documentation

bool rcl_parse_yaml_value(const char *node_name, const char *param_name, const char *yaml_value, rcl_params_t *params_st)

Parse a parameter value as a YAML string, updating params_st accordingly.

Parameters:
  • node_name[in] is the name of the node to which the parameter belongs

  • param_name[in] is the name of the parameter whose value will be parsed

  • yaml_value[in] is the parameter value as a YAML string to be parsed

  • params_st[inout] points to the parameter struct

Returns:

true on success and false on failure