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
Commits
4192fbcd
Commit
4192fbcd
authored
4 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
added getters for monitoring
parent
dd75ce58
No related branches found
No related tags found
2 merge requests
!28
release after RAL
,
!27
After 2nd RAL submission
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/gnss/processor/processor_tracker_gnss.h
+15
-1
15 additions, 1 deletion
include/gnss/processor/processor_tracker_gnss.h
with
15 additions
and
1 deletion
include/gnss/processor/processor_tracker_gnss.h
+
15
−
1
View file @
4192fbcd
...
@@ -152,6 +152,10 @@ class ProcessorTrackerGnss : public ProcessorTrackerFeature
...
@@ -152,6 +152,10 @@ class ProcessorTrackerGnss : public ProcessorTrackerFeature
void
configure
(
SensorBasePtr
_sensor
)
override
;
void
configure
(
SensorBasePtr
_sensor
)
override
;
unsigned
int
getNTrackedSats
()
const
;
unsigned
int
getNUntrackedSats
()
const
;
protected:
protected:
ParamsProcessorTrackerGnssPtr
params_tracker_gnss_
;
ParamsProcessorTrackerGnssPtr
params_tracker_gnss_
;
...
@@ -260,7 +264,7 @@ inline ProcessorTrackerGnss::~ProcessorTrackerGnss()
...
@@ -260,7 +264,7 @@ inline ProcessorTrackerGnss::~ProcessorTrackerGnss()
//
//
}
}
inline
void
ProcessorTrackerGnss
::
configure
(
SensorBasePtr
_sensor
)
inline
void
ProcessorTrackerGnss
::
configure
(
SensorBasePtr
_sensor
)
{
{
sensor_gnss_
=
std
::
dynamic_pointer_cast
<
SensorGnss
>
(
_sensor
);
sensor_gnss_
=
std
::
dynamic_pointer_cast
<
SensorGnss
>
(
_sensor
);
assert
(
sensor_gnss_
!=
nullptr
&&
"configured a processor tracker gnss with a wrong sensor"
);
assert
(
sensor_gnss_
!=
nullptr
&&
"configured a processor tracker gnss with a wrong sensor"
);
...
@@ -273,6 +277,16 @@ inline bool ProcessorTrackerGnss::correctFeatureDrift(const FeatureBasePtr _orig
...
@@ -273,6 +277,16 @@ inline bool ProcessorTrackerGnss::correctFeatureDrift(const FeatureBasePtr _orig
return
true
;
return
true
;
}
}
inline
unsigned
int
ProcessorTrackerGnss
::
getNTrackedSats
()
const
{
return
known_features_last_
.
size
();
}
inline
unsigned
int
ProcessorTrackerGnss
::
getNUntrackedSats
()
const
{
return
untracked_last_features_
.
size
();
}
}
// namespace wolf
}
// namespace wolf
#endif
/* PROCESSOR_TRACKER_GNSS_H_ */
#endif
/* PROCESSOR_TRACKER_GNSS_H_ */
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