Skip to content
Snippets Groups Projects
Commit 00a2c872 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[src/ros_python_interpreter_client.cpp] Remove executor namespace

parent 95de0515
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ std::string RosPythonInterpreterClient::run_python_command(
while (rclcpp::ok() &&
rclcpp::spin_until_future_complete(
ros_node_, response, std::chrono::seconds(1)) !=
rclcpp::executor::FutureReturnCode::SUCCESS)
rclcpp::FutureReturnCode::SUCCESS)
{
RCLCPP_ERROR(rclcpp::get_logger("rclcpp"),
"Error while parsing command, retrying...");
......@@ -126,7 +126,7 @@ std::string RosPythonInterpreterClient::run_python_script(
auto response = script_client_->async_send_request(run_file_request_);
if (rclcpp::spin_until_future_complete(ros_node_, response) ==
rclcpp::executor::FutureReturnCode::SUCCESS)
rclcpp::FutureReturnCode::SUCCESS)
{
// Get the error.
return_string += response.get()->result;
......@@ -154,4 +154,4 @@ std::string RosPythonInterpreterClient::run_python_script(
return return_string;
}
} // namespace dynamic_graph_bridge
\ No newline at end of file
} // namespace dynamic_graph_bridge
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment