Skip to content

Commit

Permalink
Assume root namespace if not provided in ComposableNodeContainer (#186)
Browse files Browse the repository at this point in the history
Fixes a regression introduced in #179

Fixes #185.

We apply the same logic in LifecycleNode to maintain backwards compatibility in Foxy.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
  • Loading branch information
jacobperron committed Oct 20, 2020
1 parent e559138 commit 6fa749a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions launch_ros/launch_ros/actions/composable_node_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def __init__(
)
namespace = node_namespace

if not namespace:
namespace = '/'
super().__init__(name=name, namespace=namespace, **kwargs)
self.__composable_node_descriptions = composable_node_descriptions

Expand Down

0 comments on commit 6fa749a

Please sign in to comment.