From ff895a21c8c6da35f51c4905ae100513444b053e Mon Sep 17 00:00:00 2001 From: Idril Geer <igeer@iri.upc.edu> Date: Wed, 2 Feb 2022 18:33:12 +0100 Subject: [PATCH] fix test --- test/gtest_processor_imu2d_with_gravity.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/gtest_processor_imu2d_with_gravity.cpp b/test/gtest_processor_imu2d_with_gravity.cpp index df6e23068..72456d1df 100644 --- a/test/gtest_processor_imu2d_with_gravity.cpp +++ b/test/gtest_processor_imu2d_with_gravity.cpp @@ -80,7 +80,7 @@ TEST_F(ProcessorImu2dTest, MUA_Only_G) x0c['P'] = Vector2d(1,2); x0c['O'] = Vector1d(0); x0c['V'] = Vector2d(4,5); - auto KF0 = problem->setPriorFix(x0c, t0, dt/2); + auto KF0 = problem->setPriorFix(x0c, t0); processor_motion->setOrigin(KF0); // Set the gravity @@ -108,7 +108,7 @@ TEST_F(ProcessorImu2dTest, MUA) x0c['P'] = Vector2d(1,2); x0c['O'] = Vector1d(0); x0c['V'] = Vector2d(4,5); - auto KF0 = problem->setPriorFix(x0c, t0, dt/2); + auto KF0 = problem->setPriorFix(x0c, t0); processor_motion->setOrigin(KF0); // Set the gravity @@ -137,7 +137,7 @@ TEST_F(ProcessorImu2dTest, Spinning) x0c['P'] = Vector2d(1,2); x0c['O'] = Vector1d(0); x0c['V'] = Vector2d(4,5); - auto KF0 = problem->setPriorFix(x0c, t0, dt/2); + auto KF0 = problem->setPriorFix(x0c, t0); processor_motion->setOrigin(KF0); // Set the gravity -- GitLab