-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support passing yaml parameter files via commandline (#253)
* wip * rcl_arguments_get_param_files() with char ** Restore version of function that outputs a char ** * _rcl_parse_param_rule() allocates string Before this commit `rcl_parse_params` was allocating space the size of the argument, but the space only needs to be as big as the argument minus the prefix length. * Debug print before incrementing num files * Alloc and make sure to dealloc on failure * fix print of parsed parameter rule * rcutils types not needed as we dont use rcutils_string_array anymore * minimal test * cleanup debug prints * linter fixup * add tests for param arguments * lint tests * Doc for rcl_arguments_get_param_files_count() * Shrink parameter files * const param_prefix_len * Copy parameter file names * deallocate parameter files in fini * free memory after tests pass
- Loading branch information
1 parent
0d58e38
commit cdf134c
Showing
5 changed files
with
264 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters