From 765cafd6df77214d8bf6d6262bef0adf70e7f19a Mon Sep 17 00:00:00 2001 From: kminoda <44218668+kminoda@users.noreply.github.com> Date: Sat, 20 Jan 2024 18:22:39 +0900 Subject: [PATCH] chore(pointcloud_container): move glog_component to autoware_launch (#805) --- autoware_launch/launch/pointcloud_container.launch.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/autoware_launch/launch/pointcloud_container.launch.py b/autoware_launch/launch/pointcloud_container.launch.py index dfe9191d3c..650e555e27 100644 --- a/autoware_launch/launch/pointcloud_container.launch.py +++ b/autoware_launch/launch/pointcloud_container.launch.py @@ -19,6 +19,7 @@ from launch.conditions import UnlessCondition from launch.substitutions import LaunchConfiguration from launch_ros.actions import ComposableNodeContainer +from launch_ros.descriptions import ComposableNode def generate_launch_description(): @@ -37,12 +38,19 @@ def add_launch_arg(name: str, default_value=None): condition=IfCondition(LaunchConfiguration("use_multithread")), ) + glog_component = ComposableNode( + package="glog_component", + plugin="GlogComponent", + name="glog_component", + namespace="pointcloud_container", + ) + pointcloud_container = ComposableNodeContainer( name=LaunchConfiguration("container_name"), namespace="/", package="rclcpp_components", executable=LaunchConfiguration("container_executable"), - composable_node_descriptions=[], + composable_node_descriptions=[glog_component], output="both", )