Maximum samples and unbounded type length in ROS2 DDS entity
This is an extension to this question.
I ran a ROS2 demo_py taker and observed the RTI admin console to know more about the data types and QoS.
As you can see in the attached image, it has only one member of type String
but the max size of the string here is : 2147483647 bytes
which looks a bit strange to me.
Also, if you look at the Max Samples
, they are also quite big.
Questions :
- Is this the normal memory allocation of a data type ?
- How are the maximum samples calculated ? Are these based on the size of the datatype ?
ps : i know it is not ok to post a picture but i think it gives a much clearer view of the problem.