@@ -31,12 +31,18 @@ void RosPythonInterpreterServer::start_ros_service() {
3131 std::placeholders::_1, std::placeholders::_2);
3232 run_python_command_srv_ = ros_node_->create_service <RunPythonCommandSrvType>(
3333 " /dynamic_graph_bridge/run_python_command" , runCommandCb);
34+ RCLCPP_INFO (rclcpp::get_logger (" dynamic_graph_bridge" ),
35+ " RosPythonInterpreterServer::start_ros_service - run_python_command..." );
3436
3537 run_python_file_callback_t runPythonFileCb =
3638 std::bind (&RosPythonInterpreterServer::runPythonFileCallback, this ,
3739 std::placeholders::_1, std::placeholders::_2);
3840 run_python_file_srv_ = ros_node_->create_service <RunPythonFileSrvType>(
3941 " /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+
4046}
4147
4248void RosPythonInterpreterServer::runCommandCallback (
@@ -61,7 +67,11 @@ void RosPythonInterpreterServer::runCommandCallback(
6167
6268void RosPythonInterpreterServer::runPythonFileCallback (
6369 RunPythonFileRequestPtr req, RunPythonFileResponsePtr res) {
70+ RCLCPP_INFO (rclcpp::get_logger (" dynamic_graph_bridge" ),
71+ " RosPythonInterpreterServer::runPythonFileCallback- begin" );
6472 run_python_file (req->input , res->result );
73+ RCLCPP_INFO (rclcpp::get_logger (" dynamic_graph_bridge" ),
74+ " RosPythonInterpreterServer::runPythonFileCallback- end" );
6575}
6676
6777void RosPythonInterpreterServer::run_python_command (const std::string& command,
0 commit comments