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
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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: 2017-03-19 20:45:45 -0600
Seen: 226 times
Last updated: Mar 19 '17
basic question in understanding publishing and subscribing
Can I "overload" topic names in ROS? (Different versions by datatype)
Subscribing to the odometry topic
Problem using subscribed motor position topic
publish arrays to a topic on the command line
How to create a global listener for any ROS topic and extract all data from any message?
Diagnostic aggregator not reading messages from new publishers on /diagnostics topic [closed]
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.
@NEngelhard, so how did rqt_publisher work, why it could list all topics before the node running?
I do not think that it can do it. Could describe your observations?
@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.