This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
Don't use RTPS Participant name as node name #393
Merged
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.
This is what I mentioned here: ros2/ros2cli#464 (comment).
Currently, the node name and namespace are communicated making use of
userData
qos.In case that that qos setting can be parsed in the way ros2 is using it, we're using the RTPS Participant name as a node name, and listing it.
The question is: is that exactly what we want?
I see some value of showing the user other
Participants
that weren't craeted with ROS, but probably, their name should be showed with a different prefix. An opt-in/opt-out flag to show them or not would also be nice.In ros2/rmw_fastrtps#312,
userData
is now being use to communicate theContext
name. Connext was failing to parse it, and then showing the RTPS Participant name.We can take the following paths:
Participants
that theiruserData
can be parsed correctly (proposed in this PR).I don't know what's the best option, @hidmic @wjwwood opinions?