Skip to content
Snippets Groups Projects
Commit 752939e2 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

WOLF_ERROR to WOLF_DEBUG in likely cases of PM

parent a4a14071
No related branches found
No related tags found
No related merge requests found
Pipeline #5665 failed
...@@ -406,7 +406,7 @@ VectorComposite ProcessorMotion::getState() const ...@@ -406,7 +406,7 @@ VectorComposite ProcessorMotion::getState() const
if (last_ptr_ == nullptr or last_ptr_->getFrame() == nullptr) // We do not have any info of where to find a valid state if (last_ptr_ == nullptr or last_ptr_->getFrame() == nullptr) // We do not have any info of where to find a valid state
// Further checking here for origin_ptr is redundant: if last=null, then origin=null too. // Further checking here for origin_ptr is redundant: if last=null, then origin=null too.
{ {
WOLF_ERROR("Processor has no state. Returning an empty VectorComposite with no blocks"); WOLF_DEBUG("Processor has no state. Returning an empty VectorComposite with no blocks");
return VectorComposite(); // return empty state return VectorComposite(); // return empty state
} }
...@@ -482,7 +482,7 @@ VectorComposite ProcessorMotion::getState(const TimeStamp& _ts) const ...@@ -482,7 +482,7 @@ VectorComposite ProcessorMotion::getState(const TimeStamp& _ts) const
if (capture_motion == nullptr) // we do not have any info of where to find a valid state if (capture_motion == nullptr) // we do not have any info of where to find a valid state
{ {
WOLF_ERROR("Processor has no state. Returning an empty VectorComposite with no blocks"); WOLF_DEBUG("Processor has no state. Returning an empty VectorComposite with no blocks");
return VectorComposite(); // return empty state return VectorComposite(); // return empty state
} }
...@@ -832,7 +832,7 @@ TimeStamp ProcessorMotion::getTimeStamp ( ) const ...@@ -832,7 +832,7 @@ TimeStamp ProcessorMotion::getTimeStamp ( ) const
{ {
if (not last_ptr_) if (not last_ptr_)
{ {
WOLF_ERROR("Processor has no time stamp. Returning a non-valid timestamp equal to 0"); WOLF_DEBUG("Processor has no time stamp. Returning a non-valid timestamp equal to 0");
return TimeStamp(0); return TimeStamp(0);
} }
......
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