-
Notifications
You must be signed in to change notification settings - Fork 28
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
[Question] DYN_TYPES_Error: The container is full #116
Comments
Are you defining your type in IDL format? In this case, can you copy it here? Thanks. |
@richiware |
Could you provide the |
@richiware And, I filled the vector elements and publish data as this way. |
Was this issue solved? I am getting the same error using the integration-service for ROS2 WAN communication. I am using a custom type which is basically a sequence of uint8_t and it also is not working for more than a 100 elements |
I have the same issue. How to resolve this? |
Hi @ohsirawat, I've managed to do a bit of a workaround which was to modify the generated idl for a larger maximum sequence size. By modifying the files in For instance In my case I've modified the g_idl variable:
Note the 2048 in the the sequence field, this replaces the default 100 as maximum size. I don't know if there is any way to change the maximum sequence size more elegantly (maybe in one of the cmake files?) or opting to use dynamic memory? Maybe the maintainers can shine some light on the matter? I think this could be a nice feature to add (if it is not already implemented and I just didn't see it :P ) |
Thanks! that's very helpful @ruimscarvalho98 |
Hi, In the source code of FastDDS-SH, I have checked that the "historyMemoryPolicy" parameter is used when creating a Datawriter ("historyMemoryPolicy" is provided by XML). Someone has solved this issue? Thanks! |
3 years and no solution... I'm facing the same issue and it's a roadblock. I'll have to consider an alternative to Integration Service... |
It's not an integration service issue. Is a Fast-DDS one that we are trying to fix. |
I built with 'feature/xtypes-dds' of SOSS-DDS, and gave 100 elements to each of two vector members through the 100-times push_back callings, and used the TCP transfer between the client and the server of SOSS. The result was good to send and receive the following customized ROS2 topic message type (as the LiDAR data)
float ranges[];
float intensities[];
But, when I gave the 200-times push_back callings to the both of vector member, the client side of SOSS showed the following message. And the message codes are found from DynamicData.cpp of Fast-RTPS.
"[DYN_TYPES Error] Error inserting data. The container is full. -> Function insert_sequence_data"
As we know, some LiDARs generate more than a thousand intensitie data, so these vector members need to have more than 1000 elements.
I want to know if it is the known issue of SOSS-DDS, or only my issue. If it is the know issue, was it fixed?
The text was updated successfully, but these errors were encountered: