-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rcl_yaml_param_parser allows two // in node name #301
Comments
alternative to failing to parse the yaml file would be to parse it and remove the duplicated separators so they are assigned to node |
I'd like to contribute to this issue. I think that |
I have found a way to fix it by adding rcl/rcl_yaml_param_parser/src/namespace.c Lines 48 to 51 in 8bcada7
but it seems we need rmw_validate_namespace to check if a name is a valid namespace by using rmw dependency for rcl_yaml_param_parser .
or use one of the following ways:
What do you think about that? |
Which seems not good may be the best choice. NOTE: I found that using |
http://design.ros2.org/articles/topic_and_service_names.html#name-tokens tells us |
I think the issue is a bit more general. While I agree a namespace containing |
Bug report
Required Info:
Steps to reproduce issue
Create a yaml file called
empty_name_in_ns.yaml
inrcl_yaml_param_parser/test
with the followingAdd this test block to
test_parse_yaml.cpp
Expected behavior
Parsing should fail to parse the yaml file.
Actual behavior
Additional information
See #299 for another bug about
/
in the namespace names.The text was updated successfully, but these errors were encountered: