Adding dynamic parameter event namespace support and duplicate parameters#298
Merged
bpwilcox merged 6 commits intoros-navigation:masterfrom Nov 12, 2018
Merged
Conversation
added 6 commits
November 7, 2018 16:47
…s, finish example code, improvements for dynamic params client
This was referenced Nov 8, 2018
mjeronimo
approved these changes
Nov 9, 2018
ghost
approved these changes
Nov 10, 2018
This was referenced 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>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Basic Info
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