-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RTPS_HISTORY Error] history payload size of '5000' bytes is too small #213
Comments
Guess we could add reader and writer history attributes to the BuiltinAttributes class, and also provide support for them in the XML parser. Would that be enough? |
As in it would allow something like the following? I think that would do it. ParticipantAttributes participantAttrs;
// ...
participantAttrs.rtps.builtin.readerHistoryMemoryPolicy = PREALLOCATED_WITH_REALLOC_MEMORY_MODE;
participantAttrs.rtps.builtin.writerHistoryMemoryPolicy = PREALLOCATED_WITH_REALLOC_MEMORY_MODE; |
@MiguelCompany friendly 🛎️ , any update on this ? |
We applied your suggestion on commit bf1715d. Thanks.
↪ 2018-07-19 jue 20:11, Mikael Arguedas <[email protected]>:
…
@MiguelCompany friendly 🛎️ , any update on this ?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#213 (comment)
|
Thanks @richiware! We implemented the change on our side as well, feel free to close this issue 👍 (I cannot close it myself as I'm not the original poster) |
I'm getting this issue with the Nav2 lifecycle manger on ROS2 Humble:
This is with the default FastDDS config for ROS2, which should include |
The memory policy used by
HistoryAttributes
isPREALLOCATED_MEMORY_MODE
. Would it be possible to expose this to users? The preallocated size is too small for FastRTPS to communicate successfully with RTI connext in some situations.Connext by default sends
TypeObject
information as part of theDDS-XTYPES
. As far as I can tell the maximum size of aTypeObject
is unbounded. This can result in failure to match and a lot of console spam if a message type is big enough.See also ros2/rmw_connext#288 and ros2/rmw_fastrtps#194 and this comment.
The text was updated successfully, but these errors were encountered: