Re: [ros-users] Can service answers be asynchronous?

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: User discussions
Emne: Re: [ros-users] Can service answers be asynchronous?
>
> In [1], there is
> documentation on how to run each node or each service in their own
> threads, but not each request.



There is no way of spinning up a thread for each individual request -- I
doubt this is what you want anyway, as it's incredibly wasteful. If you
service the callback queue associated with the requests from multiple
threads (either using an AsyncSpinner or manually with callOne()), they'll
get serviced concurrently.

Josh