From b3d006af1a434f67f8437a8bc96ec7379c513683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Thu, 3 Aug 2023 12:33:43 +0200 Subject: [PATCH] update: refactoring for namespaces --- launch/robot_joystick.launch.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/launch/robot_joystick.launch.py b/launch/robot_joystick.launch.py index 279ed47..7061f21 100644 --- a/launch/robot_joystick.launch.py +++ b/launch/robot_joystick.launch.py @@ -13,12 +13,12 @@ def generate_launch_description(): use_sim_time = LaunchConfiguration('use_sim_time') joy_params = os.path.join(get_package_share_directory('cps_rmp220_support'),'config','joystick.yaml') - + namespace = "/rmp" joy_node = Node( package='joy', executable='joy_node', parameters=[joy_params, {'use_sim_time': use_sim_time}], - namespace = "/rmp" + namespace = namespace ) teleop_node = Node( @@ -27,7 +27,7 @@ def generate_launch_description(): name='rmp220_teleop', parameters=[joy_params, {'use_sim_time': use_sim_time}], remappings=[('cmd_vel','cmd_vel_joy')], - namespace = "/rmp" + namespace = namespace ) twist_mux_params = os.path.join(get_package_share_directory('cps_rmp220_support'),'config','twist_mux.yaml')