diff --git a/src/processor_tracker.cpp b/src/processor_tracker.cpp index 0acf4e45123c312e83568416dfabb63d43c1c5f3..5d6054084c1d4aef2d185072f2e3463aef24edf4 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 0c58dc7414754bfc48997d0f2c9461b6ac6bb1ec..44b4ef841ad5a204b263a2acfdfc34fbdc04fd71 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.