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
45567edc
Commit
45567edc
authored
2 years ago
by
Mederic Fourmy
Browse files
Options
Downloads
Patches
Plain Diff
Remove print and add comment
parent
d88ade8e
No related branches found
No related tags found
1 merge request
!38
Draft: Resolve "Improve visual odometry"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/vision/processor/processor_visual_odometry.h
+5
-0
5 additions, 0 deletions
include/vision/processor/processor_visual_odometry.h
src/processor/processor_visual_odometry.cpp
+0
-1
0 additions, 1 deletion
src/processor/processor_visual_odometry.cpp
with
5 additions
and
1 deletion
include/vision/processor/processor_visual_odometry.h
+
5
−
0
View file @
45567edc
...
@@ -352,6 +352,9 @@ class ProcessorVisualOdometry : public ProcessorTracker, public MotionProvider
...
@@ -352,6 +352,9 @@ class ProcessorVisualOdometry : public ProcessorTracker, public MotionProvider
const
TrackMatrix
&
getTrackMatrix
()
const
{
return
track_matrix_
;}
const
TrackMatrix
&
getTrackMatrix
()
const
{
return
track_matrix_
;}
///////////////////////////////////////
// MotionProvider related methods
VectorComposite
getStateFromRelativeOriginLast
(
VectorComposite
co_pose_cl
)
const
;
VectorComposite
getStateFromRelativeOriginLast
(
VectorComposite
co_pose_cl
)
const
;
static
VectorComposite
pose_from_essential_matrix
(
const
cv
::
Mat
&
_E
,
static
VectorComposite
pose_from_essential_matrix
(
const
cv
::
Mat
&
_E
,
...
@@ -359,6 +362,8 @@ class ProcessorVisualOdometry : public ProcessorTracker, public MotionProvider
...
@@ -359,6 +362,8 @@ class ProcessorVisualOdometry : public ProcessorTracker, public MotionProvider
const
std
::
vector
<
cv
::
Point2d
>&
p2d_curr
,
const
std
::
vector
<
cv
::
Point2d
>&
p2d_curr
,
const
cv
::
Mat
&
_K
,
const
cv
::
Mat
&
_K
,
cv
::
Mat
&
cvMask
);
cv
::
Mat
&
cvMask
);
///////////////////////////////////////
/** \brief sequence of heuristics to decide if a track is worthy of becoming a landmark
/** \brief sequence of heuristics to decide if a track is worthy of becoming a landmark
*
*
...
...
This diff is collapsed.
Click to expand it.
src/processor/processor_visual_odometry.cpp
+
0
−
1
View file @
45567edc
...
@@ -375,7 +375,6 @@ void ProcessorVisualOdometry::establishFactors()
...
@@ -375,7 +375,6 @@ void ProcessorVisualOdometry::establishFactors()
// 2) create a landmark if the track is not associated with one and meets certain criterias
// 2) create a landmark if the track is not associated with one and meets certain criterias
else
if
(
new_landmark_is_viable
(
feat
->
trackId
()))
else
if
(
new_landmark_is_viable
(
feat
->
trackId
()))
{
{
WOLF_INFO
(
" NEW valid track
\\
o/"
)
Track
track_kf
=
track_matrix_
.
trackAtKeyframes
(
feat
->
trackId
());
Track
track_kf
=
track_matrix_
.
trackAtKeyframes
(
feat
->
trackId
());
// LandmarkBasePtr lmk = emplaceLandmarkTriangulation(feat_pi, track_kf);
// LandmarkBasePtr lmk = emplaceLandmarkTriangulation(feat_pi, track_kf);
...
...
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