Function rcl_yaml_node_struct_get

Function Documentation

rcl_variant_t *rcl_yaml_node_struct_get(const char *node_name, const char *param_name, rcl_params_t *params_st)

Get the variant value for a given parameter, zero initializing it in the process if not present already.

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 is to be retrieved

  • params_st[inout] points to the populated (or to be populated) parameter struct

Returns:

parameter variant value on success and NULL on failure