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
14169564
Commit
14169564
authored
8 years ago
by
Dinesh Atchuthan
Browse files
Options
Downloads
Patches
Plain Diff
added method processorMotion::getCurrentDeltaPreintCov()
parent
74f83a4e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/processor_motion.h
+11
-0
11 additions, 0 deletions
src/processor_motion.h
with
11 additions
and
0 deletions
src/processor_motion.h
+
11
−
0
View file @
14169564
...
@@ -127,9 +127,15 @@ class ProcessorMotion : public ProcessorBase
...
@@ -127,9 +127,15 @@ class ProcessorMotion : public ProcessorBase
*/
*/
Eigen
::
VectorXs
&
getState
(
const
TimeStamp
&
_ts
);
Eigen
::
VectorXs
&
getState
(
const
TimeStamp
&
_ts
);
/** \brief Gets a constant reference delta preintegrated covariance from all integrations so far
* \return the delta preintegrated covariance matrix
*/
const
Eigen
::
MatrixXs
getCurrentDeltaPreintCov
();
/** \brief Provides the motion integrated so far
/** \brief Provides the motion integrated so far
* \return a const reference to the integrated delta state
* \return a const reference to the integrated delta state
*/
*/
const
Motion
&
getMotion
()
const
;
const
Motion
&
getMotion
()
const
;
void
getMotion
(
Motion
&
_motion
)
const
;
void
getMotion
(
Motion
&
_motion
)
const
;
...
@@ -657,6 +663,11 @@ inline void ProcessorMotion::getCurrentState(Eigen::VectorXs& _x, TimeStamp& _ts
...
@@ -657,6 +663,11 @@ inline void ProcessorMotion::getCurrentState(Eigen::VectorXs& _x, TimeStamp& _ts
_ts
=
getCurrentTimeStamp
();
_ts
=
getCurrentTimeStamp
();
}
}
inline
const
Eigen
::
MatrixXs
ProcessorMotion
::
getCurrentDeltaPreintCov
()
{
return
delta_integrated_cov_
;
}
inline
const
Motion
&
ProcessorMotion
::
getMotion
()
const
inline
const
Motion
&
ProcessorMotion
::
getMotion
()
const
{
{
return
getBuffer
().
get
().
back
();
return
getBuffer
().
get
().
back
();
...
...
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