Setting a DDS_DataWriter sending queue size to 1

2 posts / 0 new
Last post
Offline
Last seen: 2 years 3 months ago
Joined: 03/03/2015
Posts: 19
Setting a DDS_DataWriter sending queue size to 1

Hey,

 

I'm currently trying to play with the sending queue size of a DDS_DataWriter and the receiving queue size of a DDS_DataReader. What I'm trying to do is set each of the queue sizes to "1".

 

Unfortunately, I stumbled upon the issue that I have to set the resource_limits.max_samples > initial_samplex. So If I set max_samples  1 and the initial_samples = 0, that will fail to create the DDS_DataWriter/DDS_DataReader. 

 

Is there another way to tune the queue sizes (specifically, set them to 1) without failing to create the data writer or the data reader?.

 

Thank you,

Best regards,

Andrei

Organization:
Offline
Last seen: 3 months 1 day ago
Joined: 02/11/2016
Posts: 142

Hey,

Perhaps you could use HistoryQosPolicy?

Why do you want to set it to 1?

 

Roy.