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

added class loopClosureFalko

parent 4c532674
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.
...@@ -66,6 +66,7 @@ SET(HDRS ...@@ -66,6 +66,7 @@ SET(HDRS
IF(falkolib_FOUND) IF(falkolib_FOUND)
SET(HDRS ${HDRS} SET(HDRS ${HDRS}
corner_falko_2d.h corner_falko_2d.h
loop_closure_falko.h
corner_scene.h) corner_scene.h)
ENDIF(falkolib_FOUND) ENDIF(falkolib_FOUND)
...@@ -96,6 +97,7 @@ SET(SRCS ...@@ -96,6 +97,7 @@ SET(SRCS
IF(falkolib_FOUND) IF(falkolib_FOUND)
SET(SRCS ${SRCS} SET(SRCS ${SRCS}
corner_falko_2d.cpp corner_falko_2d.cpp
loop_closure_falko.cpp
corner_scene.cpp) corner_scene.cpp)
ENDIF(falkolib_FOUND) ENDIF(falkolib_FOUND)
......
/**
* \file loop_closure_base_2d.h
*
* Created on: Feb 9, 2021
* \author: spujol
*/
# include "loop_closure_falko.h"
namespace laserscanutils{
loopClosureFalko::loopClosureFalko(){}
loopClosureFalko::~loopClosureFalko(){}
/*
std::shared_ptr<cornerScene> loopClosureBase2d::extractScene(LaserScan &scan,LaserScanParams &scanParams){
auto NewScene=std::make_shared<cornerScene>();
return NewScene;
}
*/
//void findLoopClosure(std::list<cornerScene>& scenes, const cornerScene newScene){}
}
/**
* \file loop_closure_base_2d.h
*
* Created on: Feb 9, 2021
* \author: spujol
*/
#ifndef LOOP_CLOSURE_FALKO_H_
#define LOOP_CLOSURE_FALKO_H_
#include <iostream>
#include <fstream>
#include <memory>
/**************************
* laser_scan_utils includes *
**************************/
#include "laser_scan.h"
#include "corner_scene.h"
/**************************
* Falko includes *
**************************/
#include <falkolib/Feature/FALKO.h>
#include <falkolib/Feature/CGH.h>
#include <falkolib/Feature/BSC.h>
#include <falkolib/Feature/FALKOExtractor.h>
#include <falkolib/Feature/BSCExtractor.h>
#include <falkolib/Feature/CGHExtractor.h>
#include <falkolib/Matching/NNMatcher.h>
#include <falkolib/Matching/AHTMatcher.h>
namespace laserscanutils
{
/** \brief A 2base class for loop closure using falko library
*/
class loopClosureFalko{
private:
public:
/** \brief Constructor
**/
loopClosureFalko();
/** \brief Destructor
**/
~loopClosureFalko();
/** \brief compare new scans against the trained set in order to find loop closures
**/
void findLoopClosure(std::list<cornerScene>& scenes, const cornerScene newScene){}
/** \brief update the scene struct with keypoints and descriptors
**/
std::shared_ptr<cornerScene> extractScene(LaserScan &scan,LaserScanParams &scanParams){}
};
} /* namespace laserscanutils */
#endif /* LOOP_CLOSURE_FALKO_H_ */
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