From 36e99ac22de9691036ec8cc9f0795ca4dee5485b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A9d=C3=A9ric=20Fourmy?= <mfourmy@laas.fr>
Date: Mon, 1 Mar 2021 19:33:10 +0100
Subject: [PATCH] Add time tolerance to processor pose

---
 test/gtest_imu_mocap_fusion.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/gtest_imu_mocap_fusion.cpp b/test/gtest_imu_mocap_fusion.cpp
index d69a49f22..bb668f2b8 100644
--- a/test/gtest_imu_mocap_fusion.cpp
+++ b/test/gtest_imu_mocap_fusion.cpp
@@ -101,6 +101,7 @@ class ImuMocapFusion_Test : public testing::Test
         Vector7d extr; extr << 0,0,0, 0,0,0,1;
         sensor_pose_ = problem_->installSensor("SensorPose", "pose", extr, intr_sp);
         auto params_proc = std::make_shared<ParamsProcessorPose>();
+        params_proc->time_tolerance = 0.0005;
         auto proc_pose = problem_->installProcessor("ProcessorPose", "pose", sensor_pose_, params_proc);
         // somehow by default the sensor extrinsics is fixed
         sensor_pose_->unfixExtrinsics();
-- 
GitLab