C++ program (ROS node) for working with several camera is slow in Linux [closed]

asked 2022-07-07 22:04:15 -0500

farhad-bat gravatar image

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:

https://stackoverflow.com/questions/7...

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by gvdhoorn
close date 2022-07-08 00:38:25.074416

Comments

For more images, codes and explanation, please see my question on Stackoverflow [..]

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.

gvdhoorn gravatar image gvdhoorn  ( 2022-07-08 00:38:18 -0500 )edit