Messages >0.5MB gets dropped occassionly when sent over SHM with QoS BEST_EFFORT #4276
Replies: 4 comments
-
Maybe you should modify example HelloWorldExampleSharedMem which is used for shared memory. |
Beta Was this translation helpful? Give feedback.
-
Ahh, didn't see that. I have done so. |
Beta Was this translation helpful? Give feedback.
-
@dk-teknologisk-lag FYI, there are a couple of things i want to point out.
this uses
and comes back to the main title, this sounds possible. |
Beta Was this translation helpful? Give feedback.
-
i think we can iterate on ros2/rmw_fastrtps#739 instead, so i will go ahead to close this discussion. |
Beta Was this translation helpful? Give feedback.
-
Hey everyone
I'm currently working with interfacing various sensors to a mobile robot using ROS2, where we experience message drops. I have recently created a issue here: ros2/rmw_fastrtps#739
But tried to go deeper and made small changes to the HelloWorldExample to use BEST_EFFORT and sending 10MB of messages.
It can be seen here
It seem to create SHM in /dev/shm, but only about 1MB. Also see the below screenshot for the samle lost callbacks, showing messages to be lost.
I'm on a recent master and its build an run in a ubuntu 22.04 docker container.
Are there any thing I can tune when its over SHM?
I have searched for similar discussions, but they are often referring to communication across network.
Thanks, Lars
Beta Was this translation helpful? Give feedback.
All reactions