Skip to content

Commit

Permalink
Replace deprecated spin_until_future_complete with `spin_until_comp…
Browse files Browse the repository at this point in the history
…lete`

Signed-off-by: Hubert Liberacki <[email protected]>
  • Loading branch information
hliberacki committed Jun 3, 2022
1 parent c86d23b commit e37fd69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rqt_reconfigure/param_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e37fd69

Please sign in to comment.