MCPcopy Create free account
hub / github.com/ANYbotics/grid_map / clear

Method clear

grid_map_core/src/GridMap.cpp:734–740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732}
733
734void GridMap::clear(const std::string& layer) {
735 try {
736 data_.at(layer).setConstant(NAN);
737 } catch (const std::out_of_range& exception) {
738 throw std::out_of_range("GridMap::clear(...) : No map layer '" + layer + "' available.");
739 }
740}
741
742void GridMap::clearBasic() {
743 for (auto& layer : basicLayers_) {

Callers 15

TESTFunction · 0.80
toMessageMethod · 0.80
toPointCloudMethod · 0.80
visualizeMethod · 0.80
resetMethod · 0.80
computeVisualizationMethod · 0.80
resetMethod · 0.80

Calls 1

atMethod · 0.80

Tested by 1

TESTFunction · 0.64