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 -0500
Seen: 196 times
Last updated: Mar 19 '17
ROS2 nodes stay alive and keep publishing after shutting down
joint_states_aggregator and joint_state_publisher
Change Topic Name of Created Plugin
Why the output of some topic delays with IDEs?
publish array velocities in a topic?
Can a node publish different types on one topic?
Can I clear all topics after I kill all nodes?
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.