From 60e3f679743e76cf8d3f6decdff03934b92aec06 Mon Sep 17 00:00:00 2001 From: carma Date: Fri, 12 Apr 2024 11:44:49 -0400 Subject: [PATCH] added namespacing to point_type_adapter_container --- .../launch/carma_point_type_adapter.launch.py | 3 ++- AutowareAuto/src/tools/point_type_adapter/package.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/AutowareAuto/src/tools/point_type_adapter/launch/carma_point_type_adapter.launch.py b/AutowareAuto/src/tools/point_type_adapter/launch/carma_point_type_adapter.launch.py index 94b65d85..f9034c85 100644 --- a/AutowareAuto/src/tools/point_type_adapter/launch/carma_point_type_adapter.launch.py +++ b/AutowareAuto/src/tools/point_type_adapter/launch/carma_point_type_adapter.launch.py @@ -15,6 +15,7 @@ import launch +from carma_ros2_utils.launch.get_current_namespace import GetCurrentNamespace from launch_ros.actions import ComposableNodeContainer from launch_ros.descriptions import ComposableNode @@ -23,7 +24,7 @@ def generate_launch_description(): """Generate launch description with a single component.""" container = ComposableNodeContainer( name='point_type_adapter_container', - namespace='', + namespace=GetCurrentNamespace(), package='rclcpp_components', executable='component_container', composable_node_descriptions=[ diff --git a/AutowareAuto/src/tools/point_type_adapter/package.xml b/AutowareAuto/src/tools/point_type_adapter/package.xml index 6abaf5e3..da38e8cf 100644 --- a/AutowareAuto/src/tools/point_type_adapter/package.xml +++ b/AutowareAuto/src/tools/point_type_adapter/package.xml @@ -15,6 +15,7 @@ sensor_msgs autoware_auto_common point_cloud_msg_wrapper + carma_ros2_utils ament_cmake_gtest ament_lint_auto