mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Remove landmark links when a node is deleted (and removed from the graph) #441
This commit is contained in:
@@ -92,6 +92,7 @@ public:
|
||||
|
||||
void addLandmark(const Link & landmark) {_landmarks.insert(std::make_pair(landmark.to(), landmark));}
|
||||
const std::map<int, Link> & getLandmarks() const {return _landmarks;}
|
||||
void removeLandmarks() {_landmarks.clear();}
|
||||
|
||||
void setSaved(bool saved) {_saved = saved;}
|
||||
void setModified(bool modified) {_modified = modified; _linksModified = modified;}
|
||||
|
||||
Reference in New Issue
Block a user