Carles Fernandez
4f36210536
Fix warnings
2023-12-01 10:20:52 +01:00
Carles Fernandez
7132ee720a
Remove useless casts
2023-11-14 13:42:44 +01:00
Carles Fernandez
d30b87c2c1
Make cpplint happy
2023-05-08 12:47:00 +02:00
Carles Fernandez
f7c1d9bf91
Replace deprecated vsprintf by vsnprintf
2023-04-09 19:05:32 +02:00
Carles Fernandez
318c7cba9f
CI: Fix cpplint job
2023-03-21 11:06:09 +01:00
Carles Fernandez
b99d1afb36
Fix some truncation warnings
2023-03-21 09:24:11 +01:00
Carles Fernandez
0a11f1470a
Process and apply Galileo HAS corrections to the PVT solution
...
Add getters to Galileo_HAS_data class, improve implementation of existing ones
Process reception of HAS messages and inject corrections to RTKLIB
Apply HAS corrections to PVT computation within RTKLIB
Add configuration parameter PVT.use_has_corrections=true/false, true by default, to deactivate application of corrections but still retrieve HAS messages
Add configuration parameter PVT.use_unhealthy_sats=true/false, false by default, to use observables from satellites flagged as unhealthy
Use an unordered_map for signals and frequencies
2023-02-28 13:08:53 +01:00
Carles Fernandez
4a4d2d134e
Fix Wstringop-truncation warning
2022-12-17 14:03:28 +01:00
Carles Fernandez
e429a96601
Use boost::filesystem if std::filesystem is not available
2022-08-10 12:14:52 +02:00
Jim Melton
01fccabf82
one of these days, I'll learn to format before commit
2022-07-31 13:48:04 -06:00
Jim Melton
9c773a9dda
clang-tidy compromise; fix some, silence some
2022-07-31 13:45:17 -06:00
Jim Melton
e45632f827
run clang-format on ALL the modified files this time
2022-07-29 15:46:45 -06:00
Jim Melton
a0c1c0a001
improve string handling to avoid buffer overrun
2022-07-29 15:11:28 -06:00
Vladisslav P
59c9c6f8ab
RTKLIB: Switch to STL containers
...
...to prevent thread stack abuse.
And free up some stack space in Rtklib_Solver::get_PVT.
Signed-off-by: Vladisslav P <vladisslav2011@gmail.com>
2022-07-14 12:48:41 +03:00
Carles Fernandez
0c3ac1127b
Update references to latest GPS ICDs
2021-07-24 13:47:52 +02:00
Carles Fernandez
c7887a03e5
Fix defects detected by Coverity Scan
2021-01-28 20:14:00 +01:00
Carles Fernandez
bd87e4e9b7
Fix warning -Wstringop-truncation raised by GCC 11
2021-01-28 14:09:33 +01:00
Carles Fernandez
ddc5bcff01
Update references to new GPS ICDs
2021-01-12 10:34:55 +01:00
Carles Fernandez
21352a80d1
Apply and add clang-tidy ckecks readability-make-member-function-const and readability-qualified-auto
2020-12-30 21:49:29 +01:00
Carles Fernandez
499de7a9f1
Update file headers
2020-07-28 16:57:15 +02:00
Carles Fernandez
d3b7557dcf
Sort constants
...
no more GPS_L1_PI, GPS_L2_PI, etc. Values are written in a single point.
2020-07-05 20:20:02 +02:00
Carles Fernandez
3c4ec48d43
cpplint: fix whitespace/semicolon
2020-02-23 02:45:51 +01:00
Carles Fernandez
4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/ )
...
Update license headers to SPDX format (see https://spdx.org/ )
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez
dc3bf0172a
Update references and links to ICDs
2020-01-25 13:07:03 +01:00
Carles Fernandez
0c2efce10a
Replace custom_year parameter name and type by bool pre_2009_file to process files dated from 1999 to 2009
2019-09-18 18:25:07 +02:00
Carles Fernandez
837dcc6859
Improve formatting
2019-09-17 16:25:17 +02:00
Javier
630e94dbef
Fix TOW wrong rollover for modern ephemeris
2019-09-17 12:49:52 +02:00
Javier
ad51654fbf
Adding global configuration option to specify a custom year in order to postprocess old GNSS captures and avoid wrong week rollover
2019-09-13 16:36:41 +02:00
Carles Fernandez
85e30b4759
Fix conversion
2019-08-25 05:00:02 +02:00
Carles Fernandez
df05c7418e
Fix bugprone-too-small-loop-variable clang-tidy check warnings
2019-08-24 17:34:12 +02:00
Carles Fernandez
d36e9e431c
Avoid string truncation
2019-08-24 12:17:53 +02:00
Carles Fernandez
7e16077526
Remove all sprintf usages
...
Replaced by std::snprintf
2019-08-23 20:48:52 +02:00
Carles Fernandez
d4bb6e5731
Always have a space between // and comment
2019-08-18 22:16:13 +02:00
Carles Fernandez
e89a92469b
Remove all c-style casts
2019-08-16 15:19:31 +02:00
Carles Fernandez
a66ef4fb34
Apply modernize-redundant-void-arg clang-tidy check
2019-08-14 00:47:48 +02:00
Carles Fernandez
bbaa9310ec
Ensure that buffers are always terminated
2019-08-13 20:49:48 +02:00
Carles Fernandez
76515228b0
Avoid garbage values
2019-08-13 14:35:21 +02:00
Carles Fernandez
6c5a4c4859
Remove usage of strcpy
...
See CWE-119 https://cwe.mitre.org/data/definitions/119.html
2019-08-13 13:10:45 +02:00
Carles Fernandez
487010346f
Apply readability-isolate-declaration clang-tidy check
2019-08-13 00:19:31 +02:00
Carles Fernandez
070996cdb4
Apply clang-tidy check readability-else-after-return
2019-08-04 13:15:03 +02:00
Carles Fernandez
471428f867
Fix typos detected by codespell
2019-07-20 12:55:46 +02:00
Carles Fernandez
c37b3e00b5
Use uppercase literal suffix
2019-06-29 14:22:15 +02:00
Javier Arribas
87e30c2fcb
Fix TOW week crossover in PVT time prints and rinex obs prints
2019-05-09 18:05:46 +02:00
Javier Arribas
7ed88c26b6
Fix the TOW weel crossover situation in observables and PVT
2019-05-08 14:55:14 +02:00
Carles Fernandez
ba73da0081
Clean includes
2019-03-16 13:44:53 +01:00
Carles Fernandez
62a7e54359
Introduce readability-identifier-naming check
...
This commit enforces naming style for Classes and global constants:
Camel_Snake_Case for Classes
UPPER_CASE for global constants
CamelCase for abstract classes
2019-02-22 10:47:24 +01:00
Carles Fernandez
73b7341904
clang-tidy: apply readability-braces-around-statements plus code formatting
...
See http://releases.llvm.org/7.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability-braces-around-statements.html
Code formatting applied with:
find ../src/ -iname *.h -o -iname *.cc | xargs clang-format -i
2019-02-11 21:13:02 +01:00
Carles Fernandez
dfc963ad86
clang-tidy: apply readability-else-after-return check
...
See https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html
2019-02-11 15:53:50 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage
2019-02-03 19:24:44 +01:00
Carles Fernandez
5f79053d65
Sort includes automatically with clang-format
...
Order:
1.- Main header
2.- Local headers
3.- Third-party library headers
4.- System headers
each category sorted lexicographically
2018-12-09 22:00:09 +01:00