mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Landmark constraints can now be rejected (in case we see same landmark at two different spots or constraint is poorly estimated). Optimizer/Robust can now be used with landmark constraints with orientation.
This commit is contained in:
@@ -90,9 +90,10 @@ public:
|
||||
void removeLink(int idTo);
|
||||
void removeVirtualLinks();
|
||||
|
||||
void addLandmark(const Link & landmark) {_landmarks.insert(std::make_pair(landmark.to(), landmark));}
|
||||
void addLandmark(const Link & landmark);
|
||||
const std::map<int, Link> & getLandmarks() const {return _landmarks;}
|
||||
void removeLandmarks() {_landmarks.clear();}
|
||||
void removeLandmarks();
|
||||
void removeLandmark(int landmarkId);
|
||||
|
||||
void setSaved(bool saved) {_saved = saved;}
|
||||
void setModified(bool modified) {_modified = modified; _linksModified = modified;}
|
||||
|
||||
Reference in New Issue
Block a user