Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vision
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
plugins
vision
Commits
3066aa55
Commit
3066aa55
authored
3 years ago
by
Mederic Fourmy
Browse files
Options
Downloads
Patches
Plain Diff
[skip-ci] Minor comment added
parent
d638c952
No related branches found
No related tags found
1 merge request
!38
Draft: Resolve "Improve visual odometry"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/processor/processor_visual_odometry.cpp
+3
-2
3 additions, 2 deletions
src/processor/processor_visual_odometry.cpp
with
3 additions
and
2 deletions
src/processor/processor_visual_odometry.cpp
+
3
−
2
View file @
3066aa55
...
...
@@ -243,7 +243,6 @@ unsigned int ProcessorVisualOdometry::processKnown()
// if this feature id is in the last->incoming tracks of capture incoming, the track is continued
// the matched pairs are stored in tracks_map_li_matched_ which is used in processNew to select the point that have NOT been match as "new"
TracksMap
tracks_map_li
=
capture_image_incoming_
->
getTracksPrev
();
if
(
tracks_map_li
.
count
(
id_feat_last
)){
auto
kp_track_li
=
tracks_map_li
.
find
(
id_feat_last
);
...
...
@@ -827,7 +826,9 @@ void ProcessorVisualOdometry::filter_last_incoming_tracks_from_ransac_result(con
O ---------------------> I
to filter last -> incoming track (and tracked keypoint map in incoming)
L -------> I
based of the tracks alive after RANSAC check on O --> I
based of the tracks alive after RANSAC check on origin -> incoming
O ---------------------> I
This ugly double loop is due to the fact that features ids in Incoming are in the "values" of both maps, which requires linear search.
Ideally, this may be solved a Boost.Bimap.
...
...
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