Tango: fixed bundle adjustment poses not used for export

This commit is contained in:
matlabbe
2017-03-16 11:47:04 -04:00
parent 5b08a69607
commit 69d174309d

View File

@@ -1962,9 +1962,7 @@ bool RTABMapApp::exportMesh(
try try
{ {
std::map<int, rtabmap::Transform> poses; std::map<int, rtabmap::Transform> poses = rtabmap_->getLocalOptimizedPoses();
std::multimap<int, rtabmap::Link> links;
rtabmap_->getGraph(poses, links, true, true);
int totalSteps = 0; int totalSteps = 0;
totalSteps+=poses.size(); // assemble totalSteps+=poses.size(); // assemble