-
Notifications
You must be signed in to change notification settings - Fork 148
Property qos Python example #726
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
base: master
Are you sure you want to change the base?
Conversation
Was delaying PR to add the interoperability test framework with it, however, considering that this example targets master, and the test will be in dev, I think I will split the PRs in 2 instead. So this PR is ready for review now @Alxe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realized I had feedback I hadn't submitted.
|
||
```plaintext | ||
INFO com.rti.ndds.nddsgen.Main Running rtiddsgen version 4.3.0, please wait ... | ||
WARN com.rti.ndds.nddsgen.emitters.FileEmitter File exists and will not be overwritten : some/path/numbers.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
numbers.py
is not checked in
<value>65507</value> | ||
</element> | ||
<element> | ||
<name>dds.transport.UDPv4.builtin.send_socket_buffer_size</name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting
NEW_SOCKET_BUFFER_SIZE_STRING = "65507" | ||
|
||
@staticmethod | ||
def create_participant(domain_id: int): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apply typing annotations consistently
def create_participant(domain_id: int): | |
def create_participant(domain_id: int) -> dds.DomainParticipant: |
# DomainParticipant QoS is configured in USER_QOS_PROFILES.xml | ||
participant = dds.DomainParticipant(domain_id) | ||
|
||
# If you want to change the DomainParticipant's QoS programmatically |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's do this programmatically by default
Summary
Adding Python example for property_qos example
Checks