From e37fd69b79339c2f7073047789a814f9707c9b20 Mon Sep 17 00:00:00 2001 From: Hubert Liberacki Date: Fri, 3 Jun 2022 14:29:11 +0200 Subject: [PATCH] Replace deprecated `spin_until_future_complete` with `spin_until_complete` Signed-off-by: Hubert Liberacki --- src/rqt_reconfigure/param_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rqt_reconfigure/param_api.py b/src/rqt_reconfigure/param_api.py index 0541726..03cc620 100644 --- a/src/rqt_reconfigure/param_api.py +++ b/src/rqt_reconfigure/param_api.py @@ -124,7 +124,7 @@ def _call_service(self, client, request, timeout=1.0): # It is possible that a node has the parameter services but is not # spinning. In that is the case, the client call will time out. future = client.call_async(request) - rclpy.spin_until_future_complete(self._node, future, None, timeout) + rclpy.spin_until_complete(self._node, future, None, timeout) result = future.result() if result is None: