Resolve "Emplace API inconsistent with ProcessorTrackerFeature/Landmark functions"
Merged
requested to merge 191-emplace-api-inconsistent-with-processortrackerfeature-landmark-functions into devel
Compare changes
Files
4- Joan Vallvé Navarro authored
@@ -113,19 +113,29 @@ class ProcessorTrackerFeature : public ProcessorTracker
@@ -113,19 +113,29 @@ class ProcessorTrackerFeature : public ProcessorTracker
* \param _feature_correspondences returned map of correspondences: _feature_correspondences[feature_out_ptr] = feature_in_ptr
virtual unsigned int trackFeatures(const FeatureBasePtrList& _features_last_in, FeatureBasePtrList& _features_incoming_out, FeatureMatchMap& _feature_correspondences) = 0;
/** \brief Correct the drift in incoming feature by re-comparing against the corresponding feature in origin.
virtual bool correctFeatureDrift(const FeatureBasePtr _origin_feature, const FeatureBasePtr _last_feature, FeatureBasePtr _incoming_feature) = 0;
@@ -147,25 +157,30 @@ class ProcessorTrackerFeature : public ProcessorTracker
@@ -147,25 +157,30 @@ class ProcessorTrackerFeature : public ProcessorTracker
* The function is called in ProcessorTrackerFeature::processNew() to set the member new_features_last_,
virtual unsigned int detectNewFeatures(const int& _max_new_features, FeatureBasePtrList& _features_last_out) = 0;
virtual FactorBasePtr createFactor(FeatureBasePtr _feature_ptr, FeatureBasePtr _feature_other_ptr) = 0;