[ros-users] Can service answers be asynchronous?

Axelrod, Benjamin baxelrod at irobot.com
Tue Oct 5 15:21:19 UTC 2010

Maybe you are looking for something like: http://www.ros.org/wiki/actionlib?

-----Original Message-----
From: ros-users-bounces at code.ros.org [mailto:ros-users-bounces at code.ros.org] On Behalf Of Stéphane Magnenat
Sent: Tuesday, October 05, 2010 11:16 AM
To: ros-users at code.ros.org
Subject: [ros-users] Can service answers be asynchronous?


I am about to start writing a bridge between ROS and ASEBA [1]. In this 
context, ASEBA is a low-level (cross-microcontroller) middleware, whose 
features I would like to expose to ROS. I already did this with D-Bus [2].

As ASEBA talks to microcontrollers, there might be delays in answers, so 
when an RPC-like query is performed on the Service, I would like the 
function to return to the event loop and to be able to provide an answer 
to the RPC later, when the data from the microcontroller will  have 
arrived. As far as I understand, as ROS is message-based, this should be 
possible. D-Bus provides an API for this [3]. I have not found any 
information related to asynchronous answers in the context of ROS, and 
if I have read the API doc correctly, ROS does not provide such a 
feature in its service API. Is it correct? If so, do you plan to 
implement this at some point?

Thank you, kind regards,


[1] http://mobots.epfl.ch/aseba.html
[2] http://svn.gna.org/viewcvs/aseba/trunk/medulla/
[3] for instance, with QtDBus, see:

Dr Stéphane Magnenat
ros-users mailing list
ros-users at code.ros.org

More information about the ros-users mailing list