![]() * Support rcl_params_t copies. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Parse parameter overrides from command line. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Parameter overrides' tests passing. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Test rcl_yaml_node_struct_copy() function Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Export rcl_yaml_param_parser as rcl dependency. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Zero initialize parameter overrides before rcl arguments copy. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Initialize local variables early enough. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Simplify rcl package.xml Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Assert arguments sanity in rcl args parsing internal functions. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Extend rcl_yaml_param_parser tests to all parameter types. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Address peer review comments. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Support --remap/-r flags. Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> * Please cpplint Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com> |
||
---|---|---|
.. | ||
include/rcl_yaml_param_parser | ||
src | ||
test | ||
CHANGELOG.rst | ||
CMakeLists.txt | ||
package.xml | ||
README.md |
ROS2 rcl YAML paramter parser
Parse a YAML parameter file and populate the C data structure
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