Skip to content
Snippets Groups Projects
Commit c4bfa85c authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Improve info messages in PM

parent 9fefe6b6
No related branches found
No related tags found
1 merge request!466devel->main
Pipeline #12737 passed
...@@ -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("Processor has no time stamp. Returning a non-valid timestamp equal to 0"); WOLF_DEBUG("PM proc \"", getName(), "\" has no time stamp. Returning a non-valid timestamp equal to 0");
return TimeStamp::Invalid(); return TimeStamp::Invalid();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment