diff --git a/test/gtest_imu.cpp b/test/gtest_imu.cpp index bc812631b78c79d9daf233ee2601061f34cacbfa..b6d1b81287866134ac10f0c3d33f2d2e8f4cd1ff 100644 --- a/test/gtest_imu.cpp +++ b/test/gtest_imu.cpp @@ -1549,7 +1549,7 @@ TEST_F(Process_Factor_Imu, bootstrap) problem->print(4, 0, 1, 0); // Vector6d data(0,0,9.806, 0,0,0); // gravity on Z - Vector6d data(0,9.806,0, 0,0,0); // gravity on Y + Vector6d data(0.0,9.806,0.0, 0.0,0.0,0.0); // gravity on Y capture_imu = std::make_shared<CaptureImu>(0.0, sensor_imu, data, Matrix6d::Identity());