From 32259069f7cc860e431bebd100a5c844ce7ea2bd Mon Sep 17 00:00:00 2001 From: Idril Geer <igeer@iri.upc.edu> Date: Fri, 28 Jan 2022 16:28:52 +0100 Subject: [PATCH] fixed 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