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
4de746cf
Commit
4de746cf
authored
2 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Remove setParams() from API
parent
96894090
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
+0
-2
0 additions, 2 deletions
include/vision/processor/processor_visual_odometry.h
src/processor/processor_visual_odometry.cpp
+0
-7
0 additions, 7 deletions
src/processor/processor_visual_odometry.cpp
with
0 additions
and
9 deletions
include/vision/processor/processor_visual_odometry.h
+
0
−
2
View file @
4de746cf
...
@@ -348,8 +348,6 @@ class ProcessorVisualOdometry : public ProcessorTracker, public MotionProvider
...
@@ -348,8 +348,6 @@ class ProcessorVisualOdometry : public ProcessorTracker, public MotionProvider
*/
*/
static
TracksMap
mergeTracks
(
const
TracksMap
&
tracks_prev_curr
,
const
TracksMap
&
tracks_curr_next
);
static
TracksMap
mergeTracks
(
const
TracksMap
&
tracks_prev_curr
,
const
TracksMap
&
tracks_curr_next
);
void
setParams
(
const
ParamsProcessorVisualOdometryPtr
_params
);
const
TrackMatrix
&
getTrackMatrix
()
const
{
return
track_matrix_
;}
const
TrackMatrix
&
getTrackMatrix
()
const
{
return
track_matrix_
;}
///////////////////////////////////////
///////////////////////////////////////
...
...
This diff is collapsed.
Click to expand it.
src/processor/processor_visual_odometry.cpp
+
0
−
7
View file @
4de746cf
...
@@ -596,13 +596,6 @@ void ProcessorVisualOdometry::resetDerived()
...
@@ -596,13 +596,6 @@ void ProcessorVisualOdometry::resetDerived()
tracks_map_li_matched_
.
clear
();
tracks_map_li_matched_
.
clear
();
}
}
void
ProcessorVisualOdometry
::
setParams
(
const
ParamsProcessorVisualOdometryPtr
_params
)
{
params_visual_odometry_
=
_params
;
}
TracksMap
ProcessorVisualOdometry
::
kltTrack
(
const
cv
::
Mat
_img_prev
,
const
cv
::
Mat
_img_curr
,
const
KeyPointsMap
&
_mwkps_prev
,
KeyPointsMap
&
_mwkps_curr
)
TracksMap
ProcessorVisualOdometry
::
kltTrack
(
const
cv
::
Mat
_img_prev
,
const
cv
::
Mat
_img_curr
,
const
KeyPointsMap
&
_mwkps_prev
,
KeyPointsMap
&
_mwkps_curr
)
{
{
if
(
_mwkps_prev
.
empty
())
return
TracksMap
();
if
(
_mwkps_prev
.
empty
())
return
TracksMap
();
...
...
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