@@ -31,12 +31,18 @@ void RosPythonInterpreterServer::start_ros_service() {
31
31
std::placeholders::_1, std::placeholders::_2);
32
32
run_python_command_srv_ = ros_node_->create_service <RunPythonCommandSrvType>(
33
33
" /dynamic_graph_bridge/run_python_command" , runCommandCb);
34
+ RCLCPP_INFO (rclcpp::get_logger (" dynamic_graph_bridge" ),
35
+ " RosPythonInterpreterServer::start_ros_service - run_python_command..." );
34
36
35
37
run_python_file_callback_t runPythonFileCb =
36
38
std::bind (&RosPythonInterpreterServer::runPythonFileCallback, this ,
37
39
std::placeholders::_1, std::placeholders::_2);
38
40
run_python_file_srv_ = ros_node_->create_service <RunPythonFileSrvType>(
39
41
" /dynamic_graph_bridge/run_python_file" , runPythonFileCb);
42
+
43
+ RCLCPP_INFO (rclcpp::get_logger (" dynamic_graph_bridge" ),
44
+ " RosPythonInterpreterServer::start_ros_service - run_python_file..." );
45
+
40
46
}
41
47
42
48
void RosPythonInterpreterServer::runCommandCallback (
@@ -61,7 +67,11 @@ void RosPythonInterpreterServer::runCommandCallback(
61
67
62
68
void RosPythonInterpreterServer::runPythonFileCallback (
63
69
RunPythonFileRequestPtr req, RunPythonFileResponsePtr res) {
70
+ RCLCPP_INFO (rclcpp::get_logger (" dynamic_graph_bridge" ),
71
+ " RosPythonInterpreterServer::runPythonFileCallback- begin" );
64
72
run_python_file (req->input , res->result );
73
+ RCLCPP_INFO (rclcpp::get_logger (" dynamic_graph_bridge" ),
74
+ " RosPythonInterpreterServer::runPythonFileCallback- end" );
65
75
}
66
76
67
77
void RosPythonInterpreterServer::run_python_command (const std::string& command,
0 commit comments