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

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Auteur: User discussions
Datum:  
Aan: User discussions
Onderwerp: 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