Function rcl_yaml_node_struct_init

Function Documentation

rcl_params_t *rcl_yaml_node_struct_init(const rcutils_allocator_t allocator)

Initialize parameter structure.

rcl_yaml_param_parser: Parse a YAML parameter file and populate the C data structure

  • Parser

  • rcl/parser.h

Some useful abstractions and utilities:

  • Return code types

    • rcl/types.h

  • Macros for controlling symbol visibility on the library

    • rcl/visibility_control.h

Parameters:

allocator[in] memory allocator to be used

Returns:

a pointer to param structure on success or NULL on failure