From 752939e220adcc7e80e58c3592dd3db794b6b6db Mon Sep 17 00:00:00 2001 From: joanvallve <jvallve@iri.upc.edu> Date: Thu, 11 Jun 2020 11:10:34 +0200 Subject: [PATCH] WOLF_ERROR to WOLF_DEBUG in likely cases of PM --- src/processor/processor_motion.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/processor/processor_motion.cpp b/src/processor/processor_motion.cpp index 68b12a87c..23dd66ba1 100644 --- a/src/processor/processor_motion.cpp +++ b/src/processor/processor_motion.cpp @@ -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 // 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 } @@ -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 { - 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 } @@ -832,7 +832,7 @@ TimeStamp ProcessorMotion::getTimeStamp ( ) const { 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); } -- GitLab