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
b5e75b3f
Commit
b5e75b3f
authored
5 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
WIP composite delta operators
parent
0cef6ecf
No related branches found
No related tags found
1 merge request
!343
WIP: Resolve "Complete state vector new data structure?"
Pipeline
#5143
failed
5 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/core/processor/processor_motion.h
+31
-0
31 additions, 0 deletions
include/core/processor/processor_motion.h
with
31 additions
and
0 deletions
include/core/processor/processor_motion.h
+
31
−
0
View file @
b5e75b3f
...
...
@@ -366,6 +366,14 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
Eigen
::
MatrixXd
&
_delta_cov
,
Eigen
::
MatrixXd
&
_jacobian_calib
)
const
=
0
;
virtual
void
computeCUrrentDelta
(
const
VectorXd
&
_data
,
const
MatrixXd
&
_data_cov
,
const
VectorComposite
&
_calib
,
const
double
_dt
,
VectorComposite
&
_delta
,
MatrixComposite
&
_delta_cov
,
MatrixComposite
&
_jacobian_calib
)
const
=
0
;
/** \brief composes a delta-state on top of another delta-state
* \param _delta1 the first delta-state
* \param _delta2 the second delta-state
...
...
@@ -378,6 +386,10 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
const
Eigen
::
VectorXd
&
_delta2
,
const
double
_dt2
,
Eigen
::
VectorXd
&
_delta1_plus_delta2
)
const
=
0
;
virtual
void
deltaPlusDelta
(
const
VectorComposite
&
_delta1
,
const
VectorComposite
&
_delta2
,
const
double
_dt2
,
VectorComposite
&
_delta1_plus_delta2
)
const
=
0
;
/** \brief composes a delta-state on top of another delta-state, and computes the Jacobians
* \param _delta1 the first delta-state
...
...
@@ -395,6 +407,12 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
Eigen
::
VectorXd
&
_delta1_plus_delta2
,
Eigen
::
MatrixXd
&
_jacobian1
,
Eigen
::
MatrixXd
&
_jacobian2
)
const
=
0
;
virtual
void
deltaPlusDelta
(
const
VectorComposite
&
_delta1
,
const
VectorComposite
&
_delta2
,
const
double
_dt2
,
VectorComposite
&
_delta1_plus_delta2
,
MatrixComposite
&
_jacobian1
,
MatrixComposite
&
_jacobian2
)
const
=
0
;
/** \brief composes a delta-state on top of a state
* \param _x the initial state
...
...
@@ -408,6 +426,10 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
const
Eigen
::
VectorXd
&
_delta
,
const
double
_dt
,
Eigen
::
VectorXd
&
_x_plus_delta
)
const
=
0
;
virtual
void
statePlusDelta
(
const
VectorComposite
&
_x
,
const
VectorComposite
&
_delta
,
const
double
_dt
,
VectorComposite
&
_x_plus_delta
)
const
=
0
;
/** \brief Delta zero
* \return a delta state equivalent to the null motion.
...
...
@@ -418,6 +440,7 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
* - IMU: PQVBB 10-vector with [0,0,0, 0,0,0,1, 0,0,0] // No biases in the delta !!
*/
virtual
Eigen
::
VectorXd
deltaZero
()
const
=
0
;
virtual
VectorComposite
deltaZero
()
const
=
0
;
/** \brief emplace a CaptureMotion
...
...
@@ -436,6 +459,14 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
const
VectorXd
&
_calib
,
const
VectorXd
&
_calib_preint
,
const
CaptureBasePtr
&
_capture_origin_ptr
)
=
0
;
virtual
CaptureMotionPtr
emplaceCapture
(
const
FrameBasePtr
&
_frame_own
,
const
SensorBasePtr
&
_sensor
,
const
TimeStamp
&
_ts
,
const
VectorXd
&
_data
,
const
MatrixXd
&
_data_cov
,
const
VectorComposite
&
_calib
,
const
VectorComposite
&
_calib_preint
,
const
CaptureBasePtr
&
_capture_origin_ptr
)
=
0
;
/** \brief emplace a feature corresponding to given capture and add the feature to this capture
* \param _capture_motion: the parent capture
...
...
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