-
Notifications
You must be signed in to change notification settings - Fork 540
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
fix: incompatible QoS settings for subs #1023
base: ros2
Are you sure you want to change the base?
Conversation
for reliability, if any subscribed topic has a non-reliable policy, we set reliability to best effort. for durability, if if any subscribed topic has a non-transient-local policy, we set durability to volatile.
This is already the case. It is exactly what this line does:
so in other words, we set transient local policy if all publishers on that topic also use transient local policy. Wouldn't it be easier if you just modified this line:
by changing |
rosbridge_library/src/rosbridge_library/internal/subscribers.py
Outdated
Show resolved
Hide resolved
rosbridge_library/src/rosbridge_library/internal/subscribers.py
Outdated
Show resolved
Hide resolved
Tests facing same problem with my issue:
|
for reliability, if any subscribed topic has a non-reliable policy, we set reliability to best effort. for durability, if if any subscribed topic has a non-transient-local policy, we set durability to volatile.
Public API Changes
None
Description
for reliability, if any subscribed topic has a non-reliable policy, we set reliability to best effort. for durability, if if any subscribed topic has a non-transient-local policy, we set durability to volatile.
Fix for #1022