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
990e9928
Commit
990e9928
authored
7 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Remove debug info
parent
7c3a19dc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!187
Sensors api
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/frame_base.cpp
+1
-1
1 addition, 1 deletion
src/frame_base.cpp
src/processor_tracker_feature.cpp
+8
-8
8 additions, 8 deletions
src/processor_tracker_feature.cpp
with
9 additions
and
9 deletions
src/frame_base.cpp
+
1
−
1
View file @
990e9928
...
@@ -136,7 +136,7 @@ void FrameBase::setKey()
...
@@ -136,7 +136,7 @@ void FrameBase::setKey()
getTrajectoryPtr
()
->
sortFrame
(
shared_from_this
());
getTrajectoryPtr
()
->
sortFrame
(
shared_from_this
());
WOLF_DEBUG
(
"Set KF"
,
this
->
id
());
//
WOLF_DEBUG("Set KF", this->id());
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
src/processor_tracker_feature.cpp
+
8
−
8
View file @
990e9928
...
@@ -33,7 +33,7 @@ unsigned int ProcessorTrackerFeature::processNew(const unsigned int& _max_new_fe
...
@@ -33,7 +33,7 @@ unsigned int ProcessorTrackerFeature::processNew(const unsigned int& _max_new_fe
for
(
auto
ftr
:
new_features_last_
)
for
(
auto
ftr
:
new_features_last_
)
{
{
ftr
->
setTrackId
(
ftr
->
id
()
);
ftr
->
setTrackId
(
ftr
->
id
()
);
WOLF_DEBUG
(
"Det track: "
,
ftr
->
trackId
(),
", last: "
,
ftr
->
id
());
//
WOLF_DEBUG("Det track: ", ftr->trackId(), ", last: ", ftr->id());
}
}
// Track new features from last to incoming. This will append new correspondences to matches_last_incoming
// Track new features from last to incoming. This will append new correspondences to matches_last_incoming
...
@@ -43,7 +43,7 @@ unsigned int ProcessorTrackerFeature::processNew(const unsigned int& _max_new_fe
...
@@ -43,7 +43,7 @@ unsigned int ProcessorTrackerFeature::processNew(const unsigned int& _max_new_fe
ftr
->
setTrackId
(
matches_last_from_incoming_
[
ftr
]
->
feature_ptr_
->
trackId
());
ftr
->
setTrackId
(
matches_last_from_incoming_
[
ftr
]
->
feature_ptr_
->
trackId
());
// Print new tracked features
// Print new tracked features
WOLF_DEBUG
(
"New track: "
,
ftr
->
trackId
(),
", last: "
,
matches_last_from_incoming_
[
ftr
]
->
feature_ptr_
->
id
(),
", inc: "
,
ftr
->
id
());
//
WOLF_DEBUG("New track: ", ftr->trackId(), ", last: ", matches_last_from_incoming_[ftr]->feature_ptr_->id(), ", inc: ", ftr->id());
}
}
// Append all new Features to the incoming Captures' list of Features
// Append all new Features to the incoming Captures' list of Features
...
@@ -94,7 +94,7 @@ unsigned int ProcessorTrackerFeature::processKnown()
...
@@ -94,7 +94,7 @@ unsigned int ProcessorTrackerFeature::processKnown()
// Print resulting list of matches
// Print resulting list of matches
for
(
auto
match
:
matches_last_from_incoming_
)
for
(
auto
match
:
matches_last_from_incoming_
)
{
{
WOLF_DEBUG
(
"Known track: "
,
match
.
first
->
trackId
(),
", last: "
,
match
.
second
->
feature_ptr_
->
id
(),
", inc: "
,
match
.
first
->
id
());
//
WOLF_DEBUG("Known track: ", match.first->trackId(), ", last: ", match.second->feature_ptr_->id(), ", inc: ", match.first->id());
}
}
return
matches_last_from_incoming_
.
size
();
return
matches_last_from_incoming_
.
size
();
...
@@ -117,7 +117,7 @@ void ProcessorTrackerFeature::advanceDerived()
...
@@ -117,7 +117,7 @@ void ProcessorTrackerFeature::advanceDerived()
// Print resulting list
// Print resulting list
for
(
auto
match
:
matches_origin_from_last_
)
for
(
auto
match
:
matches_origin_from_last_
)
{
{
WOLF_DEBUG
(
"Matches advanced: track: "
,
match
.
first
->
trackId
(),
"-"
,
match
.
second
->
feature_ptr_
->
trackId
(),
" origin: "
,
match
.
second
->
feature_ptr_
->
id
(),
" last: "
,
match
.
first
->
id
());
//
WOLF_DEBUG("Matches advanced: track: ", match.first->trackId(), "-", match.second->feature_ptr_->trackId(), " origin: ", match.second->feature_ptr_->id(), " last: ", match.first->id());
}
}
}
}
...
@@ -133,7 +133,7 @@ void ProcessorTrackerFeature::resetDerived()
...
@@ -133,7 +133,7 @@ void ProcessorTrackerFeature::resetDerived()
// Print resulting list
// Print resulting list
for
(
auto
match
:
matches_origin_from_last_
)
for
(
auto
match
:
matches_origin_from_last_
)
{
{
WOLF_DEBUG
(
"Matches reset: track: "
,
match
.
first
->
trackId
(),
"-"
,
match
.
second
->
feature_ptr_
->
trackId
(),
" origin: "
,
match
.
second
->
feature_ptr_
->
id
(),
" last: "
,
match
.
first
->
id
());
//
WOLF_DEBUG("Matches reset: track: ", match.first->trackId(), "-", match.second->feature_ptr_->trackId(), " origin: ", match.second->feature_ptr_->id(), " last: ", match.first->id());
}
}
}
}
...
@@ -147,9 +147,9 @@ void ProcessorTrackerFeature::establishConstraints()
...
@@ -147,9 +147,9 @@ void ProcessorTrackerFeature::establishConstraints()
}
}
for
(
auto
match
:
matches_origin_from_last_
)
for
(
auto
match
:
matches_origin_from_last_
)
{
{
WOLF_DEBUG
(
"Constraint: track: "
,
match
.
second
->
feature_ptr_
->
trackId
()
,
//
WOLF_DEBUG( "Constraint: track: " , match.second->feature_ptr_->trackId() ,
" origin: "
,
match
.
second
->
feature_ptr_
->
id
()
,
//
" origin: " , match.second->feature_ptr_->id() ,
" from last: "
,
match
.
first
->
id
()
);
//
" from last: " , match.first->id() );
}
}
}
}
...
...
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