-
Notifications
You must be signed in to change notification settings - Fork 75
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
Fix no specified namespace #153
Conversation
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Fixes regression introduced by ros2/launch_ros#153 Alternative to ros2/launch_ros#157
Fixes regression introduced by ros2/launch_ros#153 Alternative to ros2/launch_ros#157 Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
I'm not sure of how this can be backported. I will try to figure out if there's a no API breaking way of backporting the fix. |
@ivanpauno Friendly ping. Let me know if you still plan to look at backporting this change and #157. I think backporting those changes will make other backports easier to do (currently I get conflicts since they touch similar lines of code). |
It's hard to come up with a backport of this. I would prefer not backporting this, except we get an explicit request on doing so. |
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
* Fix no specified namespace (#153) Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com> * Make namespace parameter mandatory in LifecycleNode constructor (#157) Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com> * Make namespace argument optional This maintains backwards compatibility. Signed-off-by: Jacob Perron <jacob@openrobotics.org> * Remove test for construction without namespace Signed-off-by: Jacob Perron <jacob@openrobotics.org> * Treat empty namespace as unset This keeps the current behavior in Foxy. Signed-off-by: Jacob Perron <jacob@openrobotics.org> * Address feedback and fix bug in LifecycleNode If no namespace (or empty string) is provided, assume global namespace. Signed-off-by: Jacob Perron <jacob@openrobotics.org> Co-authored-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
If the user doesn't explicitly pass a namespace to
Node
action neither usesPushRosNamespace
, the node namespace can't be known at launch time neither the fully qualified node name:launch_ros/launch_ros/launch_ros/actions/node.py
Lines 355 to 358 in 7974bd4
This PR fixes that incorrect assumption.