From 3d7cdc806c2d1a4279c9278e4d798856e626a245 Mon Sep 17 00:00:00 2001 From: atsushi421 Date: Tue, 3 Dec 2024 09:23:00 +0900 Subject: [PATCH 1/2] 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 }, ) From 904b71100b01c447e57815062ea709dd398328b8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 00:24:32 +0000 Subject: [PATCH 2/2] ci(pre-commit): autofix --- .../launch/nebula_node_container.launch.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common_sensor_launch/launch/nebula_node_container.launch.py b/common_sensor_launch/launch/nebula_node_container.launch.py index a8bd2a26..539fa967 100644 --- a/common_sensor_launch/launch/nebula_node_container.launch.py +++ b/common_sensor_launch/launch/nebula_node_container.launch.py @@ -125,8 +125,7 @@ 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")}], ) ) @@ -267,8 +266,8 @@ def create_parameter_dict(*args): composable_node_descriptions=nodes, output="both", additional_env={ - 'LD_PRELOAD': f"libagnocast_heaphook.so:{os.getenv('LD_PRELOAD', '')}", - 'MEMPOOL_SIZE': '1073741824', # 1GB + "LD_PRELOAD": f"libagnocast_heaphook.so:{os.getenv('LD_PRELOAD', '')}", + "MEMPOOL_SIZE": "1073741824", # 1GB }, )