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
5cd8859f
Commit
5cd8859f
authored
5 years ago
by
Pep Martí Saumell
Browse files
Options
Downloads
Patches
Plain Diff
[modification] changed `equal` functions by operators
parent
90b8a46f
No related branches found
No related tags found
3 merge requests
!20
new tag
,
!19
new tag
,
!7
Resolve "navigation_tests"
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/gnss_utils/utils/utils.h
+32
-16
32 additions, 16 deletions
include/gnss_utils/utils/utils.h
src/utils/utils.cpp
+225
-412
225 additions, 412 deletions
src/utils/utils.cpp
with
257 additions
and
428 deletions
include/gnss_utils/utils/utils.h
+
32
−
16
View file @
5cd8859f
...
...
@@ -155,29 +155,45 @@ bool equalArray3d(const T* array_1,
return
true
;
}
bool
equalTime
(
const
gtime_t
&
time1
,
const
gtime_t
&
time2
);
bool
equalObservations
(
const
obsd_t
&
obs1
,
const
obsd_t
&
obs2
);
bool
equalObservations
(
const
obs_t
&
obs1
,
const
obs_t
&
obs2
);
bool
equalEphemeris
(
const
eph_t
&
eph1
,
const
eph_t
&
eph2
);
bool
equalGlonassEphemeris
(
const
geph_t
&
geph1
,
const
geph_t
&
geph2
);
bool
equalSbasEphemeris
(
const
seph_t
&
seph1
,
const
seph_t
&
seph2
);
bool
equalPreciseEphemeris
(
const
peph_t
&
peph1
,
const
peph_t
&
peph2
);
bool
equalPreciseClock
(
const
pclk_t
&
pclk1
,
const
pclk_t
&
pclk2
);
bool
equalAlmanac
(
const
alm_t
&
alm1
,
const
alm_t
&
alm2
);
bool
equalTecGrid
(
const
tec_t
&
tec1
,
const
tec_t
&
tec2
);
bool
equalFcb
(
const
fcbd_t
&
fcbd1
,
const
fcbd_t
&
fcbd2
);
bool
equalEarthRotationParameters
(
const
erp_t
&
erp1
,
const
erp_t
&
erp2
);
bool
equalNavigations
(
const
nav_t
&
nav1
,
const
nav_t
&
nav2
);
}
// namespace GnssUtils
bool
operator
==
(
const
gtime_t
&
time1
,
const
gtime_t
&
time2
);
bool
operator
!=
(
const
gtime_t
&
time1
,
const
gtime_t
&
time2
);
bool
operator
==
(
const
obsd_t
&
obs1
,
const
obsd_t
&
obs2
);
bool
operator
!=
(
const
obsd_t
&
obs1
,
const
obsd_t
&
obs2
);
bool
operator
==
(
const
obs_t
&
obs1
,
const
obs_t
&
obs2
);
bool
operator
!=
(
const
obs_t
&
obs1
,
const
obs_t
&
obs2
);
bool
operator
==
(
const
eph_t
&
eph1
,
const
eph_t
&
eph2
);
bool
operator
!=
(
const
eph_t
&
eph1
,
const
eph_t
&
eph2
);
bool
operator
==
(
const
geph_t
&
geph1
,
const
geph_t
&
geph2
);
bool
operator
!=
(
const
geph_t
&
geph1
,
const
geph_t
&
geph2
);
bool
operator
==
(
const
seph_t
&
seph1
,
const
seph_t
&
seph2
);
bool
operator
!=
(
const
seph_t
&
seph1
,
const
seph_t
&
seph2
);
bool
operator
==
(
const
peph_t
&
peph1
,
const
peph_t
&
peph2
);
bool
operator
!=
(
const
peph_t
&
peph1
,
const
peph_t
&
peph2
);
bool
operator
==
(
const
pclk_t
&
pclk1
,
const
pclk_t
&
pclk2
);
bool
operator
!=
(
const
pclk_t
&
pclk1
,
const
pclk_t
&
pclk2
);
bool
operator
==
(
const
alm_t
&
alm1
,
const
alm_t
&
alm2
);
bool
operator
!=
(
const
alm_t
&
alm1
,
const
alm_t
&
alm2
);
bool
operator
==
(
const
tec_t
&
tec1
,
const
tec_t
&
tec2
);
bool
operator
!=
(
const
tec_t
&
tec1
,
const
tec_t
&
tec2
);
bool
operator
==
(
const
fcbd_t
&
fcbd1
,
const
fcbd_t
&
fcbd2
);
bool
operator
!=
(
const
fcbd_t
&
fcbd1
,
const
fcbd_t
&
fcbd2
);
bool
operator
==
(
const
erp_t
&
erp1
,
const
erp_t
&
erp2
);
bool
operator
!=
(
const
erp_t
&
erp1
,
const
erp_t
&
erp2
);
bool
operator
==
(
const
nav_t
&
nav1
,
const
nav_t
&
nav2
);
bool
operator
!=
(
const
nav_t
&
nav1
,
const
nav_t
&
nav2
);
#endif // INCLUDE_GNSS_UTILS_UTILS_UTILS_H_
This diff is collapsed.
Click to expand it.
src/utils/utils.cpp
+
225
−
412
View file @
5cd8859f
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