From 0373557254ee9c1fd08b631314efc356d713d1f1 Mon Sep 17 00:00:00 2001 From: Vincent Belpois Date: Thu, 2 May 2024 17:37:15 +0200 Subject: [PATCH] Changed how the launch file is called --- src/ezbot_robot/launch/real_robot.launch.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/ezbot_robot/launch/real_robot.launch.py b/src/ezbot_robot/launch/real_robot.launch.py index e795154..1a68ffd 100644 --- a/src/ezbot_robot/launch/real_robot.launch.py +++ b/src/ezbot_robot/launch/real_robot.launch.py @@ -107,11 +107,13 @@ def generate_launch_description(): - lidar_with_mgr = Node( - package='ldlidar_node', - executable='ldlidar_with_mgr.py', - output='screen' + lidar_with_mgr = IncludeLaunchDescription( + PythonLaunchDescriptionSource([os.path.join( + get_package_share_directory('ldlidar'),'launch', 'ldlidar_with_mgr.py' + )]), ) + + # don't know what the parameters do @@ -150,7 +152,6 @@ def generate_launch_description(): imu_node, delayed_imu_filter, delayed_actuators_spawner, - lidar_with_mgr #joystick, ]) \ No newline at end of file