Skip to content
Snippets Groups Projects
Commit ffb6ace3 authored by Pep Martí Saumell's avatar Pep Martí Saumell
Browse files

Get Navigation

parent 04702d5a
No related branches found
No related tags found
1 merge request!2Resolve "Enable Standard Point Positioning (SPP) computation"
...@@ -28,7 +28,8 @@ namespace GNSSUtils ...@@ -28,7 +28,8 @@ namespace GNSSUtils
void setNavigation(nav_t nav); void setNavigation(nav_t nav);
nav_t getNavigation(); const nav_t & getNavigation() const;
nav_t & getNavigation();
/****************** Array memory management ******************/ /****************** Array memory management ******************/
......
...@@ -17,12 +17,12 @@ Receiver::~Receiver() ...@@ -17,12 +17,12 @@ Receiver::~Receiver()
const std::shared_ptr<GNSSUtils::Observations> Receiver::getObs() const std::shared_ptr<GNSSUtils::Observations> Receiver::getObs()
{ {
return obs_ptr_; // return obs_ptr_;
} }
const std::shared_ptr<GNSSUtils::Navigation> Receiver::getNav() const std::shared_ptr<GNSSUtils::Navigation> Receiver::getNav()
{ {
return nav_ptr_; // return nav_ptr_;
} }
/* - Processing options - */ /* - Processing options - */
......
...@@ -87,10 +87,15 @@ void Navigation::setNavigation(nav_t nav) ...@@ -87,10 +87,15 @@ void Navigation::setNavigation(nav_t nav)
*/ */
_nav = nav; // _nav = nav;
} }
nav_t Navigation::getNavigation() const nav_t & Navigation::getNavigation() const
{
return _nav;
}
nav_t & Navigation::getNavigation()
{ {
return _nav; return _nav;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment