diff --git a/src/processor_tracker.cpp b/src/processor_tracker.cpp index f268aaf3c7c950fd89f9a15265cd3154c3dd66a6..57b9d871938325f74efc0c787c264c06fcf75d20 100644 --- a/src/processor_tracker.cpp +++ b/src/processor_tracker.cpp @@ -112,7 +112,7 @@ void ProcessorTracker::process(CaptureBasePtr const _incoming_ptr) KFPackPtr pack = selectPack( last_ptr_ ); kf_pack_buffer_.removeUpTo( last_ptr_->getTimeStamp() ); - WOLF_DEBUG( "PT: KF" , pack->key_frame->id() , " callback received at ts= " , pack->key_frame->getTimeStamp().get() ); + WOLF_DEBUG( "PT: KF" , pack->key_frame->id() , " callback received with ts= " , pack->key_frame->getTimeStamp().get() ); processKnown(); diff --git a/src/processor_tracker_feature.cpp b/src/processor_tracker_feature.cpp index faef28de8508ee76a2b23709db69888480775849..e7da3b55749c25a00a0027772f6483d659d8a9f7 100644 --- a/src/processor_tracker_feature.cpp +++ b/src/processor_tracker_feature.cpp @@ -33,7 +33,7 @@ unsigned int ProcessorTrackerFeature::processNew(const unsigned int& _max_new_fe for (auto ftr : new_features_last_) { ftr->setTrackId( ftr->id() ); - WOLF_DEBUG("New track: ", ftr->trackId(), ", last: ", ftr->id()); + WOLF_DEBUG("Det track: ", ftr->trackId(), ", last: ", ftr->id()); } // Track new features from last to incoming. This will append new correspondences to matches_last_incoming @@ -46,12 +46,6 @@ unsigned int ProcessorTrackerFeature::processNew(const unsigned int& _max_new_fe WOLF_DEBUG("New track: ", ftr->trackId(), ", last: ", matches_last_from_incoming_[ftr]->feature_ptr_->id(), ", inc: ", ftr->id()); } - // Print all tracks - for (auto match : matches_last_from_incoming_) - { - WOLF_DEBUG("New total track: ", match.first->trackId(), ", last: ", match.second->feature_ptr_->id(), ", inc: ", match.first->id()); - } - // Append all new Features to the incoming Captures' list of Features incoming_ptr_->addFeatureList(new_features_incoming_); @@ -100,7 +94,7 @@ unsigned int ProcessorTrackerFeature::processKnown() // Print resulting list of matches for (auto match : matches_last_from_incoming_) { - WOLF_DEBUG("Known total track: ", match.first->trackId(), ", last: ", match.second->feature_ptr_->id(), ", inc: ", match.first->id()); + WOLF_DEBUG("Known track: ", match.first->trackId(), ", last: ", match.second->feature_ptr_->id(), ", inc: ", match.first->id()); } return matches_last_from_incoming_.size();