Function rcl_parse_yaml_file

Function Documentation

bool rcl_parse_yaml_file(const char *file_path, rcl_params_t *params_st)

Parse the YAML file and populate params_st.

Parameters:
  • file_path[in] is the path to the YAML file

  • params_st[inout] points to the struct to be populated

Pre:

Given params_st must be a valid parameter struct as returned by rcl_yaml_node_struct_init()

Returns:

true on success and false on failure