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

Rename doProcessLoopClosure to voteProcessLoopClosure

parent 348d0093
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 ...@@ -21,7 +21,7 @@ struct ProcessorParamsLoopClosure2 : public ProcessorParamsBase
* *
* This is an abstract class. * This is an abstract class.
* + You must define the following classes : * + You must define the following classes :
* - doProcessLoopClosure() * - voteProcessLoopClosure()
* - addCapture() * - addCapture()
* - findLoopCandidate() * - findLoopCandidate()
* - createFactors() * - createFactors()
...@@ -65,11 +65,11 @@ protected: ...@@ -65,11 +65,11 @@ protected:
/** \brief Called by process(). Tells if processLoopClosure will be called /** \brief Called by process(). Tells if processLoopClosure will be called
*/ */
virtual bool doProcessLoopClosure(CaptureBasePtr _incoming_ptr) = 0; virtual bool voteProcessLoopClosure(CaptureBasePtr _incoming_ptr) = 0;
/** \brief Tries to close a loop /** \brief Tries to close a loop
* *
* this method is called in process() if doProcessLoopClosure retruns true * this method is called in process() if voteProcessLoopClosure retruns true
* this method uses : * this method uses :
* - selectPairKC() * - selectPairKC()
* - addCapture() * - addCapture()
......
...@@ -24,7 +24,7 @@ void ProcessorLoopClosureBase2::process(CaptureBasePtr _incoming_ptr) ...@@ -24,7 +24,7 @@ void ProcessorLoopClosureBase2::process(CaptureBasePtr _incoming_ptr)
// the pre-process, if necessary, is implemented in the derived classes // the pre-process, if necessary, is implemented in the derived classes
preProcess(); preProcess();
if (doProcessLoopClosure(_incoming_ptr)) if (voteProcessLoopClosure(_incoming_ptr))
{ {
//CREAT_THREAD(function=processLoopClosure); //CREAT_THREAD(function=processLoopClosure);
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