Skip to content
Snippets Groups Projects
Commit fa19e351 authored by PierreGtch's avatar PierreGtch
Browse files

Rename voteProcessLoopClosure to voteSearchLoopClosure in ProcessorLoopClosureBase2

parent 8c21f472
No related branches found
No related tags found
1 merge request!290Resolve "ProcessorLoopClosureBase class"
This commit is part of merge request !290. Comments created here will be created in the context of that merge request.
......@@ -21,7 +21,7 @@ struct ProcessorParamsLoopClosure2 : public ProcessorParamsBase
*
* This is an abstract class.
* + You must define the following classes :
* - voteProcessLoopClosure()
* - voteSearchLoopClosure()
* - computeFeatures()
* - findLoopCandidate()
* - createFactors()
......@@ -65,11 +65,11 @@ protected:
/** \brief Called by process(). Tells if processLoopClosure will be called
*/
virtual bool voteProcessLoopClosure(CaptureBasePtr _incoming_ptr) = 0;
virtual bool voteSearchLoopClosure(CaptureBasePtr _incoming_ptr) = 0;
/** \brief Tries to close a loop
*
* this method is called in process() if voteProcessLoopClosure retruns true
* this method is called in process() if voteSearchLoopClosure retruns true
* this method uses :
* - selectPairKC()
* - computeFeatures()
......@@ -93,7 +93,7 @@ protected:
* the computations to create thies featrues must be done here
*
* In this method you should add the capture to the keyframe if necessary
* and add the features to the capture
* and add the features to the capture
*/
virtual void computeFeatures(std::pair<FrameBasePtr,CaptureBasePtr>) = 0;
......
......@@ -24,7 +24,7 @@ void ProcessorLoopClosureBase2::process(CaptureBasePtr _incoming_ptr)
// the pre-process, if necessary, is implemented in the derived classes
preProcess();
if (voteProcessLoopClosure(_incoming_ptr))
if (voteSearchLoopClosure(_incoming_ptr))
{
//CREAT_THREAD(function=processLoopClosure);
processLoopClosure();
......
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