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
fa19e351
Commit
fa19e351
authored
6 years ago
by
PierreGtch
Browse files
Options
Downloads
Patches
Plain Diff
Rename voteProcessLoopClosure to voteSearchLoopClosure in ProcessorLoopClosureBase2
parent
8c21f472
No related branches found
No related tags found
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
+4
-4
4 additions, 4 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
5 additions
and
5 deletions
include/core/processor/processor_loopclosure_base2.h
+
4
−
4
View file @
fa19e351
...
...
@@ -21,7 +21,7 @@ struct ProcessorParamsLoopClosure2 : public ProcessorParamsBase
*
* This is an abstract class.
* + You must define the following classes :
* - vote
Process
LoopClosure()
* - vote
Search
LoopClosure()
* - computeFeatures()
* - findLoopCandidate()
* - createFactors()
...
...
@@ -65,11 +65,11 @@ protected:
/** \brief Called by process(). Tells if processLoopClosure will be called
*/
virtual
bool
vote
Process
LoopClosure
(
CaptureBasePtr
_incoming_ptr
)
=
0
;
virtual
bool
vote
Search
LoopClosure
(
CaptureBasePtr
_incoming_ptr
)
=
0
;
/** \brief Tries to close a loop
*
* this method is called in process() if vote
Process
LoopClosure retruns true
* this method is called in process() if vote
Search
LoopClosure 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
;
...
...
This diff is collapsed.
Click to expand it.
src/processor/processor_loopclosure_base2.cpp
+
1
−
1
View file @
fa19e351
...
...
@@ -24,7 +24,7 @@ void ProcessorLoopClosureBase2::process(CaptureBasePtr _incoming_ptr)
// the pre-process, if necessary, is implemented in the derived classes
preProcess
();
if
(
vote
Process
LoopClosure
(
_incoming_ptr
))
if
(
vote
Search
LoopClosure
(
_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