Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UDPv4TransportDescriptor missing #200

Open
pliolis opened this issue Nov 28, 2024 · 0 comments
Open

UDPv4TransportDescriptor missing #200

pliolis opened this issue Nov 28, 2024 · 0 comments

Comments

@pliolis
Copy link

pliolis commented Nov 28, 2024

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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant