best way to create a topic
Hi,
I have 2 nodes that need 1-way communication of an array of floating point values, so I want node 1 to publish to a topic (e.g. ref), and node 2 to subscribe to that topic. I've searched on how to create a node with topic, but the tutorial only shows a message topic. Now I've tried 2 approaches: using a yaml file and using a launch file according to working examples, but so far neither creates a new topic. So the question is: how do I best create a new topic for 2 existing nodes ?
Thanks