[ros-users] [Discourse.ros.org] [Next Generation ROS] Payloa…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: dhood via ros-users
Dato:  
Til: ros-users
Emne: [ros-users] [Discourse.ros.org] [Next Generation ROS] Payload size error with FastRTPS


It's coming from FastRTPS underneath; from perusing their code it looks to only be output if you're using `PREALLOCATED_MEMORY_MODE` for the memory policy (e.g. [here](https://github.com/eProsima/Fast-RTPS/blob/f16b8f365c44aa76066b35004e84e9a352949d8c/src/cpp/rtps/history/WriterHistory.cpp#L61)).

In `rmw_fastrtps_cpp`, the memory policy is explicitly set to `PREALLOCATED_WITH_REALLOC_MEMORY_MODE` (e.g. [here](https://github.com/ros2/rmw_fastrtps/blob/a6ac02905c55118fb1da636f85c8197dde8ef58e/rmw_fastrtps_cpp/src/rmw_publisher.cpp#L99)). Are you customising the publisher/subscriber parameters yourself somehow? If so you'll have to tweak some additional properties of the history cache.





---
[Visit Topic](https://discourse.ros.org/t/payload-size-error-with-fastrtps/2815/2) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>