From c76c55a05a75ca6c6348652f7a120e129401324e Mon Sep 17 00:00:00 2001 From: Tomohito Ando Date: Tue, 25 Jun 2024 14:12:14 +0900 Subject: [PATCH] fix pre-commit ci errors Signed-off-by: Tomohito Ando --- aip_x2_launch/launch/nebula_node_container.launch.py | 2 -- aip_x2_launch/launch/pointcloud_preprocessor.launch.py | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/aip_x2_launch/launch/nebula_node_container.launch.py b/aip_x2_launch/launch/nebula_node_container.launch.py index 54ba66d3..710f4339 100644 --- a/aip_x2_launch/launch/nebula_node_container.launch.py +++ b/aip_x2_launch/launch/nebula_node_container.launch.py @@ -93,8 +93,6 @@ def str2vector(string): sensor_calib_fp ), "Sensor calib file under calibration/ was not found: {}".format(sensor_calib_fp) - nodes = [] - glog_component = ComposableNode( package="glog_component", plugin="GlogComponent", diff --git a/aip_x2_launch/launch/pointcloud_preprocessor.launch.py b/aip_x2_launch/launch/pointcloud_preprocessor.launch.py index a1aa1970..ef03f232 100644 --- a/aip_x2_launch/launch/pointcloud_preprocessor.launch.py +++ b/aip_x2_launch/launch/pointcloud_preprocessor.launch.py @@ -20,7 +20,6 @@ from launch.conditions import IfCondition from launch.conditions import UnlessCondition from launch.substitutions import LaunchConfiguration -from launch_ros.actions import ComposableNodeContainer from launch_ros.actions import LoadComposableNodes from launch_ros.descriptions import ComposableNode @@ -56,7 +55,7 @@ def launch_setup(context, *args, **kwargs): extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}], ) - concat_loader = loader = LoadComposableNodes( + concat_loader = LoadComposableNodes( composable_node_descriptions=[concat_component], target_container=LaunchConfiguration("pointcloud_container_name"), )