From 3ba10213c245e524cbae6df1a7fd9d4d6bcf84dc Mon Sep 17 00:00:00 2001 From: Olivier Stasse <olivier.stasse@laas.fr> Date: Wed, 29 Nov 2023 02:19:34 +0100 Subject: [PATCH] Services are inside /dynamic_graph_bridge namespace. --- src/ros_python_interpreter_server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ros_python_interpreter_server.cpp b/src/ros_python_interpreter_server.cpp index 1162626..ca96144 100644 --- a/src/ros_python_interpreter_server.cpp +++ b/src/ros_python_interpreter_server.cpp @@ -30,13 +30,13 @@ void RosPythonInterpreterServer::start_ros_service() { std::bind(&RosPythonInterpreterServer::runCommandCallback, this, std::placeholders::_1, std::placeholders::_2); run_python_command_srv_ = ros_node_->create_service<RunPythonCommandSrvType>( - "run_python_command", runCommandCb); + "/dynamic_graph_bridge/run_python_command", runCommandCb); run_python_file_callback_t runPythonFileCb = std::bind(&RosPythonInterpreterServer::runPythonFileCallback, this, std::placeholders::_1, std::placeholders::_2); run_python_file_srv_ = ros_node_->create_service<RunPythonFileSrvType>( - "run_python_file", runPythonFileCb); + "/dynamic_graph_bridge/run_python_file", runPythonFileCb); } void RosPythonInterpreterServer::runCommandCallback( -- GitLab