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
!2
Resolve "Enable Standard Point Positioning (SPP) computation"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Enable Standard Point Positioning (SPP) computation"
2-enable-standard-point-positioning-spp-computation
into
master
Overview
0
Commits
27
Pipelines
0
Changes
2
Merged
Pep Martí Saumell
requested to merge
2-enable-standard-point-positioning-spp-computation
into
master
5 years ago
Overview
0
Commits
27
Pipelines
0
Changes
2
Expand
Closes
#2 (closed)
0
0
Merge request reports
Viewing commit
3a959a6a
Prev
Next
Show latest version
2 files
+
22
−
66
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
3a959a6a
Receiver: Navigation and Observation attributes
· 3a959a6a
Pep Martí Saumell
authored
5 years ago
include/gnss_utils.h
+
11
−
25
Options
@@ -4,6 +4,8 @@
#include
<vector>
#include
<iostream>
#include
<memory>
#include
"observations.h"
#include
"navigation.h"
extern
"C"
{
@@ -15,32 +17,16 @@ namespace GNSSUtils
class
Receiver
{
public:
// Public objects
// Constructor & Destructor
Receiver
();
~
Receiver
();
// Public objects
// Public methods
/* - Observations - */
void
clearObservations
();
void
pushObservation
(
obsd_t
obs
);
std
::
vector
<
obsd_t
>
getObservations
();
/* - Navigation - */
void
clearNavigation
();
void
setNavigation
(
nav_t
nav
);
nav_t
getNavigation
();
const
std
::
shared_ptr
<
GNSSUtils
::
Observations
>
getObs
();
const
std
::
shared_ptr
<
GNSSUtils
::
Navigation
>
getNav
();
/* - Processing Options - */
@@ -73,13 +59,13 @@ namespace GNSSUtils
int
computeSPP
(
double
*
azel
,
char
*
msg
);
pr
ivate
:
pr
otected
:
// Private objects
//
rtklib-like
attribute to represent the different observation msgs for a given epoch
std
::
vector
<
obsd_t
>
_
obs
Vector
;
//
GNSSUtils::Observation
attribute to represent the different observation msgs for a given epoch
std
::
shared_ptr
<
GNSSUtils
::
Observations
>
obs
_ptr_
;
//
rtklib-like
attribute to represent the different navigation msgs for a given epoch
nav_t
_nav
;
//
GNSSUtils::Navigation
attribute to represent the different navigation msgs for a given epoch
std
::
shared_ptr
<
GNSSUtils
::
Navigation
>
nav_ptr_
;
// rtklib-like attribute to represent the different options for a given epoch
prcopt_t
_opt
;
Loading