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

added function match

parent df3776e7
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.
...@@ -31,7 +31,6 @@ namespace laserscanutils{ ...@@ -31,7 +31,6 @@ namespace laserscanutils{
} }
// DESTRUCTOR // DESTRUCTOR
template <typename D,typename Extr, typename M> template <typename D,typename Extr, typename M>
loopClosureFalko<D,Extr,M>::~loopClosureFalko(){} loopClosureFalko<D,Extr,M>::~loopClosureFalko(){}
...@@ -56,6 +55,10 @@ namespace laserscanutils{ ...@@ -56,6 +55,10 @@ namespace laserscanutils{
return newScene; return newScene;
} }
template <typename D,typename Extr, typename M>
typename loopClosureFalko<D,Extr, M>::matchLoopClosurePtr matchScene(std::shared_ptr<sceneFalko<D>> scene1,LaserScanParams &scanParams){
}
//void findLoopClosure(std::list<sceneFalko>& scenes, const cornerScene newScene){} //void findLoopClosure(std::list<sceneFalko>& scenes, const cornerScene newScene){}
......
...@@ -79,7 +79,7 @@ public: ...@@ -79,7 +79,7 @@ public:
/** \brief Convert scans from laserscanutils::LaserScan to falkolib::LaserScan object /** \brief Convert scans from laserscanutils::LaserScan to falkolib::LaserScan object
**/ **/
matchLoopClosurePtr matchScene(LaserScan &scan,LaserScanParams &scanParams); matchLoopClosurePtr matchScene(sceneFalkoBSCPtr scene1 ,LaserScanParams &scanParams);
}; };
......
...@@ -24,6 +24,7 @@ template <typename D> ...@@ -24,6 +24,7 @@ template <typename D>
struct matchLoopClosure{ struct matchLoopClosure{
//std::shared_ptr<sceneFalko<D>> scene1; //std::shared_ptr<sceneFalko<D>> scene1;
//std::shared_ptr<sceneFalko<D>> scene2; //std::shared_ptr<sceneFalko<D>> scene2;
// tuple that stores the pointers of two matched scenes // tuple that stores the pointers of two matched scenes
std::tuple<std::shared_ptr<sceneFalko<D>>, std::shared_ptr<sceneFalko<D>>> sceneTuple; std::tuple<std::shared_ptr<sceneFalko<D>>, std::shared_ptr<sceneFalko<D>>> sceneTuple;
bool match; bool match;
......
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