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"
......@@ -21,7 +21,7 @@ struct ProcessorParamsLoopClosure2 : public ProcessorParamsBase
*
* This is an abstract class.
* + You must define the following classes :
* - doProcessLoopClosure()
* - voteProcessLoopClosure()
* - addCapture()
* - findLoopCandidate()
* - createFactors()
......@@ -65,11 +65,11 @@ protected:
/** \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
*
* this method is called in process() if doProcessLoopClosure retruns true
* this method is called in process() if voteProcessLoopClosure retruns true
* this method uses :
* - selectPairKC()
* - addCapture()
......
......@@ -24,7 +24,7 @@ void ProcessorLoopClosureBase2::process(CaptureBasePtr _incoming_ptr)
// the pre-process, if necessary, is implemented in the derived classes
preProcess();
if (doProcessLoopClosure(_incoming_ptr))
if (voteProcessLoopClosure(_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