BayesFilter: improved performance when prediction didn't change or only a new id is appended to prediction. Memory: fixed seg fault when using local bundle adjustment on loop closure and memory management is enabled.

This commit is contained in:
matlabbe
2018-11-06 14:45:57 -05:00
parent 1784a0877f
commit 71ae076b44
3 changed files with 110 additions and 72 deletions

View File

@@ -76,6 +76,7 @@ private:
std::vector<double> _predictionLC; // {Vp, Lc, l1, l2, l3, l4...}
bool _fullPredictionUpdate;
float _totalPredictionLCValues;
float _predictionEpsilon;
std::map<int, std::map<int, int> > _neighborsIndex;
};