mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Enabled esport to g2o even if not built with g2o support (export doesn't need the library)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user