ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org

Getting the list of published services in rosjava node


#1

Hi,

I am new to rosjava. I am trying to create a rosjava node, which should periodically get the list of all services published at the roscore. I want something similar to the “rosservice list”, but as an API. The scenario for which this is required is: The roscore will be executing independently, there are some ros-cpp nodes which are up and have published their services, the rosjava node when it gets started, needs to know the list of all services which have been published so far and the publishers of the same.

Please help.


#2

I think this might be the kind of thing you’d want to ask on answers.ros.org . This discourse site serves the same purpose as the mailing list, a format for linear discussion and announcements like most forums. answers.ros.org has the best format for asking and answering questions like a stack exchange site.