show topic list without active node
I mean before I run the ros node, I want know the topic list and services list of the node, how could I do with this case? Thanks
Asked by apanda on 2017-03-19 20:45:45 UTC
I mean before I run the ros node, I want know the topic list and services list of the node, how could I do with this case? Thanks
Asked by apanda on 2017-03-19 20:45:45 UTC
Comments
The node could subscribe to any topic (e.g. reading a topic name from a parameter or creating a publisher for a time-dependent name) so I'd say it is impossible to solve your task.
Asked by NEngelhard on 2017-03-20 02:42:26 UTC
@NEngelhard, so how did rqt_publisher work, why it could list all topics before the node running?
Asked by apanda on 2017-03-21 03:19:18 UTC
I do not think that it can do it. Could describe your observations?
Asked by NEngelhard on 2017-03-21 06:03:53 UTC
@Nengelhard my mistake, the rqt_publisher could show the topics because it keep the caches list, because i opened the node before. althought the node is not running, rqt_publisher could show some topics which will not in "rostopic list". Thanks.
Asked by apanda on 2017-03-22 00:46:41 UTC