Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
wolf
Commits
c7a7581c
Commit
c7a7581c
authored
7 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Little changes cosmetic
parent
f26bc60c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/processor_imu.cpp
+4
-4
4 additions, 4 deletions
src/processor_imu.cpp
src/processor_motion.cpp
+1
-1
1 addition, 1 deletion
src/processor_motion.cpp
with
5 additions
and
5 deletions
src/processor_imu.cpp
+
4
−
4
View file @
c7a7581c
...
@@ -234,7 +234,7 @@ void ProcessorIMU::computeCurrentDelta(const Eigen::VectorXs& _data,
...
@@ -234,7 +234,7 @@ void ProcessorIMU::computeCurrentDelta(const Eigen::VectorXs& _data,
assert
(
_data
.
size
()
==
data_size_
&&
"Wrong data size!"
);
assert
(
_data
.
size
()
==
data_size_
&&
"Wrong data size!"
);
using
namespace
Eigen
;
using
namespace
Eigen
;
Matrix
<
Scalar
,
9
,
6
>
jac_data
;
Matrix
<
Scalar
,
9
,
6
>
jac_
delta_
data
;
/*
/*
* We have the following computing pipeline:
* We have the following computing pipeline:
...
@@ -255,13 +255,13 @@ void ProcessorIMU::computeCurrentDelta(const Eigen::VectorXs& _data,
...
@@ -255,13 +255,13 @@ void ProcessorIMU::computeCurrentDelta(const Eigen::VectorXs& _data,
*/
*/
// create delta
// create delta
imu
::
body2delta
(
_data
-
_calib
,
_dt
,
_delta
,
jac_data
);
// Jacobians tested in imu_tools
imu
::
body2delta
(
_data
-
_calib
,
_dt
,
_delta
,
jac_
delta_
data
);
// Jacobians tested in imu_tools
// compute delta_cov
// compute delta_cov
_delta_cov
=
jac_data
*
_data_cov
*
jac_data
.
transpose
();
_delta_cov
=
jac_
delta_
data
*
_data_cov
*
jac_
delta_
data
.
transpose
();
// compute jacobian_calib
// compute jacobian_calib
_jac_delta_calib
=
-
jac_data
;
_jac_delta_calib
=
-
jac_
delta_
data
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/processor_motion.cpp
+
1
−
1
View file @
c7a7581c
...
@@ -296,7 +296,7 @@ bool ProcessorMotion::keyFrameCallback(FrameBasePtr _new_keyframe, const Scalar&
...
@@ -296,7 +296,7 @@ bool ProcessorMotion::keyFrameCallback(FrameBasePtr _new_keyframe, const Scalar&
// reintegrateBuffer(new_capture);
// reintegrateBuffer(new_capture);
// create motion constraint and add it to the feature, and constrain to the other capture (origin)
// create motion constraint and add it to the feature, and constrain to the other capture (origin)
emplaceConstraint
(
new_feature
,
keyframe_origin
->
getCaptureOf
(
getSensorPtr
())
);
// XXX it was new_keyframe_origin
emplaceConstraint
(
new_feature
,
keyframe_origin
->
getCaptureOf
(
getSensorPtr
())
);
...
...
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