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

[tests/test_common.hpp] Remove executor namespace

parent 00a2c872
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ void start_dg_ros_service()
ASSERT_TRUE(response.valid());
// wait_for_response(response);
ASSERT_TRUE(rclcpp::spin_until_future_complete(ros_node, response) ==
rclcpp::executor::FutureReturnCode::SUCCESS);
rclcpp::FutureReturnCode::SUCCESS);
}
void stop_dg_ros_service()
......@@ -68,7 +68,7 @@ void stop_dg_ros_service()
ASSERT_TRUE(response.valid());
// wait_for_response(response);
ASSERT_TRUE(rclcpp::spin_until_future_complete(ros_node, response) ==
rclcpp::executor::FutureReturnCode::SUCCESS);
rclcpp::FutureReturnCode::SUCCESS);
}
void start_run_python_command_ros_service(const std::string& cmd,
......@@ -96,7 +96,7 @@ void start_run_python_command_ros_service(const std::string& cmd,
ASSERT_TRUE(response.valid());
// wait_for_response(response);
ASSERT_TRUE(rclcpp::spin_until_future_complete(ros_node, response) ==
rclcpp::executor::FutureReturnCode::SUCCESS);
rclcpp::FutureReturnCode::SUCCESS);
// Get the results.
result = response.get()->result;
standarderror = response.get()->standarderror;
......@@ -126,7 +126,7 @@ void start_run_python_script_ros_service(const std::string& file_name,
ASSERT_TRUE(response.valid());
// wait_for_response(response);
ASSERT_TRUE(rclcpp::spin_until_future_complete(ros_node, response) ==
rclcpp::executor::FutureReturnCode::SUCCESS);
rclcpp::FutureReturnCode::SUCCESS);
// Get the results.
result = response.get()->result;
}
......@@ -164,4 +164,4 @@ void display_services()
std::cerr << const_it->second[i] << std::endl;
}
}
}
\ No newline at end of file
}
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