How to take only next one sample with zero copy communication #5645
-
Hi, as i understand, for zero-copy communication i have to use |
Beta Was this translation helpful? Give feedback.
Answered by
MiguelCompany
Feb 11, 2025
Replies: 1 comment 1 reply
-
You can use the third argument of Alternatively, you can configure |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
scoopySHI
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the third argument of
take()
to limit the number of samples returned.Alternatively, you can configure
max_samples_per_read
on thereader_resource_limits()
of your DataReaderQos