Commit fbb0769
authored
Don't subscribe with Transient local QoS when there are volatile publishers (#1023)
* fix: incompatible QoS settings for subs
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: define variables
* fix: lint and remove default publisher qos durability setting
* fix: default durability policy for tests
* fix: code fixed according to recommendation
* fix: lint
* fix: added recommended changes
* fix: reverted test changes
* fix: check if there are any publisher.
* fix: lint
* fix: qos settings
* fix: requested changes1 parent fde7509 commit fbb0769
File tree
1 file changed
+9
-2
lines changed- rosbridge_library/src/rosbridge_library/internal
1 file changed
+9
-2
lines changedLines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
| |||
182 | 185 | | |
183 | 186 | | |
184 | 187 | | |
185 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
186 | 192 | | |
187 | 193 | | |
188 | 194 | | |
| 195 | + | |
189 | 196 | | |
190 | 197 | | |
191 | 198 | | |
| |||
0 commit comments