From a3fa9e1eaa750720fd24fae950ef8d722cf8e910 Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Thu, 3 Aug 2023 11:47:13 +0200 Subject: [PATCH] Update rmp220_teleop.py --- rmp220_teleop/rmp220_teleop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rmp220_teleop/rmp220_teleop.py b/rmp220_teleop/rmp220_teleop.py index e57cef7..413b95f 100644 --- a/rmp220_teleop/rmp220_teleop.py +++ b/rmp220_teleop/rmp220_teleop.py @@ -39,7 +39,7 @@ class TeleopTwistJoy(Node): def enable_chassis(node): - chassis_enable = node.create_client(RosSetChassisEnableCmd, '/set_chassis_enable') + chassis_enable = node.create_client(RosSetChassisEnableCmd, 'set_chassis_enable') req = RosSetChassisEnableCmd.Request() req.ros_set_chassis_enable_cmd = True while not chassis_enable.wait_for_service(timeout_sec=1.0): @@ -47,7 +47,7 @@ def enable_chassis(node): chassis_enable.call_async(req) def disable_chassis(node): - chassis_disable = node.create_client(RosSetChassisEnableCmd, '/set_chassis_enable') + chassis_disable = node.create_client(RosSetChassisEnableCmd, 'set_chassis_enable') req = RosSetChassisEnableCmd.Request() req.ros_set_chassis_enable_cmd = False while not chassis_disable.wait_for_service(timeout_sec=1.0):