Carles Fernandez
34d203a138
Fix Galileo date
2019-11-04 21:10:27 +01:00
Carles Fernandez
7f65e726f5
Cleaner call to function
2019-09-19 21:51:29 +02: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
e80122f4ff
Apply clang tidy checks and clang-format
2019-09-13 08:56:37 +02:00
Carles Fernandez
5b83902d87
Trim snprintf maximum length
2019-08-25 14:59:17 +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
6c3af29485
Fix API usage errors
2019-08-19 21:58:50 +02:00
Carles Fernandez
a754a070a1
Fix API usage errors
2019-08-19 16:13:23 +02:00
Carles Fernandez
730769d5f3
Fix API usage errors
2019-08-19 13:11:13 +02:00
Carles Fernandez
d4bb6e5731
Always have a space between // and comment
2019-08-18 22:16:13 +02:00
Carles Fernandez
4dd8aa12b4
Replace C style casts by C++ casts
2019-08-18 12:54:16 +02:00
Carles Fernandez
e4c3ee7527
Remove redundant blank lines at the end of a code block
2019-08-17 15:29:31 +02:00
Carles Fernandez
b2045076bd
Fix typo
2019-08-17 14:26:11 +02:00
Carles Fernandez
afc7f1031c
Remove tabs
2019-08-17 14:23:35 +02:00
Carles Fernandez
c31d9dea40
Fix errors risen by include_what_you_use
2019-08-17 13:56:54 +02:00
Carles Fernandez
0066d581a1
Fix warning raised by clang-tidy check cert-flp30-c
...
Loop induction expression should not have floating-point type
2019-08-16 15:37:39 +02:00
Carles Fernandez
e89a92469b
Remove all c-style casts
2019-08-16 15:19:31 +02:00
Carles Fernandez
d298bdf0a9
Remove unused functions with defects in memory management
2019-08-14 20:06:48 +02:00
Carles Fernandez
c52a3dd4b5
Remove unused variables
2019-08-14 12:48:09 +02:00
Carles Fernandez
4eb8f2c14e
Avoid C99 extensions in initializations
2019-08-14 11:10:51 +02:00
Carles Fernandez
a66ef4fb34
Apply modernize-redundant-void-arg clang-tidy check
2019-08-14 00:47:48 +02:00
Carles Fernandez
e693e3f1a4
Fix -Wstringop-truncation warning
2019-08-13 22:03:58 +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
8867a9327c
Avoid null pointer argument in call to string comparison function
2019-08-13 13:52:43 +02:00
Carles Fernandez
1bfa866354
Remove usage of deprecated bzero, replaced by memset
2019-08-13 13:48:17 +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
a4d6800e22
Update copyright year
...
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +02:00
Carles Fernandez
56b65df044
Improve initialization
...
Works in Linux and MacOS
2019-07-26 00:55:16 +02:00
Carles Fernandez
471428f867
Fix typos detected by codespell
2019-07-20 12:55:46 +02:00
Carles Fernandez
0e54fad652
Merge branch 'bds_fix' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-bds_fix
2019-07-15 09:48:31 +02:00
Damian Miralles
410269069a
bds: Bug fixes in carrier wavelength computation
...
Changed wavelength computation to native method within RTKLIb. The native method
should also help in the PVT computation of GLONASS satellites as it considers
the freq. offset when computing the wavelength. This also fixes typo in tracking
stage for MEO satellites of the BDS constellation.
Note: A similar approach to carrier wavelength computation should be applied to
the obs_data in rtk_solver. In theory, static allocation should not be needed for
the types.
2019-07-14 20:09:52 -05:00
Carles Fernandez
4dfb2cf5d2
Avoid out-of-bounds read
2019-07-14 03:17:57 +02:00
Carles Fernandez
89aa7c61e6
Avoid out-of-bounds read
2019-07-14 03:00:26 +02:00
Damian Miralles
81ad7484bd
Merge branch 'next' into bds_b3i_bug_fix
2019-07-10 09:21:54 -05:00
Damian Miralles
6ba57f0e12
bds_b3i: fixing pvt computation for bds b3i single freq solution
2019-07-02 18:57:44 -05:00
Carles Fernandez
c37b3e00b5
Use uppercase literal suffix
2019-06-29 14:22:15 +02:00
Javier Arribas
33636758f1
Moving TOW crossover GPS time adjustment to convenient location
2019-05-13 12:13:35 +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
77851e5589
BeiDou B3I bug fixes (credits to dmiralles2019)
2019-03-26 22:34:08 +01:00
Damian Miralles
1a2d90a8f1
bds_b3i: fixing bugs in pvt computation
2019-03-26 22:15:31 +01:00
Carles Fernandez
cb59c1cc83
Fix bug in MacOS when BeiDou was enabled in rtklib.h
...
The BLAS and LAPACK implementations that come with the Accelerate Framework (soft-linked in /usr/bin) caused a random crash when exiting the program, only if the variable ENABDS was set. This bug disappears when linking to the libraries that Homebrew or Macports install, or when manually downloaded, built and installed by the user
2019-03-22 11:00:13 +01:00
Damian Miralles
10910269f4
Merge branch 'next' into bds_b3i. Keep code up to date
2019-03-17 18:58:44 -05:00
Carles Fernandez
e6931eb86d
Add header, minor cleaning
2019-03-17 02:26:34 +01:00
Carles Fernandez
ba73da0081
Clean includes
2019-03-16 13:44:53 +01:00
Damian Miralles
90f8c2fe33
bds_b3i: working on bug for D1 and D2 messages
2019-03-13 17:25:37 -05:00
Carles Fernandez
dd7a52c93b
Fix headers
2019-03-06 21:54:39 +01:00
Carles Fernandez
c82c7225dd
Improve includes with the aid of include-what-you-use (IWYU)
...
See rationale at https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/WhyIWYU.md
2019-03-05 08:59:04 +01:00
Carles Fernandez
8e66577ee9
Reorder PVT
...
Add includes
Reorder CMake scripts
Put work at the end of the file
2019-02-26 01:38:48 +01:00
Carles Fernandez
07259159af
Apply clang-tidy checks
2019-02-22 21:34:15 +00: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
b5e5277662
Fix random crashes when program ended in macOS
...
The program randomly crashed when destroying the pvt block (EXC_BAD_ACCESS). This didn’t happen on Linux.
Beidou PVT fixes not available in macOS until finding the root cause.
2019-02-18 22:29:50 +01:00
Carles Fernandez
0a1df17cca
Fix building in debug mode
...
Fixes for macOS
2019-02-17 13:36:13 +01:00
Carles Fernandez
b5c59ee6f7
Fix defects detected by Coverity Scan
2019-02-14 22:49:36 +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
b9c115bdf8
clang-tidy: apply modernize-use-using check
2019-02-11 13:13:06 +01:00
Carles Fernandez
75bd492d96
Change CMake target names to more meaningful ones, reflecting the code tree
2019-02-10 18:34:28 +01:00
Carles Fernandez
ce051e040f
Improve target design
2019-02-10 01:13:02 +01:00
Carles Fernandez
74950e9856
Set some compile definitions to private
2019-02-05 02:21:56 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts
2019-02-04 22:44:45 +01:00
Carles Fernandez
9b94a4dec0
Add more imported targets to CMake scripts
2019-02-04 16:07:29 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage
2019-02-03 19:24:44 +01:00
Carles Fernandez
c561d7e799
Applying code formatting rules
2019-01-28 02:29:43 +01:00
Damian Miralles
2865e97b84
bds_b1i: Adding pvt computation with BeiDou B1I satellites
2018-12-28 19:01:22 -06:00
Damian Miralles
0c4b8b25f1
bds_b1i: Adding new tel dec block structure
2018-12-23 12:51:28 -06:00
Damian Miralles
42b506d0bb
bds b1i: Merging latest changes from upstream/next
2018-12-18 15:55:36 -06:00
Carles Fernandez
432c6b9c70
Miscelaneous clang-tidy fixes
2018-12-14 02:14:43 +01:00
Damian Miralles
0d94f9e1b7
bds b1i: some bug corrections in the code
2018-12-13 07:57:42 -07:00
Carles Fernandez
38858dece6
Apply clang-tidy fix readability-non-const-parameter
2018-12-11 12:38:38 +01:00
Carles Fernandez
f351615ef9
Apply clang-tidy fix modernize-use-bool-literals
2018-12-11 12:08:54 +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
Carles Fernandez
8925ca7066
Fix building in Mac OS
2018-12-08 19:08:53 +01:00
Carles Fernandez
17260bbcea
Miscelaneous code improvements by clang-tidy
2018-12-08 18:49:31 +01:00
Carles Fernandez
81a4d24ae9
Use nullptr
2018-12-07 21:00:30 +01:00
Damian Miralles
352c82827e
bds_b1i: enabling bds processing in rtklib processing
2018-12-05 15:08:22 -07:00
Carles Fernandez
327fec627c
clang-tidy: apply readability-else-after-return fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html )
2018-12-03 22:08:19 +01:00
Carles Fernandez
b5c0cc04e5
clang-tidy: apply modernize-raw-string-literal fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-raw-string-literal.html )
2018-12-03 17:04:16 +01:00
Damian Miralles
e40999572f
bds b1i: Bug fixes in navigation code
...
Fixes bugs with the conversion to rtklib standard from gnss-sdr.
2018-12-03 09:39:39 -06:00
Carles Fernandez
0d408a6024
clang-tidy: apply modernize-use-auto fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html )
2018-12-03 16:25:11 +01:00
Carles Fernandez
9d94910e1b
Fix building
2018-12-03 10:12:38 +01:00
Carles Fernandez
8e79786218
Fix building
2018-12-03 10:12:03 +01:00
Carles Fernandez
0a46cb1fe1
Use nullptr
2018-12-03 10:05:47 +01:00
Damian Miralles
8db3f21070
bds b11: Get latest changes and add bds functions in rtk module
...
Merge branch 'next' into bds_b1i. Also fixes multiple bugs with the
addition of bds b1i signals into code. Major changes where fixed and
code to support RINEX and RTCM is needed
2018-11-29 09:56:54 -06:00
Damian Miralles
0507febd7f
bds b1i: quick fixes to b1i code, preparing for merge
2018-11-28 14:18:35 -06:00
Carles Fernandez
87d1413447
Make cmakelint happier
2018-11-24 18:40:34 +01:00
Carles Fernandez
4bdb8c3bc4
Fix computation of satellite elevation when using the GPS Almanac
2018-11-22 15:19:36 +01:00
Carles Fernandez
a59ffca8a1
Fix Galileo sats position computation from Almanac data
2018-11-22 11:59:49 +01:00
Carles Fernandez
b0ba246934
Apply some style rules to CMake scripts
2018-11-22 00:35:21 +01:00
Carles Fernandez
d77448cd76
Improve data types for almanac parameters
2018-11-07 22:25:09 +01:00
Javier
01a1954b15
Adding the Hotstart telecommand implementation to predict visible satellites for GPS and Galileo constellations
2018-11-05 17:53:53 +01:00