Skip to content
Snippets Groups Projects
Commit 4097a1d7 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Rename keyframe --> frame in PrcTracker

parent a7d7a574
No related branches found
No related tags found
1 merge request!466devel->main
Pipeline #12686 passed
......@@ -151,10 +151,10 @@ void ProcessorTracker::processCapture(CaptureBasePtr _incoming_ptr)
WOLF_DEBUG( "PT ", getName(), " SECOND_TIME_WITHOUT_KEYFRAME" );
// Make a NON KEY Frame to hold incoming capture
FrameBasePtr keyframe = std::make_shared<FrameBase>(incoming_ptr_->getTimeStamp(),
FrameBasePtr frame = std::make_shared<FrameBase>(incoming_ptr_->getTimeStamp(),
getProblem()->getFrameStructure(),
getProblem()->getState());
incoming_ptr_->link(keyframe);
incoming_ptr_->link(frame);
// Process info
// TrackerLandmark: If we have been given a map, all landmarks in the map are known. Process them.
......@@ -170,7 +170,7 @@ void ProcessorTracker::processCapture(CaptureBasePtr _incoming_ptr)
// Update pointers
origin_ptr_ = last_ptr_;
last_ptr_ = incoming_ptr_;
last_frame_ptr_ = keyframe;
last_frame_ptr_ = frame;
incoming_ptr_ = nullptr;
break;
......
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