From 2491ce0278784c891a80d8e611a2d0f1452ea1d1 Mon Sep 17 00:00:00 2001
From: Idril Geer <igeer@iri.upc.edu>
Date: Wed, 8 Sep 2021 16:16:29 +0200
Subject: [PATCH] test doesn't work but is finished

---
 test/gtest_imu2d_static_init.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/gtest_imu2d_static_init.cpp b/test/gtest_imu2d_static_init.cpp
index e6cac3b0e..e503c3625 100644
--- a/test/gtest_imu2d_static_init.cpp
+++ b/test/gtest_imu2d_static_init.cpp
@@ -202,7 +202,7 @@ TEST_F(ProcessorImu2dStaticInitTest, static)
    _first_frame = nullptr;
 
    int i = 1;
-   for(t = t0+dt; t <= t0 + 5 + dt/2; t+=dt){
+   for(t = t0+dt; t <= t0 + 3 + dt/2; t+=dt){
        WOLF_INFO("Starting iteration ", i, " with timestamp ", t);
        ++i;
        C = std::make_shared<CaptureImu>(t, _sensor_ptr, data, data_cov, Vector3d::Zero());
@@ -278,8 +278,8 @@ TEST_F(ProcessorImu2dStaticInitTest, static)
          WOLF_INFO("2 - The current frame's estimated bias is: \n", _last_frame->getCaptureOf(_sensor_ptr)->getStateBlock('I')->getState());
          WOLF_INFO("3 - The current state is (from _processor_motion): \n", _processor_motion->getState().vector("POV"));
        }
-       WOLF_INFO("The current problem is:");
-       _problem_ptr->print(4);
+       //WOLF_INFO("The current problem is:");
+       //_problem_ptr->print(4);
        WOLF_INFO("Solving...");
        std::string report = _solver->solve(SolverManager::ReportVerbosity::BRIEF);
        WOLF_INFO("Solved");
-- 
GitLab