-Fixed map id not incremented on Odometry reset (identity transform was missed)
-Keeping maximum odometry variance between two loop closure updates
Odometry:
-removed parameters Odom/FeaturesRatio, Odom/LinearUpdate, Odom/AngularUpdate
-added parameter Odom/FillInfoData
-expended OdometryInfo class with features stuff
Gui:
-show inliers/outliers features in Odometry view
This commit is contained in:
Mathieu Labbe
2014-12-18 16:54:46 -05:00
parent 744e2fb3c7
commit 86a6fe202c
17 changed files with 325 additions and 382 deletions
+14 -1
View File
@@ -40,7 +40,8 @@ public:
variance(-1),
features(-1),
localMapSize(-1),
time(0.0f)
time(-1),
type(-1)
{}
bool lost;
int matches;
@@ -49,6 +50,18 @@ public:
int features;
int localMapSize;
float time;
int type; // 0=BOW, 1=Optical Flow, 2=ICP
// BOW odometry
std::multimap<int, cv::KeyPoint> words;
std::vector<int> wordMatches;
std::vector<int> wordInliers;
// Optical Flow odometry
std::vector<cv::KeyPoint> refCorners;
std::vector<cv::KeyPoint> newCorners;
std::vector<int> cornerInliers;
};
}