From 8a095a230378eb6692f185d4cd75a0eb0cb4defd Mon Sep 17 00:00:00 2001 From: pawelirh Date: Thu, 12 Sep 2024 09:20:04 +0200 Subject: [PATCH] Remove global prefix from diagnostics topic --- joy2twist/launch/gamepad_controller.launch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/joy2twist/launch/gamepad_controller.launch.py b/joy2twist/launch/gamepad_controller.launch.py index 520d8bb..0f606a8 100644 --- a/joy2twist/launch/gamepad_controller.launch.py +++ b/joy2twist/launch/gamepad_controller.launch.py @@ -40,7 +40,8 @@ def generate_launch_description(): executable="joy_linux_node", # output={"stdout": "screen", "stderr": "screen"}, emulate_tty="true", - namespace=namespace + namespace=namespace, + remappings=[("/diagnostics", "diagnostics")], ) actions = [declare_namespace_arg, joy2twist_params_file_argument, joy2twist_launch, joy_linux_node]