mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +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;
|
ignore = true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
#ifndef RTABMAP_VISO2
|
||||||
|
if(group.compare("OdomORBSLAM2") == 0)
|
||||||
|
{
|
||||||
|
ignore = true;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
if(!ignore)
|
if(!ignore)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user