Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
imu
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
imu
Commits
a014593d
Commit
a014593d
authored
3 years ago
by
Idril-Tadzio Geer Cousté
Browse files
Options
Downloads
Patches
Plain Diff
finished testing
parent
c637e962
Branches
imu2d_static_initialization
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!39
release after RAL
,
!38
After 2nd RAL submission
,
!33
Imu2d static initialization
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/gtest_imu2d_static_init.cpp
+18
-0
18 additions, 0 deletions
test/gtest_imu2d_static_init.cpp
test/gtest_imu_static_init.cpp
+6
-0
6 additions, 0 deletions
test/gtest_imu_static_init.cpp
with
24 additions
and
0 deletions
test/gtest_imu2d_static_init.cpp
+
18
−
0
View file @
a014593d
/*
* gtest_imu2d_static_init.cpp
*
* Created on: Sept 2021
* Author: igeer
*/
#include
<fstream>
#include
<core/ceres_wrapper/solver_ceres.h>
#include
<core/utils/utils_gtest.h>
...
...
@@ -507,6 +514,17 @@ TEST_F(ProcessorImu2dStaticInitTest, static_bias_zero_initial_guess_random)
TestStatic
(
body_magnitudes
,
bias_groundtruth
,
bias_initial_guess
,
"static_bias_zero_initial_guess_random"
,
3
,
false
);
}
TEST_F
(
ProcessorImu2dStaticInitTest
,
realistic_test
)
{
Vector3d
body_magnitudes
=
Vector3d
::
Zero
();
Vector3d
bias_groundtruth
=
(
Vector3d
()
<<
-
0.529550648247
,
0.278316717683
,
-
0.00122491355676
).
finished
();
Vector3d
bias_initial_guess
=
Vector3d
::
Zero
();
TestStatic
(
body_magnitudes
,
bias_groundtruth
,
bias_initial_guess
,
"static_bias_zero_initial_guess_random"
,
3
,
false
);
}
//class ProcessorImu2dStaticInitTest : public testing::Test
//{
//
...
...
This diff is collapsed.
Click to expand it.
test/gtest_imu_static_init.cpp
+
6
−
0
View file @
a014593d
/*
* gtest_imu_static_init.cpp
*
* Created on: Sept 2021
* Author: igeer
*/
#include
<fstream>
#include
<core/ceres_wrapper/solver_ceres.h>
...
...
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