MCPcopy Create free account
hub / github.com/RoboMaster/RoboRTS / Stop

Method Stop

roborts_costmap/src/costmap_interface.cpp:290–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290void 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
300void CostmapInterface::Pause() {
301 stop_updates_ = true;

Callers

nothing calls this directly

Calls 2

GetPluginsMethod · 0.80
DeactivateMethod · 0.45

Tested by

no test coverage detected