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

Remove commented code

parent d90cb632
No related branches found
No related tags found
1 merge request!403Resolve "Merge Aux/KeyFrames into Estimated Frames"
......@@ -213,37 +213,6 @@ void ProcessorTracker::processCapture(CaptureBasePtr _incoming_ptr)
incoming_ptr_ = nullptr;
}
/* TODO: create an auxiliary frame
else if (voteForAuxFrame() && permittedAuxFrame())
{
// We create an Auxiliary Frame
// set AuxF on last
last_ptr_->getFrame()->setState(getProblem()->getState(last_ptr_->getTimeStamp()));
last_ptr_->getFrame()->setAuxiliary();
// make F; append incoming to new F
FrameBasePtr frm = FrameBase::createNonKeyFrame<FrameBase>(incoming_ptr_->getTimeStamp());
incoming_ptr_->link(frm);
// Establish factors
establishFactors();
// Call the new auxframe callback in order to let the ProcessorMotion to establish their factors
getProblem()->auxFrameCallback(last_ptr_->getFrame(), std::static_pointer_cast<ProcessorBase>(shared_from_this()), params_tracker_->time_tolerance);
// Advance this
advanceDerived();
// Replace last frame for a new one in incoming
last_ptr_->getFrame()->addCapture(incoming_ptr_); // Add incoming Capture to the tracker's last Frame
// do not remove! last_ptr_->remove();
incoming_ptr_->getFrame()->setTimeStamp(incoming_ptr_->getTimeStamp());
// Update pointers
last_ptr_ = incoming_ptr_;
incoming_ptr_ = nullptr;
}*/
else
{
// We do not create a KF
......
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