-
Notifications
You must be signed in to change notification settings - Fork 163
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
Anonymous Nodes #1034
Comments
This node option was considered long time ago, but never implemented yet. rcl/rcl/include/rcl/node_options.h Line 36 in 2d34ba8
I think that this node option is useful for user application. |
I've started working on adding this, and have a partial implementation. |
1 similar comment
I've started working on adding this, and have a partial implementation. |
This would be great to have! Note that any implementation of this should append the anonymisation suffix after any node name and node namespace remaps are done (as well as after parameters are loaded.) Because otherwise users wouldn't be able to set parameters, and the Another useful bonus would be if a CLI argument could be used to configure this behavior too. PS: I had some internal discussions with the ROS folks and it seems like node anonymisation is a desired feature but just not implemented yet. So please do go ahead with an implementation! |
Thanks, I was planning on appending a random number to a given node name,
if the user supplies it. In ROS 1 we used the wall time as the anonymous
node name. Does this still sound like a good approach?
…On Thu, Mar 2, 2023, 3:42 PM methylDragon ***@***.***> wrote:
This would be great to have!
Note that any implementation of this should append the anonymisation
suffix *after* any node name and node namespace remaps are done (as well
as after parameters are loaded.)
Another useful bonus would be if a CLI argument could be used to configure
this behavior too.
—
Reply to this email directly, view it on GitHub
<#1034 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBZWHFHZGMYCW5MSSIL7OLW2EH5XANCNFSM6AAAAAAVEP54JU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I think following ROS 1 would be okay, and it has the added benefit of giving that little bit more information that helps to order nodes (alphanumerically, I mean) |
Feature request
Feature description
Enable anonymous node names.
Implementation considerations
We frequently used anonymous nodes in ROS 1 when developing debugging and introspection tools. I see a lot of references to anonymous nodes throughout the core ROS2 libraries, and inside rcl/node_options.h, but it seems to have been disabled or abandoned. I also saw this comment mentioning that they're a desirable feature: #375 (comment). Is there any reason they have not been implemented in ROS 2?
I think ROS1 just used the wall timer to generate a unique ID. Will this approach work in ROS 2?
The text was updated successfully, but these errors were encountered: