Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
8a905571
Commit
8a905571
authored
6 years ago
by
PierreGtch
Browse files
Options
Downloads
Patches
Plain Diff
Rename doProcessLoopClosure to voteProcessLoopClosure
parent
348d0093
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!290
Resolve "ProcessorLoopClosureBase class"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/core/processor/processor_loopclosure_base2.h
+3
-3
3 additions, 3 deletions
include/core/processor/processor_loopclosure_base2.h
src/processor/processor_loopclosure_base2.cpp
+1
-1
1 addition, 1 deletion
src/processor/processor_loopclosure_base2.cpp
with
4 additions
and
4 deletions
include/core/processor/processor_loopclosure_base2.h
+
3
−
3
View file @
8a905571
...
...
@@ -21,7 +21,7 @@ struct ProcessorParamsLoopClosure2 : public ProcessorParamsBase
*
* This is an abstract class.
* + You must define the following classes :
* -
do
ProcessLoopClosure()
* -
vote
ProcessLoopClosure()
* - addCapture()
* - findLoopCandidate()
* - createFactors()
...
...
@@ -65,11 +65,11 @@ protected:
/** \brief Called by process(). Tells if processLoopClosure will be called
*/
virtual
bool
do
ProcessLoopClosure
(
CaptureBasePtr
_incoming_ptr
)
=
0
;
virtual
bool
vote
ProcessLoopClosure
(
CaptureBasePtr
_incoming_ptr
)
=
0
;
/** \brief Tries to close a loop
*
* this method is called in process() if
do
ProcessLoopClosure retruns true
* this method is called in process() if
vote
ProcessLoopClosure retruns true
* this method uses :
* - selectPairKC()
* - addCapture()
...
...
This diff is collapsed.
Click to expand it.
src/processor/processor_loopclosure_base2.cpp
+
1
−
1
View file @
8a905571
...
...
@@ -24,7 +24,7 @@ void ProcessorLoopClosureBase2::process(CaptureBasePtr _incoming_ptr)
// the pre-process, if necessary, is implemented in the derived classes
preProcess
();
if
(
do
ProcessLoopClosure
(
_incoming_ptr
))
if
(
vote
ProcessLoopClosure
(
_incoming_ptr
))
{
//CREAT_THREAD(function=processLoopClosure);
processLoopClosure
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment