-
Notifications
You must be signed in to change notification settings - Fork 240
Fix two nodes launched with same name of /rivz2 #1030
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Syntax wise, this looks more complicated than just removing the name keyword arg, in that it does this but then reapplies it manually to one of the nodes using lower level args.
What is the difference in the node names between the original proposed approach and this? Unless there is a good reason, I'd opt for simpler syntax since these are tutorials for newcomers.
@sea-bass , thank you for the feedback. I agreed that the syntax is more complicated. Below are the differences in terms of
|
|
Thanks @Juliaj, makes sense! I think the differences are small enough that I would favor the simpler code option, i.e., the last snippet in your comment. What do you think? |
Thanks @sea-bass , I'm good with that! Updated PR based on your suggestion. |
sea-bass
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this!
Description
Address #991 where two nodes are launched with same name
rviz2. The fix is to remove node name attribute when launchingrviz2.Testing
rviz2node.