ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

RTPS_HISTORY ERROR

asked 2018-07-25 09:03:37 -0600

aks gravatar image

updated 2018-07-26 02:40:24 -0600

I have a RTI CONNEXT installation on my machine. Now whenever I run a node in ROS2, e.g. talker.py, I always get a runtime error : [RTPS_HISTORY Error] Change payload size of 'n'>5000 bytes is larger than the history payload size of '5000' bytes and cannot be resized. ->function add_change

I have already consulted this documentation but could not get the solution for it.

Any ideas ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-07-25 11:54:15 -0600

sloretz gravatar image

This can happen when using Fast-RTPS and Connext with a message in a particular size range. Long term rmw_fastrtps_cpp should be updated to use this enhancement . In the short term there are a couple options

  1. Use rmw_connext_cpp for the ROS2 rmw implementation by setting the environment variable RMW_IMPLEMENTATION, or
  2. Configure Connext to not send type matching messages larger than 5000 bytes. rmw_connext_cpp disables TypeCode to avoid this (see this issue ).
edit flag offensive delete link more

Comments

for the moment, i used the first option i.e. settting the RMW_IMPLEMENTATION = rmw_connext_cpp and it worked. Thankyou

aks gravatar image aks  ( 2018-07-26 02:51:16 -0600 )edit

I know this thread is old -- buy any tips for solving this problem in the context of MicroROS (using the Arduino library)?

I'm trying to use a custom message type containing a string and a float32, and it was actually working fine for me (I was able to echo MicroROS topic via agent), but something must have happened because now when I try to echo the topic I am seeing:

2022-09-13 20:48:29.787 [RTPS_READER_HISTORY Error] Change payload size of '16' bytes is larger than the history payload size of '11' bytes and cannot be resized. -> Function can_change_be_added_nts Not quite sure where to go from here...

coatwolf gravatar image coatwolf  ( 2022-09-13 12:53:04 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2018-07-25 09:03:37 -0600

Seen: 2,044 times

Last updated: Jul 26 '18