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

added typedef for loopClosurFalko class

parent a7b3b977
No related branches found
No related tags found
1 merge request!4Resolve "Implementation of Falko lib"
This commit is part of merge request !4. Comments created here will be created in the context of that merge request.
...@@ -9,16 +9,22 @@ ...@@ -9,16 +9,22 @@
namespace laserscanutils{ namespace laserscanutils{
loopClosureFalko::loopClosureFalko(){} template <typename Extractor, typename Matcher>
loopClosureFalko::~loopClosureFalko(){} loopClosureFalko<Extractor, Matcher>::loopClosureFalko(){
/*
std::shared_ptr<cornerScene> loopClosureBase2d::extractScene(LaserScan &scan,LaserScanParams &scanParams){ }
template <typename Extractor, typename Matcher>
loopClosureFalko<Extractor, Matcher>::~loopClosureFalko(){}
template <typename Extractor, typename Matcher>
std::shared_ptr<cornerScene> loopClosureFalko<Extractor, Matcher>::extractScene(LaserScan &scan,LaserScanParams &scanParams){
auto NewScene=std::make_shared<cornerScene>(); auto NewScene=std::make_shared<cornerScene>();
return NewScene; return NewScene;
} }
*/
//void findLoopClosure(std::list<cornerScene>& scenes, const cornerScene newScene){} //void findLoopClosure(std::list<cornerScene>& scenes, const cornerScene newScene){}
......
...@@ -34,9 +34,12 @@ ...@@ -34,9 +34,12 @@
namespace laserscanutils namespace laserscanutils
{ {
typedef falkolib::BSCExtractor<falkolib::FALKO> bscExtractor;
typedef falkolib::NNMatcher<falkolib::FALKO> NNMatcher;
/** \brief A 2base class for loop closure using falko library /** \brief A base class for loop closure using falko library
*/ **/
template <typename Extractor, typename Matcher>
class loopClosureFalko{ class loopClosureFalko{
private: private:
...@@ -55,9 +58,10 @@ public: ...@@ -55,9 +58,10 @@ public:
/** \brief update the scene struct with keypoints and descriptors /** \brief update the scene struct with keypoints and descriptors
**/ **/
std::shared_ptr<cornerScene> extractScene(LaserScan &scan,LaserScanParams &scanParams){} std::shared_ptr<cornerScene> extractScene(LaserScan &scan,LaserScanParams &scanParams);
Extractor extractor;
Matcher matcher;
}; };
} /* namespace laserscanutils */ } /* namespace laserscanutils */
......
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