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
2a4041e5
Commit
2a4041e5
authored
4 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
rename emplaceKeyFrame -> emplaceFrame
parent
a460b10a
No related branches found
No related tags found
3 merge requests
!39
release after RAL
,
!38
After 2nd RAL submission
,
!24
Resolve "follow core:#313"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/gtest_feature_imu.cpp
+7
-8
7 additions, 8 deletions
test/gtest_feature_imu.cpp
test/gtest_imu.cpp
+1
-1
1 addition, 1 deletion
test/gtest_imu.cpp
with
8 additions
and
9 deletions
test/gtest_feature_imu.cpp
+
7
−
8
View file @
2a4041e5
...
...
@@ -84,20 +84,19 @@ class FeatureImu_test : public testing::Test
//emplace Frame
ts
=
problem
->
getTimeStamp
();
state_vec
=
problem
->
getState
().
vector
(
problem
->
getFrameStructure
());
last_frame
=
problem
->
emplace
Key
Frame
(
ts
,
state_vec
);
last_frame
=
problem
->
emplaceFrame
(
ts
,
state_vec
);
//emplace a feature
delta_preint
=
processor_motion_ptr_
->
getMotion
().
delta_integr_
;
delta_preint_cov
=
processor_motion_ptr_
->
getMotion
().
delta_integr_cov_
+
MatrixXd
::
Identity
(
9
,
9
)
*
1e-08
;
VectorXd
calib_preint
=
processor_motion_ptr_
->
getLast
()
->
getCalibrationPreint
();
dD_db_jacobians
=
processor_motion_ptr_
->
getMotion
().
jacobian_calib_
;
feat_imu
=
std
::
static_pointer_cast
<
FeatureImu
>
(
FeatureBase
::
emplace
<
FeatureImu
>
(
imu_ptr
,
delta_preint
,
delta_preint_cov
,
calib_preint
,
dD_db_jacobians
,
imu_ptr
)
);
feat_imu
=
FeatureBase
::
emplace
<
FeatureImu
>
(
imu_ptr
,
delta_preint
,
delta_preint_cov
,
calib_preint
,
dD_db_jacobians
,
imu_ptr
)
;
}
void
TearDown
()
override
...
...
This diff is collapsed.
Click to expand it.
test/gtest_imu.cpp
+
1
−
1
View file @
2a4041e5
...
...
@@ -502,7 +502,7 @@ class Process_Factor_Imu : public testing::Test
virtual
void
buildProblem
()
{
// ===================================== SET KF in Wolf tree
FrameBasePtr
KF
=
problem
->
emplace
Key
Frame
(
t
,
x1_exact
);
FrameBasePtr
KF
=
problem
->
emplaceFrame
(
t
,
x1_exact
);
// ===================================== Imu CALLBACK
problem
->
keyFrameCallback
(
KF
,
nullptr
,
dt
/
2
);
...
...
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