Reply to service call using GUI (e.g. rqt)

asked 2017-05-08 09:13:30 -0500

MattiaRH gravatar image

Hi all,

we are working on a graphic user interface for an HRI experiment and we encounter some difficulties on something we thought was easy. We run Indigo. We have a node queryHandler that, when needed, calls a ROS service and receive the reply from the user. The user would reply through a GUI, developed as an rqt plugin. Our idea was to embed the service server into the GUI that receives the service calls, gets the user input (e.g. via buttons) and answers to the service request. The node calling the server would hang waiting while the GUI node would display the correct buttons, wait for the user input and then reply.

Can this be done? on the wiki, we found only examples of rqt plugins that send and display messages and call rosservices. Thanks!


edit retag flag offensive close merge delete


Perhaps you can elaborate a little more on what you are having difficulties with? As far as I'm aware, this should certainly be possible.

rbbg gravatar image rbbg  ( 2017-05-09 00:39:55 -0500 )edit