Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gnss
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
gnss
Merge requests
!5
Resolve "New processors workflow"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "New processors workflow"
5-new-processors-workflow
into
devel
Overview
0
Commits
1
Pipelines
0
Changes
4
Merged
Joan Vallvé Navarro
requested to merge
5-new-processors-workflow
into
devel
5 years ago
Overview
0
Commits
1
Pipelines
0
Changes
4
Expand
Closes
#5 (closed)
Edited
5 years ago
by
Joan Vallvé Navarro
0
0
Merge request reports
Compare
devel
devel (base)
and
latest version
latest version
e99a33c7
1 commit,
5 years ago
4 files
+
67
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
include/gnss/processor/processor_gnss_fix.h
+
32
−
1
Options
@@ -44,7 +44,33 @@ class ProcessorGnssFix : public ProcessorBase
ProcessorGnssFix
(
ProcessorParamsGnssFixPtr
_params
,
SensorGnssPtr
_sensor_gnss_ptr
);
virtual
~
ProcessorGnssFix
();
virtual
void
configure
(
SensorBasePtr
_sensor
);
virtual
void
process
(
CaptureBasePtr
_capture_ptr
);
protected:
/** \brief process an incoming capture
*
* Each derived processor should implement this function. It will be called if:
* - A new capture arrived and triggerInCapture() returned true.
*/
virtual
void
processCapture
(
CaptureBasePtr
)
override
;
/** \brief process an incoming key-frame
*
* The ProcessorTracker only processes incoming captures (it is not called).
*/
virtual
void
processKeyFrame
(
FrameBasePtr
_keyframe_ptr
,
const
Scalar
&
_time_tolerance
)
override
{};
/** \brief trigger in capture
*
* Returns true if processCapture() should be called after the provided capture arrived.
*/
virtual
bool
triggerInCapture
(
CaptureBasePtr
)
override
;
/** \brief trigger in key-frame
*
* The ProcessorTracker only processes incoming captures, then it returns false.
*/
virtual
bool
triggerInKeyFrame
(
FrameBasePtr
_keyframe_ptr
,
const
Scalar
&
_time_tolerance
)
override
{
return
false
;}
virtual
bool
voteForKeyFrame
();
private
:
@@ -56,6 +82,11 @@ class ProcessorGnssFix : public ProcessorBase
};
inline
bool
ProcessorGnssFix
::
triggerInCapture
(
CaptureBasePtr
)
{
return
true
;
}
}
// namespace wolf
#endif //WOLF_PROCESSOR_GNSS_FIX_H
Loading