From 2f0888531bb8cc4084fe6bc90495de32684d50ef Mon Sep 17 00:00:00 2001 From: kotaro-hihara Date: Tue, 28 Jan 2025 15:57:59 +0900 Subject: [PATCH] remove distance_range --- aip_x2_gen2_launch/launch/hesai_OT128.launch.xml | 2 -- aip_x2_gen2_launch/launch/hesai_QT128.launch.xml | 2 -- aip_x2_gen2_launch/launch/nebula_node_container.launch.py | 3 +-- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/aip_x2_gen2_launch/launch/hesai_OT128.launch.xml b/aip_x2_gen2_launch/launch/hesai_OT128.launch.xml index 4adc9311..8bbaddca 100644 --- a/aip_x2_gen2_launch/launch/hesai_OT128.launch.xml +++ b/aip_x2_gen2_launch/launch/hesai_OT128.launch.xml @@ -21,7 +21,6 @@ - @@ -60,7 +59,6 @@ - diff --git a/aip_x2_gen2_launch/launch/hesai_QT128.launch.xml b/aip_x2_gen2_launch/launch/hesai_QT128.launch.xml index 443294ba..67b9f0b8 100644 --- a/aip_x2_gen2_launch/launch/hesai_QT128.launch.xml +++ b/aip_x2_gen2_launch/launch/hesai_QT128.launch.xml @@ -22,7 +22,6 @@ - @@ -59,7 +58,6 @@ - diff --git a/aip_x2_gen2_launch/launch/nebula_node_container.launch.py b/aip_x2_gen2_launch/launch/nebula_node_container.launch.py index ad58a838..78cc7ffb 100644 --- a/aip_x2_gen2_launch/launch/nebula_node_container.launch.py +++ b/aip_x2_gen2_launch/launch/nebula_node_container.launch.py @@ -191,7 +191,6 @@ def str2vector(string): extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}], ) - distance_range = str2vector(context.perform_substitution(LaunchConfiguration("distance_range"))) blockage_diag_component = ComposableNode( package="pointcloud_preprocessor", plugin="pointcloud_preprocessor::BlockageDiagComponent", @@ -206,7 +205,7 @@ def str2vector(string): "horizontal_ring_id": LaunchConfiguration("horizontal_ring_id"), "vertical_bins": LaunchConfiguration("vertical_bins"), "is_channel_order_top2down": LaunchConfiguration("is_channel_order_top2down"), - "max_distance_range": distance_range[1], + "max_distance_range": LaunchConfiguration("max_range"), "horizontal_resolution": LaunchConfiguration("horizontal_resolution"), } ]