mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
PArameters: don't show usage with ORBSLAM2 parameters if not built with it.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user