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

Fix test: wrong feature being checked

parent d5bce276
No related branches found
No related tags found
2 merge requests!31devel->main,!30Complete UAV identification setup
......@@ -129,7 +129,7 @@ TEST_F(Test_ProcessorForceTorqueInertialDynamics_yaml, not_moving_test)
betw_states << dpi, dvi, dpd, dvd, dL, dq.coeffs();
VectorXd delta_preintegrated = C_KF1->getFeatureList().back()->getMeasurement();
VectorXd delta_preintegrated = C_KF1->getFeatureList().front()->getMeasurement();
//Cheking that the preintegrated delta calculated by the processor is the same as the one that is correct for sure
ASSERT_MATRIX_APPROX(betw_states, delta_preintegrated, 1e-8);
......@@ -197,7 +197,7 @@ TEST_F(Test_ProcessorForceTorqueInertialDynamics_yaml, 1m_x_moving_test__com_zer
betw_states << dpi, dvi, dpd, dvd, dL, dq.coeffs();
VectorXd delta_preintegrated = C_KF1->getFeatureList().back()->getMeasurement();
VectorXd delta_preintegrated = C_KF1->getFeatureList().front()->getMeasurement();
//Cheking that the preintegrated delta calculated by the processor is the same as the one that is correct for sure
ASSERT_MATRIX_APPROX(betw_states, delta_preintegrated, 1e-8);
......
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