Fast-DDS-python
Fast-DDS-python copied to clipboard
UDPv4TransportDescriptor missing
I can't find the equivalent Python code in this library for the C++ code below.
specially for auto udp_transport = std::make_shared<UDPv4TransportDescriptor>(); line
How can create a DomainParticipantQos with these settings?
DomainParticipantQos getAPP11DomainParticipantQos() {
DomainParticipantQos qos;
auto udp_transport = std::make_shared<UDPv4TransportDescriptor>();
udp_transport->sendBufferSize = 9216;
udp_transport->receiveBufferSize = 9216;
udp_transport->maxMessageSize = 1450;
udp_transport->non_blocking_send = true;
qos.transport().user_transports.push_back(udp_transport);
qos.transport().use_builtin_transports = false;
qos.properties().properties().emplace_back("fastdds.ignore_local_endpoints", "true");
return qos;
}
Not the maintainers but I hit the same issue a while back, I was stuck here for a while because this limitation isn't really apparent just by reading the docs or the open issues. https://github.com/eProsima/Fast-DDS-python/discussions/204#discussioncomment-12067049 I think it's related to the limitation linked above, where FastDDS-Python can't configure transport settings. Hope this helps.