ros2 link node name to topic name [closed]
Hi,
I've a question on how to get some data from the ros2 graph.
For ex: with ros1,
if we run the command rosnode info /node_name, if gives us information about pubs, subs within the node.
But, with ros2 this does'nt seem to work. This is primarily because within ros2graph ,it does not create a map of node_name to topic_name.
And, it seems tricky as well to get this mapping. If we use the node_graph API's like get_node_names & get_topic_names_and_types.
When working with a global scope how do we get the mappings?
Please advice.
duplicate of #q294437