Running a variable number of instances of the same node and topic
Hi All, I am writing a system in Python which connects users to a data-source, there will be a variable large number of users and a variable large number of data sources. Is it possible to spawn and control multiple instances of the same node and multiple instances of the same topic, all with different names, from within a "managing" node? Or would I be better off using something like multi-processing or threading.
The subscribable, real time nature of the ROS implementation of topics would make the problem much easier than using a pipe or a queue, but as far as I understand, this isn't really what ROS is designed for and so I'm not really sure if it's possible.
I would implement the system in Ubuntu 22.04 with ROS2 (this is flexible if there's any reason to use noetic instead). For context I have a fair amount of experience using ROS Noetic, but for more usual use cases.
Any input would be much appreciated.
Asked by Charlie_R on 2022-08-17 02:58:45 UTC
Comments