Skip to content
Snippets Groups Projects

Solver manager

Merged Jeremie Deray requested to merge solver_manager into master
1 file
+ 10
0
Compare changes
  • Side-by-side
  • Inline
+ 10
0
@@ -250,6 +250,16 @@ bool ProcessorMotion::keyFrameCallback(FrameBasePtr _new_keyframe, const Scalar&
assert(existing_capture != nullptr
&& "ProcessorMotion::keyFrameCallback: no motion capture containing the required TimeStamp found");
// If the difference between the found capture time-stamp and the new capture time-stamp
// is greater than the time tolerance, abort.
if (std::abs(new_ts - existing_capture->getTimeStamp()) > _time_tol_other)
{
WOLF_DEBUG("Not joinning the key-frame due to time tol : ",
std::abs(new_ts - existing_capture->getTimeStamp()),
" > ", _time_tol_other);
return false;
}
// Find the frame acting as the capture's origin
FrameBasePtr new_keyframe_origin = existing_capture->getOriginFramePtr();
Loading