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
Commits
53a87d9b
Commit
53a87d9b
authored
6 years ago
by
Pep Martí Saumell
Browse files
Options
Downloads
Patches
Plain Diff
Structure modified
parent
d63acedd
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/gnss_utils.h
+40
-5
40 additions, 5 deletions
include/gnss_utils.h
src/CMakeLists.txt
+2
-2
2 additions, 2 deletions
src/CMakeLists.txt
src/gnss_utils.cpp
+27
-0
27 additions, 0 deletions
src/gnss_utils.cpp
with
69 additions
and
7 deletions
include/gnss_utils.h
+
40
−
5
View file @
53a87d9b
#ifndef GNSS_UTILS_H
#define GNSS_UTILS_H
#include
<vector>
#include
<iostream>
#include
<memory>
extern
"C"
{
#include
"/home/jmarti/RTKLIB/src/rtklib.h"
}
class
TestObj
namespace
GNSSUtils
{
public:
obsd_t
observation
;
};
class
Observation
{
public:
obsd_t
GetRTKLIBObj
();
Observation
();
~
Observation
();
private:
gtime_t
_time
;
// Receiver sampling time
unsigned
char
_sat
;
// Satellite number
unsigned
char
_rcv
;
// Receiver number
std
::
vector
<
char
>
_SNR
;
std
::
vector
<
char
>
_LLI
;
std
::
vector
<
char
>
_code
;
std
::
vector
<
double
>
_L
;
std
::
vector
<
double
>
_P
;
std
::
vector
<
double
>
_D
;
};
class
Receiver
{
public:
Receiver
();
~
Receiver
();
std
::
shared_ptr
<
double
>
_obsPtr
;
void
UpdateObservation
();
private:
};
}
#endif
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
2
−
2
View file @
53a87d9b
...
...
@@ -2,7 +2,7 @@
SET
(
sources gnss_utils.cpp
)
# application header files
SET
(
headers gnss_utils.h
)
SET
(
headers
../include/
gnss_utils.h
)
# RTKLIB
INCLUDE
(
${
PROJECT_SOURCE_DIR
}
/cmake_modules/FindRTKLIB.cmake
)
...
...
@@ -32,4 +32,4 @@ INSTALL(TARGETS
LIBRARY DESTINATION /usr/local/lib
ARCHIVE DESTINATION lib
)
INSTALL
(
FILES
${
headers
}
DESTINATION include/gnss_utils
)
INSTALL
(
FILES ../gnss_utils.cmake DESTINATION
${
CMAKE_ROOT
}
/Modules/
)
#
INSTALL(FILES ../gnss_utils.cmake DESTINATION ${CMAKE_ROOT}/Modules/)
This diff is collapsed.
Click to expand it.
src/gnss_utils.cpp
+
27
−
0
View file @
53a87d9b
#include
"../include/gnss_utils.h"
using
namespace
GNSSUtils
;
Observation
::
Observation
()
{
}
Observation
::~
Observation
()
{
//
}
Receiver
::
Receiver
()
{
}
Receiver
::~
Receiver
()
{
}
void
Receiver
::
UpdateObservation
()
{
}
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