Skip to content

Commit 00a2c87

Browse files
[src/ros_python_interpreter_client.cpp] Remove executor namespace
1 parent 95de051 commit 00a2c87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ros_python_interpreter_client.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ std::string RosPythonInterpreterClient::run_python_command(
6363
while (rclcpp::ok() &&
6464
rclcpp::spin_until_future_complete(
6565
ros_node_, response, std::chrono::seconds(1)) !=
66-
rclcpp::executor::FutureReturnCode::SUCCESS)
66+
rclcpp::FutureReturnCode::SUCCESS)
6767
{
6868
RCLCPP_ERROR(rclcpp::get_logger("rclcpp"),
6969
"Error while parsing command, retrying...");
@@ -126,7 +126,7 @@ std::string RosPythonInterpreterClient::run_python_script(
126126
auto response = script_client_->async_send_request(run_file_request_);
127127

128128
if (rclcpp::spin_until_future_complete(ros_node_, response) ==
129-
rclcpp::executor::FutureReturnCode::SUCCESS)
129+
rclcpp::FutureReturnCode::SUCCESS)
130130
{
131131
// Get the error.
132132
return_string += response.get()->result;
@@ -154,4 +154,4 @@ std::string RosPythonInterpreterClient::run_python_script(
154154
return return_string;
155155
}
156156

157-
} // namespace dynamic_graph_bridge
157+
} // namespace dynamic_graph_bridge

0 commit comments

Comments
 (0)