mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
DbViewer: fixed odom pose not added to odomPoses_ when a location doesn't have any links
This commit is contained in:
@@ -1559,7 +1559,7 @@ void DatabaseViewer::updateIds()
|
||||
previousPose=p;
|
||||
|
||||
//links
|
||||
bool addPose = false;
|
||||
bool addPose = links.find(ids_[i]) == links.end();
|
||||
for(std::multimap<int, Link>::iterator jter=links.find(ids_[i]); jter!=links.end() && jter->first == ids_[i]; ++jter)
|
||||
{
|
||||
if(jter->second.type() == Link::kNeighborMerged)
|
||||
|
||||
Reference in New Issue
Block a user