suave.ros_service_utils.call_service_with_timeout

suave.ros_service_utils.call_service_with_timeout(node, cli, request, timeout_sec=5.0, stop_requested: Callable[[], bool] | None = None)

Call a service and wait for its response or a stop request.