From 7662812c129007ca79dcf62bf6b05316472955e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Wed, 21 Feb 2024 21:00:53 +0300 Subject: [PATCH] fix(joy_controller): joy_type is only set from the param.yaml file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- control/joy_controller/config/joy_controller.param.yaml | 2 +- control/joy_controller/launch/joy_controller.launch.xml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/control/joy_controller/config/joy_controller.param.yaml b/control/joy_controller/config/joy_controller.param.yaml index c9fe348867e68..0a0b79f2a1c34 100644 --- a/control/joy_controller/config/joy_controller.param.yaml +++ b/control/joy_controller/config/joy_controller.param.yaml @@ -1,6 +1,6 @@ /**: ros__parameters: - joy_type: $(var joy_type) + joy_type: DS4 # DS4, G29, P65, XBOX update_rate: 10.0 accel_ratio: 3.0 brake_ratio: 5.0 diff --git a/control/joy_controller/launch/joy_controller.launch.xml b/control/joy_controller/launch/joy_controller.launch.xml index c392ca100a9c0..cd624b1fc4935 100644 --- a/control/joy_controller/launch/joy_controller.launch.xml +++ b/control/joy_controller/launch/joy_controller.launch.xml @@ -1,5 +1,4 @@ -