2018-05-29 09:07:02 -07:00
|
|
|
**ROS2 rcl YAML paramter parser**
|
|
|
|
|
2020-05-08 08:48:03 +02:00
|
|
|
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)
|
2018-05-29 09:07:02 -07:00
|
|
|
|
|
|
|
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>:
|
2018-06-18 21:37:16 -07:00
|
|
|
ros__parameters:
|
2018-05-29 09:07:02 -07:00
|
|
|
<field_name>: <field_value>
|
|
|
|
<parameter_namespace_string>: # optional
|
|
|
|
<field1_name>: <field1_value>
|
|
|
|
<field2_name>: <field2_value>
|
|
|
|
<node2_name>:
|
2018-06-18 21:37:16 -07:00
|
|
|
ros__parameters:
|
2018-05-29 09:07:02 -07:00
|
|
|
<field_name>: <field_value>
|
|
|
|
<parameter_namespace_string>: # optional
|
|
|
|
<field1_name>: <field1_value>
|
|
|
|
<field2_name>: <field2_value>
|
|
|
|
```
|
|
|
|
|
2020-05-08 08:48:03 +02:00
|
|
|
This package depends on C libyaml.
|
2020-05-07 00:35:41 -07:00
|
|
|
|
|
|
|
## Quality Declaration
|
|
|
|
|
2020-11-05 08:10:57 +01:00
|
|
|
This package claims to be in the **Quality Level 2** category, see the [Quality Declaration](./QUALITY_DECLARATION.md) for more details.
|