ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

services running in a node [closed]

asked 2013-09-20 01:29:08 -0600

Miguel Riem de Oliveira gravatar image

updated 2013-09-20 04:23:36 -0600


I was wondering if its possible to get a list of all services to which a node is connected, either as a client or as a server.

Somethis similar to ros::this_node::getSubscribedTopics()

Also, is it possible to know which parameters a node has read.


Miguel Oliveira

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Miguel Riem de Oliveira
close date 2013-10-22 23:33:28


Hi everyone I found a workaround for this one. I use the shell ros service list api from ros. To make a system call and then get back the result I use ipstream library. Perhaps it is helpfull for someone. PS: I just did not find a way to get the client services a node is connected to ...

Miguel Riem de Oliveira gravatar image Miguel Riem de Oliveira  ( 2013-10-01 22:24:42 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-05 11:45:07 -0600

unknown_entity1 gravatar image

Hi Miguel,

You need to call getSystemState(caller_id) from the ROS XMLRPC Master API, and it returns a list of all the subscribers, publishers, and services. The Master API documentation URL:



edit flag offensive delete link more


Thanks for the answer Aaron. I'll do that. Miguel

Miguel Riem de Oliveira gravatar image Miguel Riem de Oliveira  ( 2013-10-22 23:33:03 -0600 )edit

Your welcome! There are multiple deficiencies in the API related to Services. Including the inability to obtain the Service Topic Type, and the inability to request MD5 information for Topics/Services.

unknown_entity1 gravatar image unknown_entity1  ( 2013-10-23 11:04:13 -0600 )edit

Question Tools



Asked: 2013-09-20 01:29:08 -0600

Seen: 377 times

Last updated: Oct 05 '13