From 6f44451cdec3ba51cb4e3dc76948150e59448c1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu>
Date: Fri, 10 Dec 2021 02:21:28 +0100
Subject: [PATCH] Update processor_inertial_kinematics.cpp

---
 src/processor/processor_inertial_kinematics.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/processor/processor_inertial_kinematics.cpp b/src/processor/processor_inertial_kinematics.cpp
index ff09770..2830597 100644
--- a/src/processor/processor_inertial_kinematics.cpp
+++ b/src/processor/processor_inertial_kinematics.cpp
@@ -77,7 +77,7 @@ inline void ProcessorInertialKinematics::processCapture(CaptureBasePtr _capture)
         && (buffer_capture_it != buffer_capture_.getContainer().end()))
     {
 
-        bool time_ok = buffer_capture_.simpleCheckTimeTolerance(buffer_frame_it->first, buffer_capture_it->first, getTimeTolerance());
+        bool time_ok = checkTimeTolerance(buffer_frame_it->first, buffer_capture_it->first);
         if (time_ok) {
             CaptureBasePtr cap_angvel = buffer_frame_it->second->getCaptureOf(sensor_angvel);
             auto min_ts = (buffer_frame_it->first < buffer_capture_it->first) ? buffer_frame_it->first : buffer_capture_it->first;
-- 
GitLab