Enabled esport to g2o even if not built with g2o support (export doesn't need the library)

This commit is contained in:
matlabbe
2016-09-28 16:07:01 -04:00
parent 8c05ae332c
commit a1593a69a4
3 changed files with 0 additions and 7 deletions

View File

@@ -73,12 +73,7 @@ bool exportPoses(
{
tmpPath+=".g2o";
}
#ifdef WITH_G2O
return OptimizerG2O::saveGraph(tmpPath, poses, constraints, g2oRobust);
#else
UERROR("Cannot export in g2o format because RTAB-Map is not built with g2o support!");
return false;
#endif
}
else
{