Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gnss_utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
labrobotica
algorithms
gnss_utils
Merge requests
!11
Resolve "Add Novatel raw data stream"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Add Novatel raw data stream"
11-add-novatel-raw-data-stream
into
devel
Overview
0
Commits
11
Pipelines
0
Changes
1
Merged
Pep Martí Saumell
requested to merge
11-add-novatel-raw-data-stream
into
devel
4 years ago
Overview
0
Commits
11
Pipelines
0
Changes
1
Expand
Closes
#11 (closed)
Edited
4 years ago
by
Pep Martí Saumell
0
0
Merge request reports
Viewing commit
0dc9fee9
Prev
Next
Show latest version
1 file
+
0
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
0dc9fee9
[modif] removed debug prints
· 0dc9fee9
Pep Martí Saumell
authored
4 years ago
src/receiver_raw_base.cpp
0 → 100644
+
29
−
0
Options
#include
"gnss_utils/receiver_raw_base.h"
namespace
GnssUtils
{
ReceiverRawAbstract
::
ReceiverRawAbstract
()
:
raw_data_type_
(
NO
)
{
if
(
init_raw
(
&
raw_data_
,
STRFMT_UBX
)
==
0
)
{
assert
(
"Failed when allocating memory for raw_t"
);
return
;
}
}
ReceiverRawAbstract
::~
ReceiverRawAbstract
()
{
free_raw
(
&
raw_data_
);
}
void
ReceiverRawAbstract
::
updateObservations
()
{
// sort and remove duplicated observations
sortobs
(
&
raw_data_
.
obs
);
obs_
.
clearObservations
();
for
(
int
ii
=
0
;
ii
<
raw_data_
.
obs
.
n
;
++
ii
)
obs_
.
addObservation
(
raw_data_
.
obs
.
data
[
ii
]);
}
}
// namespace GnssUtils
\ No newline at end of file
Loading