rcl/rcl_yaml_param_parser/README.md
Alejandro Hernández Cordero 0f0424fe7f
Included features (#644)
* Included features

Signed-off-by: ahcorde <ahcorde@gmail.com>

* Added feedback

Signed-off-by: ahcorde <ahcorde@gmail.com>

* fix on rcl_yaml_param_parser doxygen

Signed-off-by: ahcorde <ahcorde@gmail.com>
2020-05-08 08:48:03 +02:00

33 lines
1 KiB
Markdown

**ROS2 rcl YAML paramter parser**
Parse a YAML parameter file and populate the C data structure.
Features are described in detail at [http://docs.ros2.org](http://docs.ros2.org/latest/api/rcl_yaml_param_parser/index.html)
The data structure params_st will then be used during node initialization
YAML parameter file should follow the yaml syntax shown below
NOTE: It only supports canonical int and float types
```
<node_namespace_string>: # optional
<node1_name>:
ros__parameters:
<field_name>: <field_value>
<parameter_namespace_string>: # optional
<field1_name>: <field1_value>
<field2_name>: <field2_value>
<node2_name>:
ros__parameters:
<field_name>: <field_value>
<parameter_namespace_string>: # optional
<field1_name>: <field1_value>
<field2_name>: <field2_value>
```
This package depends on C libyaml.
## Quality Declaration
This package claims to be in the **Quality Level 4** category, see the [Quality Declaration](./QUALITY_DECLARATION.md) for more details.