Description
I'm encountering a problem with my ROS2 setup involving publishing and subscribing to a topic with image data. I've configured my publisher node to publish using the following command:
ros2 run image_tools cam2image --ros-args -p width:=1280 -p height:=780
Additionally, I've enabled the LARGE_DATA option. Initially, when publishing using this configuration, I observe a frequency of 10Hz in the system. However, when subscribing to the same topic on another system with identical configurations, I only receive a frequency of 2Hz.
Moreover, I've noticed that the publisher frequency gradually decreases over time in both systems, eventually stabilizing at 2Hz. This behavior persists even when the LARGE_DATA option is disabled.
I'm seeking assistance in understanding why enabling LARGE_DATA doesn't seem to affect the performance as expected and why the publisher frequency decreases over time. Could someone please provide insights into these issues and suggest potential solutions?