Skip to content
Snippets Groups Projects
Commit 1892e3c8 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Fix data vector size in gtest

parent 7cf8b0ba
No related branches found
No related tags found
1 merge request!451After cmake and const refactor
Pipeline #10491 failed
...@@ -626,7 +626,7 @@ TEST(FactorDiffDrive, preintegrate_and_solve_sensor_intrinsics) ...@@ -626,7 +626,7 @@ TEST(FactorDiffDrive, preintegrate_and_solve_sensor_intrinsics)
// right turn 90 deg in N steps --> ends up in (1.5, -1.5, -pi/2) // right turn 90 deg in N steps --> ends up in (1.5, -1.5, -pi/2)
int N = 6; int N = 6;
Vector3d data; Vector2d data;
Matrix2d data_cov; data_cov.setIdentity(); Matrix2d data_cov; data_cov.setIdentity();
data(0) = 0.50*intr->ticks_per_wheel_revolution / N; data(0) = 0.50*intr->ticks_per_wheel_revolution / N;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment