Skip to content
Snippets Groups Projects
Commit 017ef007 authored by Sergi Pujol's avatar Sergi Pujol
Browse files

added parameters to loopClosureFalko constructor

parent 2910aa3f
No related branches found
No related tags found
1 merge request!4Resolve "Implementation of Falko lib"
......@@ -9,11 +9,23 @@
namespace laserscanutils{
//CONSTRUCTOR
template <typename Extractor, typename Matcher>
loopClosureFalko<Extractor, Matcher>::loopClosureFalko(){
// FALKO Extractor Parameters
setMinExtractionRange(0.1);
setMaxExtractionRange(25);
enableSubbeam(true);
setNMSRadius(0.1);
setNeighB(0.01);
setBRatio(4);
setGridSectors(16);
// Matcher Extractor Parameters
matcher.setDistanceThreshold(0.1);
}
// DESTRUCTOR
template <typename Extractor, typename Matcher>
loopClosureFalko<Extractor, Matcher>::~loopClosureFalko(){}
......
......@@ -40,7 +40,7 @@ typedef falkolib::NNMatcher<falkolib::FALKO> NNMatcher;
/** \brief A base class for loop closure using falko library
**/
template <typename Extractor, typename Matcher>
class loopClosureFalko{
class loopClosureFalko : public falkolib::FALKOExtractor{
private:
public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment