diff --git a/launch/robot_controller.launch.py b/launch/robot_controller.launch.py index 4c60117..73de7f7 100755 --- a/launch/robot_controller.launch.py +++ b/launch/robot_controller.launch.py @@ -10,7 +10,8 @@ def generate_launch_description(): package='segwayrmp', executable='SmartCar', name='SmartCar', - remappings=[('/cmd_vel','/cmd_vel_out')] + remappings=[('/cmd_vel','/cmd_vel_out')], + namespace = "/rmp" ) diff --git a/launch/robot_joystick.launch.py b/launch/robot_joystick.launch.py index a60ea62..088676d 100644 --- a/launch/robot_joystick.launch.py +++ b/launch/robot_joystick.launch.py @@ -34,6 +34,7 @@ def generate_launch_description(): executable="twist_mux", parameters=[twist_mux_params, {'use_sim_time': False}], #remappings=[('/cmd_vel_out','/diffbot_base_controller/cmd_vel_unstamped')] + namespace = "/rmp" ) return LaunchDescription([ diff --git a/launch/robot_lidar.launch.py b/launch/robot_lidar.launch.py index b3430c4..c5fea30 100644 --- a/launch/robot_lidar.launch.py +++ b/launch/robot_lidar.launch.py @@ -65,6 +65,7 @@ def generate_launch_description(): 'serial_baudrate': serial_baudrate, 'inverted': inverted, 'angle_compensate': angle_compensate - }] + }], + namespace = "/rmp" ) ]) diff --git a/launch/robot_mapping.launch.py b/launch/robot_mapping.launch.py index 768f6c5..0f5693e 100644 --- a/launch/robot_mapping.launch.py +++ b/launch/robot_mapping.launch.py @@ -46,6 +46,7 @@ def generate_launch_description(): "mapper_params_online_async.yaml" ] ) + namespace = "/rmp" mapper_node = Node( package="slam_toolbox", executable="async_slam_toolbox_node", @@ -55,6 +56,7 @@ def generate_launch_description(): slam_params_file, {'use_sim_time': use_sim_time} ], + namespace = namespace ) return LaunchDescription([ diff --git a/launch/robot_navigation.launch.py b/launch/robot_navigation.launch.py index 1339e48..63384f4 100644 --- a/launch/robot_navigation.launch.py +++ b/launch/robot_navigation.launch.py @@ -73,7 +73,7 @@ def generate_launch_description(): declare_namespace_cmd = DeclareLaunchArgument( 'namespace', - default_value='', + default_value='/rmp', description='Top-level namespace') declare_use_sim_time_cmd = DeclareLaunchArgument(