From 34f7da37e39f5600b896956a5246b3c36e2c39d3 Mon Sep 17 00:00:00 2001
From: Joan Sola <jsola@iri.upc.edu>
Date: Fri, 23 Feb 2018 14:00:06 +0100
Subject: [PATCH] Cosmetics

---
 src/processor_tracker.cpp | 5 +++--
 src/processor_tracker.h   | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/processor_tracker.cpp b/src/processor_tracker.cpp
index 0acf4e451..5d6054084 100644
--- a/src/processor_tracker.cpp
+++ b/src/processor_tracker.cpp
@@ -52,6 +52,8 @@ void ProcessorTracker::process(CaptureBasePtr const _incoming_ptr)
         {
             KFPackPtr pack = selectPack( incoming_ptr_);
 
+            WOLF_DEBUG( "PT: KF" , pack->key_frame->id() , " callback received at ts= " , pack->key_frame->getTimeStamp().get() );
+
             // Append incoming to KF
             pack->key_frame->addCapture(incoming_ptr_);
 
@@ -116,7 +118,6 @@ void ProcessorTracker::process(CaptureBasePtr const _incoming_ptr)
             last_old_frame->unlinkCapture(last_ptr_);
             last_old_frame->remove();
             pack->key_frame->addCapture(last_ptr_);
-            WOLF_DEBUG( " --> appended last capture" );
 
             // Create new frame
             FrameBasePtr frm = getProblem()->emplaceFrame(NON_KEY_FRAME, incoming_ptr_->getTimeStamp());
@@ -251,7 +252,7 @@ void ProcessorTracker::computeProcessingStep()
                     WOLF_WARN("||*||");
                     WOLF_INFO(" ... It seems you missed something!");
                     WOLF_INFO("Pack's KF and last's KF have matching time stamps (i.e. below time tolerances)");
-                    WOLF_INFO("Check the following:");
+                    WOLF_INFO("Check the following for correctness:");
                     WOLF_INFO("  - You have all processors installed before starting receiving any data");
                     WOLF_INFO("  - You issued a problem->setPrior() after all processors are installed ---> ", (getProblem()->priorIsSet() ? "OK" : "NOK"));
                     WOLF_INFO("  - You have configured all your processors with compatible time tolerances");
diff --git a/src/processor_tracker.h b/src/processor_tracker.h
index 0c58dc741..44b4ef841 100644
--- a/src/processor_tracker.h
+++ b/src/processor_tracker.h
@@ -78,7 +78,7 @@ class ProcessorTracker : public ProcessorBase
         } ProcessingStep ;
 
     protected:
-        ProcessingStep processing_step_;
+        ProcessingStep processing_step_;        ///< State machine controlling the processing step
         CaptureBasePtr origin_ptr_;             ///< Pointer to the origin of the tracker.
         CaptureBasePtr last_ptr_;               ///< Pointer to the last tracked capture.
         CaptureBasePtr incoming_ptr_;           ///< Pointer to the incoming capture being processed.
-- 
GitLab