C++ program (ROS node) for working with several camera is slow in Linux
I wrote a C++ program (ROS Node) in Linux (Ubuntu 18.04) to get camera images and publish them on ROS topics.
When I connect one camera, it publishes 90 frames per second, which is equal to the highest frame rate of my cameras. However, when I connect two cameras, the publishing rate decreases to 45 per second.
For more images, codes and explanation, please see my question on Stackoverflow
:
Asked by farhad-bat on 2022-07-07 22:04:15 UTC
Comments
you have done this a few times now, and I'm going to ask you to stop cross-posting like this.
Please decide which post you want to keep open.
In the meantime, I'll close this one, to avoid facilitating a split discussion and potential duplication of effort.
Asked by gvdhoorn on 2022-07-08 00:38:18 UTC