How to force Reader to receive changes from a transport i want #5800
-
When writer A and reader B is in the same machine but not the same participant. If they both have SHM transport and udp transport, then reader B receive change from SHM transport because of filter_remote_locators method. |
Beta Was this translation helpful? Give feedback.
Answered by
MiguelCompany
May 9, 2025
Replies: 1 comment
-
Use this QoS settings when creating the reader. eprosima::fastdds::rtps::Locator udp_locator{};
udp_locator.kind = LOCATOR_KIND_UDPv4;
DataReaderQos reader_qos{};
reader_qos.endpoint().unicast_locator_list.push_back(udp_locator); Bonus: This can also be used to set a specific listening port for that reader. Just add |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wddpfx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use this QoS settings when creating the reader.
Bonus: This can also be used to set a specific listening port for that reader. Just add
udp_locator.port = <your_custom_port>;