mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Fixed a bug on Bayes prediction generation (duplicated margins)
This commit is contained in:
@@ -273,7 +273,7 @@ cv::Mat BayesFilter::generatePrediction(const Memory * memory, const std::vector
|
|||||||
{
|
{
|
||||||
if(iter->second == 0)
|
if(iter->second == 0)
|
||||||
{
|
{
|
||||||
idsLoopMargin.push_back(iter->second);
|
idsLoopMargin.push_back(iter->first);
|
||||||
}
|
}
|
||||||
++iter;
|
++iter;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user