Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
laser
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
laser
Commits
c22d42ec
Commit
c22d42ec
authored
5 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
couts
parent
2c4e7b2e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/processor/processor_tracker_feature_polyline_2D.cpp
+4
-4
4 additions, 4 deletions
src/processor/processor_tracker_feature_polyline_2D.cpp
with
4 additions
and
4 deletions
src/processor/processor_tracker_feature_polyline_2D.cpp
+
4
−
4
View file @
c22d42ec
...
@@ -437,7 +437,7 @@ unsigned int ProcessorTrackerFeaturePolyline2D::detectNewFeatures(const int& _ma
...
@@ -437,7 +437,7 @@ unsigned int ProcessorTrackerFeaturePolyline2D::detectNewFeatures(const int& _ma
void
ProcessorTrackerFeaturePolyline2D
::
establishFactors
()
void
ProcessorTrackerFeaturePolyline2D
::
establishFactors
()
{
{
//
WOLF_DEBUG("PTFP ", getName(), "::establishFactors: ");
WOLF_DEBUG
(
"PTFP "
,
getName
(),
"::establishFactors: "
);
unsigned
int
N_factors
=
0
;
unsigned
int
N_factors
=
0
;
// Create a factor for each match in last features
// Create a factor for each match in last features
...
@@ -456,11 +456,11 @@ void ProcessorTrackerFeaturePolyline2D::establishFactors()
...
@@ -456,11 +456,11 @@ void ProcessorTrackerFeaturePolyline2D::establishFactors()
// WOLF_DEBUG("\tLandmark changed?");
// WOLF_DEBUG("\tLandmark changed?");
if
(
lmk_match
->
isDeprecated
())
if
(
lmk_match
->
isDeprecated
())
{
{
//
WOLF_DEBUG("\tLandmark changed or was merged");
WOLF_DEBUG
(
"
\t
Landmark changed or was merged
, trying to update...
"
);
// not successful update
// not successful update
if
(
!
updateLandmarkMatch
(
lmk_match
))
if
(
!
updateLandmarkMatch
(
lmk_match
))
{
{
// std::cout << "\t\tNo
t success
:
removing feature
" << pl_ftr->id() << " and landmark match\n"
;
WOLF_DEBUG
(
"
\t
Update didn'
t succe
e
ss
,
removing feature
..."
)
;
// remove from match map
// remove from match map
landmark_match_map_
.
erase
(
ftr
);
landmark_match_map_
.
erase
(
ftr
);
// remove feature
// remove feature
...
@@ -475,7 +475,7 @@ void ProcessorTrackerFeaturePolyline2D::establishFactors()
...
@@ -475,7 +475,7 @@ void ProcessorTrackerFeaturePolyline2D::establishFactors()
// WOLF_DEBUG("\tLandmark removed?");
// WOLF_DEBUG("\tLandmark removed?");
if
(
pl_lmk
->
isRemoving
())
if
(
pl_lmk
->
isRemoving
())
{
{
// std::cout << "\t
\tLandmark was removed
:
removing feature
" << pl_ftr->id() << " and landmark match\n"
;
WOLF_DEBUG
(
"
\t
Landmark was removed
,
removing feature
..."
)
;
// remove from match map
// remove from match map
landmark_match_map_
.
erase
(
ftr
);
landmark_match_map_
.
erase
(
ftr
);
// remove feature
// remove feature
...
...
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