@@ -46,7 +46,7 @@ void start_dg_ros_service()
46
46
ASSERT_TRUE (response.valid ());
47
47
// wait_for_response(response);
48
48
ASSERT_TRUE (rclcpp::spin_until_future_complete (ros_node, response) ==
49
- rclcpp::executor:: FutureReturnCode::SUCCESS);
49
+ rclcpp::FutureReturnCode::SUCCESS);
50
50
}
51
51
52
52
void stop_dg_ros_service ()
@@ -68,7 +68,7 @@ void stop_dg_ros_service()
68
68
ASSERT_TRUE (response.valid ());
69
69
// wait_for_response(response);
70
70
ASSERT_TRUE (rclcpp::spin_until_future_complete (ros_node, response) ==
71
- rclcpp::executor:: FutureReturnCode::SUCCESS);
71
+ rclcpp::FutureReturnCode::SUCCESS);
72
72
}
73
73
74
74
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,
96
96
ASSERT_TRUE (response.valid ());
97
97
// wait_for_response(response);
98
98
ASSERT_TRUE (rclcpp::spin_until_future_complete (ros_node, response) ==
99
- rclcpp::executor:: FutureReturnCode::SUCCESS);
99
+ rclcpp::FutureReturnCode::SUCCESS);
100
100
// Get the results.
101
101
result = response.get ()->result ;
102
102
standarderror = response.get ()->standarderror ;
@@ -126,7 +126,7 @@ void start_run_python_script_ros_service(const std::string& file_name,
126
126
ASSERT_TRUE (response.valid ());
127
127
// wait_for_response(response);
128
128
ASSERT_TRUE (rclcpp::spin_until_future_complete (ros_node, response) ==
129
- rclcpp::executor:: FutureReturnCode::SUCCESS);
129
+ rclcpp::FutureReturnCode::SUCCESS);
130
130
// Get the results.
131
131
result = response.get ()->result ;
132
132
}
@@ -164,4 +164,4 @@ void display_services()
164
164
std::cerr << const_it->second [i] << std::endl;
165
165
}
166
166
}
167
- }
167
+ }
0 commit comments