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
8b81e574
Commit
8b81e574
authored
5 years ago
by
Médéric Fourmy
Browse files
Options
Downloads
Patches
Plain Diff
Replaced empty list assert statements by clearing the corresponding lists
parent
267e72f0
No related branches found
No related tags found
1 merge request
!297
`ProcessorTrackerLandmark::processNew: Replaced empty list assert statements by clearing the corresponding lists
Pipeline
#3840
passed
5 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/processor/processor_tracker_landmark.cpp
+4
-4
4 additions, 4 deletions
src/processor/processor_tracker_landmark.cpp
with
4 additions
and
4 deletions
src/processor/processor_tracker_landmark.cpp
+
4
−
4
View file @
8b81e574
...
@@ -73,10 +73,10 @@ unsigned int ProcessorTrackerLandmark::processNew(const int& _max_features)
...
@@ -73,10 +73,10 @@ unsigned int ProcessorTrackerLandmark::processNew(const int& _max_features)
* When done, we need to find these new Landmarks in the incoming Capture.
* When done, we need to find these new Landmarks in the incoming Capture.
*/
*/
//
assuming cleared
new lists
// new lists
cleared
assert
(
new_features_last_
.
empty
()
);
new_features_last_
.
clear
(
);
assert
(
new_features_incoming_
.
empty
()
);
new_features_incoming_
.
clear
(
);
assert
(
new_landmarks_
.
empty
()
);
new_landmarks_
.
clear
(
);
// We first need to populate the \b last Capture with new Features
// We first need to populate the \b last Capture with new Features
unsigned
int
n
=
detectNewFeatures
(
_max_features
,
unsigned
int
n
=
detectNewFeatures
(
_max_features
,
...
...
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