From 3d7cdc806c2d1a4279c9278e4d798856e626a245 Mon Sep 17 00:00:00 2001 From: atsushi421 Date: Tue, 3 Dec 2024 09:23:00 +0900 Subject: [PATCH] fix: LD_PRELOAD Signed-off-by: atsushi421 --- common_sensor_launch/launch/nebula_node_container.launch.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common_sensor_launch/launch/nebula_node_container.launch.py b/common_sensor_launch/launch/nebula_node_container.launch.py index 3233263c..a8bd2a26 100644 --- a/common_sensor_launch/launch/nebula_node_container.launch.py +++ b/common_sensor_launch/launch/nebula_node_container.launch.py @@ -125,7 +125,8 @@ def create_parameter_dict(*args): ("pandar_points", "pointcloud_raw_ex"), ("velodyne_points", "pointcloud_raw_ex"), ], - extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}], + extra_arguments=[ + {"use_intra_process_comms": LaunchConfiguration("use_intra_process")}], ) ) @@ -266,7 +267,7 @@ def create_parameter_dict(*args): composable_node_descriptions=nodes, output="both", additional_env={ - 'LD_PRELOAD': 'libagnocast_heaphook.so', + 'LD_PRELOAD': f"libagnocast_heaphook.so:{os.getenv('LD_PRELOAD', '')}", 'MEMPOOL_SIZE': '1073741824', # 1GB }, )