Tango: fixed map not optimized when opening a database

This commit is contained in:
matlabbe
2016-11-25 16:05:14 -05:00
parent 22089a9e45
commit da1cac1e55
2 changed files with 2 additions and 2 deletions

View File

@@ -700,7 +700,7 @@ int RTABMapApp::Render()
}
std::map<int, rtabmap::Transform> poses;
std::multimap<int, rtabmap::Link> links;
rtabmap_->getGraph(poses, links, false, true);
rtabmap_->getGraph(poses, links, true, true);
if(gainCompensationOnNextRender_ == 2)
{
// full compensation