Skip to content

Adding dynamic parameter event namespace support and duplicate parameters#298

Merged
bpwilcox merged 6 commits intoros-navigation:masterfrom
bpwilcox:testing_params
Nov 12, 2018
Merged

Adding dynamic parameter event namespace support and duplicate parameters#298
bpwilcox merged 6 commits intoros-navigation:masterfrom
bpwilcox:testing_params

Conversation

@bpwilcox
Copy link
Copy Markdown

@bpwilcox bpwilcox commented Nov 8, 2018


Basic Info

Info Please fill out this column
Ticket(s) this addresses #286
Primary OS tested on Ubuntu 16.04
Primary platform tested on NUC

Description of contribution in a few bullet points

I have addressed some of the issues brought forth it issue #286 regarding how to deal with namespaces and duplicate parameters. Now, parameters are added via node, where internally the DynamicParameterClient will initialize the cached parameter map with the current value off the remote node and manually create an event subscriber to the topic for parameter events of each unique namespace . This PR will allow for duplicate parameter names across unique namespaces. When a parameter is added/registered with the client, an error will be thrown if the parameter name is not unique within its namespace (a check is also made across all available nodes, even outside those added to the client). The rationale here is that we don't want another node's parameters to silently pass through the callback undetected, giving unexpected or dangerous behavior.

Some other modifications were also made to improve the overall interface.

Future work that may be required in bullet points

  • Update README for nav2_dynamic_params

@bpwilcox bpwilcox merged commit 69cc1e3 into ros-navigation:master Nov 12, 2018
ghost pushed a commit to logivations/navigation2 that referenced this pull request Mar 7, 2022
* add parameter type

* remove import
mini-1235 pushed a commit to mini-1235/navigation2 that referenced this pull request Feb 5, 2025
* added new condition

* added path expired timer to plugin list

* completed docs

* code review

* naming fix, migration fix

* rename This pr

* changed replanning time to 10

* starting switch

* renaming

* renamming

* recovery to behavior

* add to migration guide

* fixed

* renamming

* added file changes

* code review

* Update concepts/index.rst

Co-authored-by: Steve Macenski <stevenmacenski@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants