diff --git a/src/processor/processor_inertial_kinematics.cpp b/src/processor/processor_inertial_kinematics.cpp index ff097708d415206e703f9f80f03e0e8b44916a38..28305970d7877cb8239e9009e1db3eb5356df4b8 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;