-
Notifications
You must be signed in to change notification settings - Fork 248
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
Name rosbag2 node uniquely #425
Comments
I'm inclined to close this as "not an issue" - DDS doesn't require unique node names, and ROS 2 has no mechanism for it either (yet) - conversation around it in ros2/design#187 |
However... suffixing the process ID might be a fine idea, so maybe we can keep this open as an enhancement. These node names for cli tools are all very "under the hood" anyways, so users don't really interact with them. Since DDS is anonymous pub-sub, the only place where this really comes into play is if we expose Services or Actions from the rosbag2 node, because the node name then becomes part of a topic names, which does affect behavior. |
Now that |
Yes, there are now a variety of exposed services for both Recorder and Player, and they all are unusable with non-unique names. I'll note that since #1180, users can now specify However, the solution is (I think) so simple, that I'm going to put up a draft PR momentarily to address this. |
Description
The Node Name is always
_ros2cli_rosbag2
. This doesn't affect the functionality in any harmful way currently, but it is not very clean, and if we ever do expose Services or Actions for rosbag2 interaction then it will become a problem.Add some unique suffix/prefix to the node name.
Expected Behavior
Unique Node Names.
Actual Behavior
To Reproduce
run multiple instances of ros bag. I have one that records 'vital' information for reports, and another that records sensor data for post-mortem debugging.
System (please complete the following information)
Additional context
Again, I'm not sure if this is a real bug. I just happened to notice it and wasn't sure of a better forum to ask. :)
The text was updated successfully, but these errors were encountered: