diff --git a/src/ldrobot-lidar-ros2/ldlidar_node/launch/ldlidar.launch.py b/src/ldrobot-lidar-ros2/ldlidar_node/launch/ldlidar.launch.py index 19f927e..4e209b6 100644 --- a/src/ldrobot-lidar-ros2/ldlidar_node/launch/ldlidar.launch.py +++ b/src/ldrobot-lidar-ros2/ldlidar_node/launch/ldlidar.launch.py @@ -41,7 +41,6 @@ def generate_launch_description(): declare_node_name_cmd = DeclareLaunchArgument( 'node_name', default_value='ldlidar_node', - namespace='lidar', description='Name of the node' ) @@ -50,7 +49,7 @@ def generate_launch_description(): package='ldlidar_node', executable='ldlidar_node', name=node_name, - namespace='', + namespace='lidar', output='screen', parameters=[ # YAML files diff --git a/src/ldrobot-lidar-ros2/ldlidar_node/launch/ldlidar_with_mgr.launch.py b/src/ldrobot-lidar-ros2/ldlidar_node/launch/ldlidar_with_mgr.launch.py index 520a937..f9e5612 100644 --- a/src/ldrobot-lidar-ros2/ldlidar_node/launch/ldlidar_with_mgr.launch.py +++ b/src/ldrobot-lidar-ros2/ldlidar_node/launch/ldlidar_with_mgr.launch.py @@ -49,7 +49,8 @@ def generate_launch_description(): lc_mgr_node = Node( package='nav2_lifecycle_manager', executable='lifecycle_manager', - name='lidar/lidar_lifecycle_manager', + name='lidar_lifecycle_manager', + namespace='lidar', output='screen', parameters=[ # YAML files