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
f219285b
Commit
f219285b
authored
5 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
WIP
parent
8b3bfdbe
No related branches found
No related tags found
2 merge requests
!20
new tag
,
!19
new tag
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+10
-8
10 additions, 8 deletions
CMakeLists.txt
include/gnss_utils/utils/utils.h
+0
-3
0 additions, 3 deletions
include/gnss_utils/utils/utils.h
src/utils/utils.cpp
+0
-6
0 additions, 6 deletions
src/utils/utils.cpp
with
10 additions
and
17 deletions
CMakeLists.txt
+
10
−
8
View file @
f219285b
...
...
@@ -117,15 +117,16 @@ SET(RTKLIB_SRC
# application header files
SET
(
HEADERS
include/gnss_utils/utils/utils.h
include/gnss_utils/utils/transformations.h
include/gnss_utils/utils/rcv_position.h
include/gnss_utils/utils/sat_position.h
include/gnss_utils/observations.h
include/gnss_utils/navigation.h
include/gnss_utils/tdcp.h
include/gnss_utils/ublox_raw.h
${
RTKLIB_SRC_DIR
}
/rtklib.h
)
${
RTKLIB_SRC_DIR
}
/rtklib.h
)
SET
(
HEADERS_UTILS
include/gnss_utils/utils/utils.h
include/gnss_utils/utils/transformations.h
include/gnss_utils/utils/rcv_position.h
include/gnss_utils/utils/sat_position.h
)
# Eigen #######
FIND_PACKAGE
(
Eigen3 REQUIRED
)
...
...
@@ -155,10 +156,11 @@ endif()
# Installing
INSTALL
(
TARGETS
${
PROJECT_NAME
}
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib/iri-algorithms
ARCHIVE DESTINATION lib/iri-algorithms
)
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib/iri-algorithms
ARCHIVE DESTINATION lib/iri-algorithms
)
INSTALL
(
FILES
${
HEADERS
}
DESTINATION include/iri-algorithms/gnss_utils
)
INSTALL
(
FILES
${
HEADERS_UTILS
}
DESTINATION include/iri-algorithms/gnss_utils/utils
)
INSTALL
(
FILES Findgnss_utils.cmake DESTINATION
${
CMAKE_ROOT
}
/Modules/
)
INSTALL
(
FILES
"
${
GNSS_UTILS_CONFIG_DIR
}
/config.h"
DESTINATION include/iri-algorithms/gnss_utils/internal
)
...
...
This diff is collapsed.
Click to expand it.
include/gnss_utils/utils/utils.h
+
0
−
3
View file @
f219285b
...
...
@@ -39,13 +39,10 @@ bool equalArray(const T* array1, const T* array2, const int& size1, const int& s
}
// namespace GnssUtils
//bool equalTime(const gtime_t& time1, const gtime_t& time2);
bool
operator
==
(
const
gtime_t
&
time1
,
const
gtime_t
&
time2
);
bool
operator
!=
(
const
gtime_t
&
time1
,
const
gtime_t
&
time2
);
//bool equalObservations(const obsd_t& obs1, const obsd_t& obs2);
bool
operator
==
(
const
obsd_t
&
obs1
,
const
obsd_t
&
obs2
);
bool
operator
!=
(
const
obsd_t
&
obs1
,
const
obsd_t
&
obs2
);
//bool equalObservations(const obs_t& obs1, const obs_t& obs2);
bool
operator
==
(
const
obs_t
&
obs1
,
const
obs_t
&
obs2
);
bool
operator
!=
(
const
obs_t
&
obs1
,
const
obs_t
&
obs2
);
...
...
This diff is collapsed.
Click to expand it.
src/utils/utils.cpp
+
0
−
6
View file @
f219285b
...
...
@@ -64,7 +64,6 @@ void printArray(std::string _name, float* _array, int size)
}
// namespace GnssUtils
bool
operator
==
(
const
gtime_t
&
time1
,
const
gtime_t
&
time2
)
//bool equalTime(const gtime_t& time1, const gtime_t& time2)
{
return
(
difftime
(
time1
.
time
,
time2
.
time
)
==
0.0
&&
time1
.
sec
==
time2
.
sec
);
}
...
...
@@ -75,10 +74,7 @@ bool operator!=(const gtime_t& time1, const gtime_t& time2)
}
bool
operator
==
(
const
obsd_t
&
obs1
,
const
obsd_t
&
obs2
)
//bool equalObservations(const obsd_t& obs1, const obsd_t& obs2)
{
std
::
cout
<<
"operator==
\n
"
;
return
obs1
.
time
==
obs2
.
time
&&
obs1
.
eventime
==
obs2
.
eventime
&&
obs1
.
timevalid
==
obs2
.
timevalid
&&
...
...
@@ -101,9 +97,7 @@ bool operator!=(const obsd_t& obs1, const obsd_t& obs2)
}
bool
operator
==
(
const
obs_t
&
obs1
,
const
obs_t
&
obs2
)
//bool equalObservations(const obs_t& obs1, const obs_t& obs2)
{
std
::
cout
<<
"operator==
\n
"
;
return
obs1
.
n
==
obs2
.
n
&&
obs1
.
nmax
==
obs2
.
nmax
&&
obs1
.
flag
==
obs2
.
flag
&&
...
...
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