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
15b2df0a
Commit
15b2df0a
authored
5 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
some const functions public
parent
e1fa6c08
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
include/core/processor/processor_motion.h
+5
-3
5 additions, 3 deletions
include/core/processor/processor_motion.h
with
5 additions
and
3 deletions
include/core/processor/processor_motion.h
+
5
−
3
View file @
15b2df0a
...
@@ -281,7 +281,7 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
...
@@ -281,7 +281,7 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
PackKeyFramePtr
computeProcessingStep
();
PackKeyFramePtr
computeProcessingStep
();
// These are the pure virtual functions doing the mathematics
// These are the pure virtual functions doing the mathematics
p
rotected
:
p
ublic
:
/** \brief convert raw CaptureMotion data to the delta-state format
/** \brief convert raw CaptureMotion data to the delta-state format
*
*
...
@@ -416,6 +416,7 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
...
@@ -416,6 +416,7 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
virtual
Eigen
::
VectorXd
correctDelta
(
const
Eigen
::
VectorXd
&
delta_preint
,
virtual
Eigen
::
VectorXd
correctDelta
(
const
Eigen
::
VectorXd
&
delta_preint
,
const
Eigen
::
VectorXd
&
delta_step
)
const
=
0
;
const
Eigen
::
VectorXd
&
delta_step
)
const
=
0
;
protected
:
/** \brief emplace a CaptureMotion
/** \brief emplace a CaptureMotion
* \param _ts time stamp
* \param _ts time stamp
* \param _sensor Sensor that produced the Capture
* \param _sensor Sensor that produced the Capture
...
@@ -444,14 +445,15 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
...
@@ -444,14 +445,15 @@ class ProcessorMotion : public ProcessorBase, public IsMotion
*/
*/
virtual
FactorBasePtr
emplaceFactor
(
FeatureBasePtr
_feature_motion
,
CaptureBasePtr
_capture_origin
)
=
0
;
virtual
FactorBasePtr
emplaceFactor
(
FeatureBasePtr
_feature_motion
,
CaptureBasePtr
_capture_origin
)
=
0
;
virtual
VectorXd
getCalibration
(
const
CaptureBasePtr
_capture
)
const
=
0
;
virtual
void
setCalibration
(
const
CaptureBasePtr
_capture
,
const
VectorXd
&
_calibration
)
=
0
;
virtual
void
setCalibration
(
const
CaptureBasePtr
_capture
,
const
VectorXd
&
_calibration
)
=
0
;
Motion
motionZero
(
const
TimeStamp
&
_ts
)
const
;
Motion
motionZero
(
const
TimeStamp
&
_ts
)
const
;
public
:
virtual
VectorXd
getCalibration
(
const
CaptureBasePtr
_capture
)
const
=
0
;
bool
hasCalibration
()
const
{
return
calib_size_
>
0
;}
bool
hasCalibration
()
const
{
return
calib_size_
>
0
;}
public
:
//getters
//getters
CaptureMotionPtr
getOrigin
()
const
;
CaptureMotionPtr
getOrigin
()
const
;
CaptureMotionPtr
getLast
()
const
;
CaptureMotionPtr
getLast
()
const
;
...
...
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