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
54a72140
Commit
54a72140
authored
2 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
[skip ci] Document boostrap
parent
cbba811c
No related branches found
No related tags found
1 merge request
!54
devel->main
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/imu/processor/processor_imu.h
+22
-6
22 additions, 6 deletions
include/imu/processor/processor_imu.h
with
22 additions
and
6 deletions
include/imu/processor/processor_imu.h
+
22
−
6
View file @
54a72140
...
...
@@ -85,7 +85,6 @@ class ProcessorImu : public ProcessorMotion{
void
configure
(
SensorBasePtr
_sensor
)
override
{
};
void
preProcess
()
override
;
void
bootstrapEnable
(
bool
_bootstrap_enable
=
true
);
protected
:
void
computeCurrentDelta
(
const
Eigen
::
VectorXd
&
_data
,
...
...
@@ -126,14 +125,31 @@ class ProcessorImu : public ProcessorMotion{
FeatureBasePtr
emplaceFeature
(
CaptureMotionPtr
_capture_motion
)
override
;
FactorBasePtr
emplaceFactor
(
FeatureBasePtr
_feature_motion
,
CaptureBasePtr
_capture_origin
)
override
;
virtual
void
bootstrap
()
override
;
CaptureBasePtr
bootstrapOrigin
()
const
;
VectorXd
bootstrapDelta
()
const
;
bool
recomputeStates
()
const
;
public
:
/** \brief Enable bootstrapping process
*/
void
bootstrapEnable
(
bool
_bootstrap_enable
=
true
);
protected
:
/** \brief Bootstrap the IMU initial conditions
*/
virtual
void
bootstrap
()
override
;
/** \brief Get the Capture where the IMU data started the bootstrap
*/
CaptureBasePtr
bootstrapOrigin
()
const
;
/** \brief Compose all preintegrated Deltas accumulated during the whole bootstrap process.
*/
VectorXd
bootstrapDelta
()
const
;
/** \brief Incrementally compute all state values according to the current initial conditions and all
* preintegrated deltas.
*
* This is executed at the end of the bootstrap process
*/
bool
recomputeStates
()
const
;
protected
:
ParamsProcessorImuPtr
params_motion_Imu_
;
std
::
list
<
FactorBasePtr
>
list_fac_inactive_bootstrap_
;
std
::
list
<
FactorBasePtr
>
list_fac_inactive_bootstrap_
;
///< List of all IMU factors created while IMU is bootstrapping
};
}
...
...
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