Commit e7b797b
Bugfix inactive publishers (ros-navigation#5748)
* Do not publish costmap unless active
Signed-off-by: Christopher Thompson <cthompson@metalsharkboats.com>
* Fix style
Signed-off-by: Christopher Thompson <cthompson@metalsharkboats.com>
* Fix typo
Signed-off-by: Christopher Thompson <cthompson@metalsharkboats.com>
* Use layers isEnabled() to prevent publishing
Signed-off-by: Christopher Thompson <cthompson@metalsharkboats.com>
* Fix style
Signed-off-by: Christopher Thompson <cthompson@metalsharkboats.com>
* Add missing include for CostmapLayer type
Signed-off-by: Christopher Thompson <cthompson@metalsharkboats.com>
* Remove extra scoping
Signed-off-by: Christopher Thompson <cthompson@metalsharkboats.com>
---------
Signed-off-by: Christopher Thompson <cthompson@metalsharkboats.com>
Co-authored-by: Christopher Thompson <cthompson@metalsharkboats.com>1 parent b282da0 commit e7b797b
2 files changed
Lines changed: 8 additions & 12 deletions
File tree
Lines changed: 2 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | 131 | | |
140 | 132 | | |
141 | 133 | | |
| |||
166 | 158 | | |
167 | 159 | | |
168 | 160 | | |
169 | | - | |
170 | 161 | | |
171 | 162 | | |
172 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
62 | | - | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
239 | 244 | | |
240 | 245 | | |
241 | 246 | | |
| |||
0 commit comments