Creating a new node and subscribe it to a different node's topic
A general question here! I would like to create a node in may catkin_ws and write a custom node in python for reading key point data from openpose node. I went over the tutorials, but they use a prebuilt beginners tutorial. A new node is not created from scratch. Could you suggest me a useful documentation/video link for achieving such goal? Thanks,
Which goal? Creating a node from scratch? Does Writing a Simple Publisher and Subscriber (Python) cover what you're looking for?
Yes sir I did complete the tutorial. My goal is to be able to read the data of another node's topics publication. I do not believe this covers my need. But of course, you would know better. If you think it does, probably I am missing a point.
The first part of the tutorial shows you how to publish (ie: write) data yourself. The second part of the tutorial shows how to subscribe (ie: read) data that other nodes published.
I don't know whether I know better, but the second part seems to align with your description: "read data of ..
.. another node". No?
Yes I just want to create a brand new node to subscribe a specific topic and publish some info according to readings.
The topic I want to subscribe is written in cpp where I want to use python. I do not get where the topic/message names are so that in my subscriber I can specify its name.