Skip to content

Commit 0455af4

Browse files
[tests/test_common.hpp] Remove executor namespace
1 parent 00a2c87 commit 0455af4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_common.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void start_dg_ros_service()
4646
ASSERT_TRUE(response.valid());
4747
// wait_for_response(response);
4848
ASSERT_TRUE(rclcpp::spin_until_future_complete(ros_node, response) ==
49-
rclcpp::executor::FutureReturnCode::SUCCESS);
49+
rclcpp::FutureReturnCode::SUCCESS);
5050
}
5151

5252
void stop_dg_ros_service()
@@ -68,7 +68,7 @@ void stop_dg_ros_service()
6868
ASSERT_TRUE(response.valid());
6969
// wait_for_response(response);
7070
ASSERT_TRUE(rclcpp::spin_until_future_complete(ros_node, response) ==
71-
rclcpp::executor::FutureReturnCode::SUCCESS);
71+
rclcpp::FutureReturnCode::SUCCESS);
7272
}
7373

7474
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,
9696
ASSERT_TRUE(response.valid());
9797
// wait_for_response(response);
9898
ASSERT_TRUE(rclcpp::spin_until_future_complete(ros_node, response) ==
99-
rclcpp::executor::FutureReturnCode::SUCCESS);
99+
rclcpp::FutureReturnCode::SUCCESS);
100100
// Get the results.
101101
result = response.get()->result;
102102
standarderror = response.get()->standarderror;
@@ -126,7 +126,7 @@ void start_run_python_script_ros_service(const std::string& file_name,
126126
ASSERT_TRUE(response.valid());
127127
// wait_for_response(response);
128128
ASSERT_TRUE(rclcpp::spin_until_future_complete(ros_node, response) ==
129-
rclcpp::executor::FutureReturnCode::SUCCESS);
129+
rclcpp::FutureReturnCode::SUCCESS);
130130
// Get the results.
131131
result = response.get()->result;
132132
}
@@ -164,4 +164,4 @@ void display_services()
164164
std::cerr << const_it->second[i] << std::endl;
165165
}
166166
}
167-
}
167+
}

0 commit comments

Comments
 (0)