Skip to content
Snippets Groups Projects

Resolve "Enable Standard Point Positioning (SPP) computation"

2 files
+ 22
66
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 11
25
@@ -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);
private:
protected:
// Private objects
// rtklib-like attribute to represent the different observation msgs for a given epoch
std::vector<obsd_t> _obsVector;
// 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