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

Method Deactivate

roborts_costmap/src/obstacle_layer.cpp:271–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271void ObstacleLayer::Deactivate() {
272 for (unsigned int i = 0; i < observation_subscribers_.size(); ++i) {
273 if (observation_subscribers_[i] != nullptr)
274 observation_subscribers_[i]->unsubscribe();
275 }
276}
277
278void ObstacleLayer::Reset() {
279 Deactivate();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected