Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bodydynamics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
plugins
bodydynamics
Commits
d9274941
Commit
d9274941
authored
2 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Fix test: wrong feature being checked
parent
d5bce276
No related branches found
No related tags found
2 merge requests
!31
devel->main
,
!30
Complete UAV identification setup
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/gtest_processor_force_torque_inertial_dynamics.cpp
+2
-2
2 additions, 2 deletions
test/gtest_processor_force_torque_inertial_dynamics.cpp
with
2 additions
and
2 deletions
test/gtest_processor_force_torque_inertial_dynamics.cpp
+
2
−
2
View file @
d9274941
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment