MCPcopy Create free account
hub / github.com/KumarRobotics/sloam / getMap

Method getMap

sloam/src/core/mapManager.cpp:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30std::vector<Cylinder> MapManager::getMap()
31{
32 std::vector<Cylinder> map;
33 for(auto i = 0; i < treeModels_.size(); ++i)
34 {
35 if(treeHits_[i] > 2)
36 map.push_back(treeModels_[i]);
37 }
38 return map;
39}
40
41void MapManager::getSubmap(const SE3& pose, std::vector<Cylinder>& submap){
42 if(landmarks_->size() == 0) return;

Callers 1

publishMap_Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected