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
13142022
Commit
13142022
authored
4 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
prints
parent
ffdeedde
No related branches found
Branches containing commit
No related tags found
Tags containing commit
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
src/processor/processor_tracker_gnss.cpp
+15
-4
15 additions, 4 deletions
src/processor/processor_tracker_gnss.cpp
with
15 additions
and
4 deletions
src/processor/processor_tracker_gnss.cpp
+
15
−
4
View file @
13142022
...
...
@@ -146,6 +146,8 @@ unsigned int ProcessorTrackerGnss::trackFeatures(const FeatureBasePtrList& _feat
assert
(
_capture
==
incoming_ptr_
);
int
common_sats
=
0
;
for
(
auto
feat_in
:
_features_in
)
{
auto
feat_in_gnss
=
std
::
dynamic_pointer_cast
<
FeatureGnssSatellite
>
(
feat_in
);
...
...
@@ -155,6 +157,9 @@ unsigned int ProcessorTrackerGnss::trackFeatures(const FeatureBasePtrList& _feat
WOLF_DEBUG
(
"tracking "
,
feat_in
->
trackId
()
,
", sat number "
,
sat_num
);
if
(
untracked_incoming_features_
.
count
(
sat_num
)
!=
0
)
common_sats
++
;
if
(
untracked_incoming_features_
.
count
(
sat_num
)
!=
0
and
std
::
abs
(
untracked_incoming_features_
.
at
(
sat_num
)
->
getObservation
().
L
[
0
])
>
1e-12
)
// Track only carrier phase valid
{
...
...
@@ -171,7 +176,9 @@ unsigned int ProcessorTrackerGnss::trackFeatures(const FeatureBasePtrList& _feat
WOLF_DEBUG_COND
(
untracked_incoming_features_
.
count
(
sat_num
)
==
1
,
"
\t
not tracked, wrong carrier phase value"
);
}
}
WOLF_WARN_COND
(
_features_out
.
empty
()
and
not
_features_in
.
empty
(),
"ProcessorTrackerGnss::trackFeatures: LOST TRACK OF ALL SATELLITES of "
,
_features_in
.
size
(),
" - "
,
common_sats
,
" wrong Carrier Phase info."
);
WOLF_DEBUG
(
"ProcessorTrackerGnss::trackFeatures: tracked "
,
_features_out
.
size
(),
" (of "
,
_features_in
.
size
(),
")"
);
return
_features_out
.
size
();
...
...
@@ -680,9 +687,13 @@ void ProcessorTrackerGnss::removeOutliers(FactorBasePtrList fac_list, CaptureBas
//assert(false);
fac
->
remove
();
}
WOLF_INFO
(
"ProcessorTrackerGnss::removeOutliers:"
,
"
\n\t
Pseudorange: "
,
outliers_pseudorange_
,
"
\t
( "
,
(
100.0
*
outliers_pseudorange_
)
/
(
outliers_pseudorange_
+
inliers_pseudorange_
),
" %)"
);
if
(
params_tracker_gnss_
->
gnss_opt
.
tdcp
.
enabled
and
params_tracker_gnss_
->
remove_outliers_tdcp
)
WOLF_INFO_COND
(
not
remove_fac
.
empty
(),
"ProcessorTrackerGnss::removeOutliers:"
,
"
\n\t
Pseudorange: "
,
outliers_pseudorange_
,
"
\t
( "
,
(
100.0
*
outliers_pseudorange_
)
/
(
outliers_pseudorange_
+
inliers_pseudorange_
),
" %)"
);
if
(
not
remove_fac
.
empty
()
and
params_tracker_gnss_
->
gnss_opt
.
tdcp
.
enabled
and
params_tracker_gnss_
->
remove_outliers_tdcp
)
std
::
cout
<<
"
\t
TDCP: "
<<
outliers_tdcp_
<<
"
\t
( "
...
...
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