@@ -25,12 +25,13 @@ RosPythonInterpreterServer::RosPythonInterpreterServer()
25
25
26
26
RosPythonInterpreterServer::~RosPythonInterpreterServer () {}
27
27
28
- void RosPythonInterpreterServer::start_ros_service () {
28
+ void RosPythonInterpreterServer::start_ros_service (
29
+ const rclcpp::QoS& qos, rclcpp::CallbackGroup::SharedPtr group) {
29
30
run_python_command_callback_t runCommandCb =
30
31
std::bind (&RosPythonInterpreterServer::runCommandCallback, this ,
31
32
std::placeholders::_1, std::placeholders::_2);
32
33
run_python_command_srv_ = ros_node_->create_service <RunPythonCommandSrvType>(
33
- " /dynamic_graph_bridge/run_python_command" , runCommandCb);
34
+ " /dynamic_graph_bridge/run_python_command" , runCommandCb, qos, group );
34
35
RCLCPP_INFO (
35
36
rclcpp::get_logger (" dynamic_graph_bridge" ),
36
37
" RosPythonInterpreterServer::start_ros_service - run_python_command..." );
@@ -39,7 +40,7 @@ void RosPythonInterpreterServer::start_ros_service() {
39
40
std::bind (&RosPythonInterpreterServer::runPythonFileCallback, this ,
40
41
std::placeholders::_1, std::placeholders::_2);
41
42
run_python_file_srv_ = ros_node_->create_service <RunPythonFileSrvType>(
42
- " /dynamic_graph_bridge/run_python_file" , runPythonFileCb);
43
+ " /dynamic_graph_bridge/run_python_file" , runPythonFileCb, qos, group );
43
44
44
45
RCLCPP_INFO (
45
46
rclcpp::get_logger (" dynamic_graph_bridge" ),
0 commit comments