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
c985ace2
Commit
c985ace2
authored
6 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
removed number_of_tracks_ from processor_tracker
parent
fe08cf8f
No related branches found
No related tags found
1 merge request
!274
Resolve "Emplace API inconsistent with ProcessorTrackerFeature/Landmark functions"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/core/processor/processor_tracker.h
+0
-12
0 additions, 12 deletions
include/core/processor/processor_tracker.h
src/processor/processor_tracker.cpp
+1
-3
1 addition, 3 deletions
src/processor/processor_tracker.cpp
with
1 addition
and
15 deletions
include/core/processor/processor_tracker.h
+
0
−
12
View file @
c985ace2
...
...
@@ -97,8 +97,6 @@ class ProcessorTracker : public ProcessorBase
FeatureBasePtrList
new_features_last_
;
///< List of new features in \b last for landmark initialization and new key-frame creation.
FeatureBasePtrList
new_features_incoming_
;
///< list of the new features of \b last successfully tracked in \b incoming
SizeStd
number_of_tracks_
;
public
:
ProcessorTracker
(
const
std
::
string
&
_type
,
ProcessorParamsTrackerPtr
_params_tracker
);
...
...
@@ -204,16 +202,6 @@ class ProcessorTracker : public ProcessorBase
FeatureBasePtrList
&
getNewFeaturesListLast
();
const
SizeStd
&
previousNumberOfTracks
()
const
{
return
number_of_tracks_
;
}
SizeStd
&
previousNumberOfTracks
()
{
return
number_of_tracks_
;
}
protected
:
void
computeProcessingStep
();
...
...
This diff is collapsed.
Click to expand it.
src/processor/processor_tracker.cpp
+
1
−
3
View file @
c985ace2
...
...
@@ -21,8 +21,7 @@ ProcessorTracker::ProcessorTracker(const std::string& _type,
processing_step_
(
FIRST_TIME_WITHOUT_PACK
),
origin_ptr_
(
nullptr
),
last_ptr_
(
nullptr
),
incoming_ptr_
(
nullptr
),
number_of_tracks_
(
0
)
incoming_ptr_
(
nullptr
)
{
//
}
...
...
@@ -251,7 +250,6 @@ void ProcessorTracker::process(CaptureBasePtr const _incoming_ptr)
break
;
}
number_of_tracks_
=
last_ptr_
->
getFeatureList
().
size
();
postProcess
();
}
...
...
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