Fixed build without SuperGlue

This commit is contained in:
matlabbe
2020-05-09 21:41:38 -04:00
parent 91285e5e97
commit c44837a4cb
2 changed files with 6 additions and 5 deletions

View File

@@ -79,8 +79,11 @@ RegistrationVis::RegistrationVis(const ParametersMap & parameters, Registration
_minInliersDistributionThr(Parameters::defaultVisMinInliersDistribution()),
_maxInliersMeanDistance(Parameters::defaultVisMeanInliersDistance()),
_detectorFrom(0),
_detectorTo(0),
_detectorTo(0)
#ifdef RTABMAP_SUPERGLUE_PYTORCH
,
_superGlueMatcher(0)
#endif
{
_featureParameters = Parameters::getDefaultParameters();
uInsert(_featureParameters, ParametersPair(Parameters::kKpNNStrategy(), _featureParameters.at(Parameters::kVisCorNNType())));