diff --git a/test/gtest_imu.cpp b/test/gtest_imu.cpp index faa4a99ed86d82d8841228168ae875104dbfcb8e..fceec6fc83ad7066f22439267192dd405a3ca63a 100644 --- a/test/gtest_imu.cpp +++ b/test/gtest_imu.cpp @@ -1550,7 +1550,8 @@ TEST_F(Process_Factor_Imu, bootstrap) // Vector6d data(0,0,9.806, 0,0,0); // gravity on Z // Vector6d data(0.0, 9.806, 0.0, 0.0, 0.0, 0.0); // gravity on Y - Vector6d data{ 0.0, 9.806, 0.0, 0.0, 0.0, 0.0 } ; // gravity on Y + Vector6d data; + 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());