-
Notifications
You must be signed in to change notification settings - Fork 233
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
unable to namespace parameters #373
Comments
@jubeira FYI |
Thanks for the report. Unlike topic name validation, AFAIK there is no function to validate a parameter name at I see two ways of proceeding:
Personally, I suggest going for the first one. @wjwwood thoughts? |
Not sure if this is this is the same issue, related, or a separate issue, but my team has observed what we believe to be incorrect namespacing behaviour in The parameter names returned are namespace concatanated with the parameter name, without a separating ie. The full name returned from |
@joncppl That seems to be a separate issue; thanks for pointing it out. |
Thanks! |
The problem described in this report has been addressed in #377. @Karsten1987 shall we close this issue? |
Bug report
Just like in the cpp demos, I'd like to be able to namespace parameters in the form of
<namespace>.<parameter_name>
. However, in python I believe the wrong validation check is performed. Looking at the error output, it looks like the validation for topic names is applied rather than parameters.Steps to reproduce issue
node.declare_parameter(node.get_name() + '.diagnostics_update', 1).value
Expected behavior
Able to declare a parameter with namespace in the form of 'namespace.parameter_name'.
Actual behavior
The text was updated successfully, but these errors were encountered: