| 288 | } |
| 289 | |
| 290 | void CostmapInterface::Stop() { |
| 291 | stop_updates_ = true; |
| 292 | auto *plugins = layered_costmap_->GetPlugins(); |
| 293 | for (auto plugin = plugins->begin(); plugin != plugins->end(); ++plugin) { |
| 294 | (*plugin)->Deactivate(); |
| 295 | } |
| 296 | initialized_ = false; |
| 297 | stopped_ = true; |
| 298 | } |
| 299 | |
| 300 | void CostmapInterface::Pause() { |
| 301 | stop_updates_ = true; |
nothing calls this directly
no test coverage detected