Commit 5fe71b5
coverage: republish the RViz plan on a slow timer (reliable late-join)
A single latched (transient_local) publish of /coverage_planner/plan often does
not reach a subscriber that connects after it was sent — RViz Path displays
default to Volatile QoS, and some DDS setups don't deliver the retained sample
to a late transient_local subscriber either (observed: `ros2 topic echo
--qos-durability transient_local` returns nothing while the planner runs, and an
RViz Path display added after cleaning starts shows nothing). Republish the plan
every 2 s (in addition to the latched publish + the on-change republish), so any
subscriber gets it within a couple seconds regardless of QoS or join time.
Cheap: a few hundred poses every 2 s.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 8ecdd57 commit 5fe71b5
1 file changed
Lines changed: 8 additions & 3 deletions
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
254 | | - | |
255 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
256 | 260 | | |
| 261 | + | |
257 | 262 | | |
258 | 263 | | |
259 | 264 | | |
| |||
0 commit comments