PArameters: don't show usage with ORBSLAM2 parameters if not built with it.

This commit is contained in:
matlabbe
2017-06-05 19:10:04 -04:00
parent c4ca6a0bac
commit 26147c97cf

View File

@@ -646,6 +646,12 @@ ParametersMap Parameters::parseArguments(int argc, char * argv[], bool onlyParam
{
ignore = true;
}
#endif
#ifndef RTABMAP_VISO2
if(group.compare("OdomORBSLAM2") == 0)
{
ignore = true;
}
#endif
if(!ignore)
{