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
c4bfa85c
Commit
c4bfa85c
authored
2 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Improve info messages in PM
parent
9fefe6b6
No related branches found
No related tags found
1 merge request
!466
devel->main
Pipeline
#12737
passed
2 years ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/processor/processor_motion.cpp
+5
-5
5 additions, 5 deletions
src/processor/processor_motion.cpp
with
5 additions
and
5 deletions
src/processor/processor_motion.cpp
+
5
−
5
View file @
c4bfa85c
...
@@ -995,23 +995,23 @@ FrameBasePtr ProcessorMotion::computeProcessingStep()
...
@@ -995,23 +995,23 @@ FrameBasePtr ProcessorMotion::computeProcessingStep()
if
(
checkTimeTolerance
(
keyframe_from_callback
,
if
(
checkTimeTolerance
(
keyframe_from_callback
,
incoming_ptr_
))
incoming_ptr_
))
{
{
WOLF_DEBUG
(
"First time with a KF compatible."
)
WOLF_DEBUG
(
"
PM "
,
getName
(),
":
First time with a KF compatible."
)
processing_step_
=
FIRST_TIME_WITH_KF_ON_INCOMING
;
processing_step_
=
FIRST_TIME_WITH_KF_ON_INCOMING
;
}
}
else
if
(
keyframe_from_callback
->
getTimeStamp
()
<
incoming_ptr_
->
getTimeStamp
())
else
if
(
keyframe_from_callback
->
getTimeStamp
()
<
incoming_ptr_
->
getTimeStamp
())
{
{
WOLF_DEBUG
(
"First time with a KF too old. It seems the prior has been set before receiving the first capture of this processor."
)
WOLF_DEBUG
(
"
PM "
,
getName
(),
":
First time with a KF too old. It seems the prior has been set before receiving the first capture of this processor."
)
processing_step_
=
FIRST_TIME_WITH_KF_BEFORE_INCOMING
;
processing_step_
=
FIRST_TIME_WITH_KF_BEFORE_INCOMING
;
}
}
else
else
{
{
WOLF_DEBUG
(
"First time with a KF newer than the first capture. It only can happen if prior mode is 'nothing'"
)
WOLF_DEBUG
(
"
PM "
,
getName
(),
":
First time with a KF newer than the first capture. It only can happen if prior mode is 'nothing'"
)
processing_step_
=
FIRST_TIME_WITH_KF_AFTER_INCOMING
;
processing_step_
=
FIRST_TIME_WITH_KF_AFTER_INCOMING
;
}
}
}
}
else
else
{
{
WOLF_DEBUG
(
"First time with a KF newer than the first capture. It only can happen if prior mode is 'nothing'"
)
WOLF_DEBUG
(
"
PM "
,
getName
(),
":
First time with a KF newer than the first capture. It only can happen if prior mode is 'nothing'"
)
processing_step_
=
FIRST_TIME_WITHOUT_KF
;
processing_step_
=
FIRST_TIME_WITHOUT_KF
;
}
}
...
@@ -1057,7 +1057,7 @@ TimeStamp ProcessorMotion::getTimeStamp ( ) const
...
@@ -1057,7 +1057,7 @@ TimeStamp ProcessorMotion::getTimeStamp ( ) const
origin_ptr_
->
isRemoving
()
or
origin_ptr_
->
isRemoving
()
or
not
last_ptr_
)
not
last_ptr_
)
{
{
WOLF_DEBUG
(
"P
rocessor
has no time stamp. Returning a non-valid timestamp equal to 0"
);
WOLF_DEBUG
(
"P
M proc
\"
"
,
getName
(),
"
\"
has no time stamp. Returning a non-valid timestamp equal to 0"
);
return
TimeStamp
::
Invalid
();
return
TimeStamp
::
Invalid
();
}
}
...
...
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