We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4da1cf commit e52663aCopy full SHA for e52663a
behaviortree_ros2/include/behaviortree_ros2/bt_service_node.hpp
@@ -278,6 +278,10 @@ template<class T> inline
278
return CheckStatus( onFailure(INVALID_REQUEST) );
279
}
280
281
+ // Check if server is ready
282
+ if(!service_client_->service_is_ready())
283
+ return onFailure(SERVICE_UNREACHABLE);
284
+
285
future_response_ = service_client_->async_send_request(request).share();
286
time_request_sent_ = node_->now();
287
0 commit comments