RosClient.blocking_call_from_thread¶
-
RosClient.
blocking_call_from_thread
(callback, timeout)¶ Call the given function from a thread, and wait for the result synchronously for as long as the timeout will allow.
- Parameters
callback – Callable function to be invoked from the thread.
timeout ( – obj: int): Number of seconds to wait for the response before raising an exception.
- Returns
The results from the callback, or a timeout exception.