1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-10-01 16:30:50 +00:00
Commit Graph

299 Commits

Author SHA1 Message Date
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
Damian Miralles
e22f8e57c1 beidou b1i: renaming objects of nav decoding 2018-10-22 15:12:50 -05:00
Damian Miralles
8c16d945f8 beidou b1i: Merging new changes and adding bug fixes to code 2018-10-22 14:16:38 -05:00
Carles Fernandez
4d2f7ef966 Fix computation of velocity in other bands than L1 2018-10-19 10:51:00 +02:00
Carles Fernandez
3d1318a70a
Improve PVT accuracy for GPS L1 2018-10-10 00:17:42 +02:00
Carles Fernandez
98f5507fbb
Remove redefined functions 2018-10-04 23:06:38 +02:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files 2018-10-04 22:35:44 +02:00
Carles Fernandez
8d195e3259
Remove unused variables 2018-08-28 20:20:34 +02:00
Rodrigo Ventura
ad6bbee930 Fix build issue in OS X
Define of thread_t to pthread_t in rtklib.h was colliding with system
include in OS X. Not used elsewhere, so find&replaced with pthread_t.
2018-08-23 09:08:31 +01:00
Sergi Segura
fc98fa6afe cleaning code for gsoc 2018-08-12 23:58:16 +02:00
Carles Fernandez
5c80be5b9e
Set maximum Galileo PRN to 36 2018-07-28 18:32:40 +02:00
Carles Fernandez
5fc1e018fd
Clean source code, update to new gnss_synchro parameter name 2018-06-05 22:53:34 +02:00
Carles Fernandez
fd2e5d9a00
Improve initialization (fix clang warning) 2018-06-03 19:14:56 +02:00
Carles Fernandez
61e9e60477
Improve initializations (fix clang warning) 2018-06-03 14:48:31 +02:00
Carles Fernandez
559cc00bd7
Avoid dereference after null check 2018-05-21 04:05:13 +02:00
Carles Fernandez
f44508b53f
Make Coverity Scan happy 2018-05-19 23:13:50 +02:00
Carles Fernandez
7d4fe83fb6
Make Coverity Scan happy 2018-05-19 22:33:03 +02:00
Carles Fernandez
bf23bc1e3e
Make Coverity Scan happy 2018-05-19 20:56:27 +02:00
Carles Fernandez
2b7ccc11b9
Make Coverity Scan happy 2018-05-19 20:42:50 +02:00
Carles Fernandez
0f4306d0d9
Avoid uninitialized variable 2018-05-19 17:08:13 +02:00
Carles Fernandez
046a24e0ca
Fix typo 2018-05-16 21:51:20 +02:00
Carles Fernandez
835cf3b11e
Rename CMake module for gr-iio to a more consistent name. Minor fixes 2018-05-16 21:33:52 +02:00
Carles Fernandez
1195234df1
Fix warnings raised by GCC 8.1.1 2018-05-16 18:32:27 +02:00
Carles Fernandez
0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +02:00
Antonio Ramos
a421d2fc5a Minor change 2018-04-03 15:37:26 +02:00
Antonio Ramos
ebb908f2e7 Merge branch 'next' into observables_and_display_color 2018-04-03 11:01:59 +02:00
Carles Fernandez
622a76668d Fix typos 2018-03-26 00:50:55 +02:00
Carles Fernandez
0400034d14 Fix typos detected by codespell 2018-03-25 19:47:28 +02:00
Antonio Ramos
e94d7296dc Add warnings to tracking adapters 2018-03-20 12:04:53 +01:00
Antonio Ramos
0057e60924 Clean code 2018-03-12 11:12:41 +01:00
Antonio Ramos
ecb4a4970a Disable eph update when L1 + L2 2018-03-09 13:05:25 +01:00
Antonio Ramos
93d2fdaf14 debug 9 2018-03-08 18:05:22 +01:00
Antonio Ramos
be5139e5f7 Merge branch 'next' into debug 2018-03-06 16:19:52 +01:00
Antonio Ramos
de3bf9d480 debug8 2018-03-06 15:58:48 +01:00
Antonio Ramos
21fff4e696 Fix CNAV telemetry reader 2018-03-06 13:23:22 +01:00
Antonio Ramos
a25a6fb556 debug 6 2018-03-05 18:34:20 +01:00
Antonio Ramos
8d37013e96 debug 5 2018-03-05 13:07:47 +01:00
Antonio Ramos
7646568314 debug4 2018-03-05 11:05:58 +01:00
Carles Fernandez
07b25ebb06 Apply clang-format to the whole source tree 2018-03-04 02:04:27 +01:00
Carles Fernandez
34f24562cf Apply automated code formatting
Documented at .clang-format
See http://clang.llvm.org/docs/ClangFormat.html and http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2018-03-03 02:03:39 +01:00
Antonio Ramos
3ce49ada96 debug 3 2018-03-02 13:30:21 +01:00
Antonio Ramos
a216d22509 debug2 2018-03-02 11:23:38 +01:00
Antonio Ramos
b3c6d94cb6 debug1 2018-03-02 10:29:43 +01:00
Carles Fernandez
658e677fc3 Reorder includes: local headers first, then 3rd-party library headers, and finally standard headers 2018-02-26 03:15:53 +01:00
Antonio Ramos
30362f5d98 Minor changes 2018-02-12 16:52:09 +01:00
Carles Fernandez
efd64532d0 Avoid buffer overflow 2018-02-07 18:36:34 +01:00
Carles Fernandez
96af5fc6e6 Avoid potential overflow 2018-02-03 11:11:05 +01:00
Carles Fernandez
b301ed19c6 Merge remote-tracking branch 'upstream/next' into glonass 2018-01-24 00:52:09 +01:00
Antonio Ramos
52aabf05c1 Fix GPS L5 2017-12-15 10:57:12 +01:00
Antonio Ramos
26a521907a Minor changes 2017-12-12 17:59:13 +01:00
Carles Fernandez
7ac5e7c833 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glonass 2017-12-02 13:48:45 +01:00
Antonio Ramos
140b388066 Modify RTKLIB PVT band selection and Tel. Dec. E5a 2017-11-29 12:00:05 +01:00
Carles Fernandez
4f9d6afd7d Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into dmiralles2009-glonass_dec 2017-11-03 16:30:24 +01:00
Damian Miralles
e636bba59a position fix: First GLONASS position fix
First GLONASS L1 C/A position fix using GNSS-SDR. Fixes bug in toe
reporting for GLONASS and cleans up the code a bit. Small bug with
RINEX file still present but achievement deserves its own commit.
2017-11-01 21:05:40 -06:00
Carles Fernandez
ffde1309b9 Fix compilation error 2017-10-31 11:23:41 +01:00
Carles Fernandez
16c0d5a2c8 Small fix 2017-10-31 07:23:43 +01:00
Damian Miralles
c9fba22307 bugreport: Time managment with boost posix time
Need to fix bug in time duration with posix time and deal with day
offsets in the code. Something seems off with day duration for long
periods of time.
2017-10-24 08:51:38 -06:00
Damian Miralles
a1b9b092f5 Debugging GLONASS code to obtain position solution 2017-10-19 13:22:55 -06:00
Carles Fernandez
8a43414933 Merge branch 'glonass_dec' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-glonass_dec 2017-10-11 18:22:56 +02:00
Damian Miralles
93640ffd46 GLONASS bugfix: Fixes settings with rtklib obs_t and nav_t members
Adds settings in rtklib code to parse GLONASS measurements in `obs_t`
and 'nav_t' structures. It also adds the time of day field in gnav eph
to keep track as of when ephemeris are reported.
2017-10-11 08:22:45 -06:00
Damian Miralles
ea675b4baa bugfix: Fixes signal identifier for GLONASS GNAV
Signal identifier for GLONASS L1 C/A was changed internally to be `1G`
instead of the '1C' originally conceived from the navigation software.
Also, forces PRN number update from decoding interface
2017-10-10 08:40:05 -06:00
Damian Miralles
0caa7fff15 Fixes ineficiencies in the code, remove unused variables 2017-08-31 09:57:30 -06:00
Damian Miralles
3f87223f35 bugfix: Fix compile errors, code style and documentation
Fixes compilation errors after the RTCM package addition in the PVT
block. It also adds a series of class members documentation in the code
using the Doxygen standard while fixing code style errors
2017-08-31 09:55:35 -06:00
Damian Miralles
e58cd5450d Adding RTCM Data Fields for GLONASS processing
Adds GLONASS related data fields (DFxxx) for RTCM messages including
MS1020, MS1087 and general MSM message types
2017-08-31 09:55:35 -06:00
Damian Miralles
d34ec96ad2 bugfix: Fixing bugs with RINEX support
Fixes compilation errors. Modifies GLONASS GNAV Ephemeris object to
contain fields relative to GPS time using the boost posix time object.
Adds unit tests to check existent and recently added code
2017-08-31 09:55:35 -06:00
Damian Miralles
2d40780689 Adding RINEX support for GLONASS GNAV processing
Adds RINEX v2 and v3 support for GLONASS satellites processing including
observation and navigation data records. Also adds conversion of
ephemeris records in GNSS-SDR format to RTKLib format
2017-08-31 09:55:35 -06:00
Carles Fernandez
7ae4a794f6 Avoid signed overflow 2017-08-31 09:55:35 -06:00
Carles Fernandez
47e41d5b28 Avoid signed overflow 2017-08-26 10:07:18 +02:00
Carles Fernandez
18cd7daa09 Eliminate ctime library. Replaced by chrono or boost::date_time 2017-08-11 05:18:38 +02:00
Carles Fernandez
ed5191fc54 Clean headers. C++ libraries preferred over C libraries 2017-08-10 15:34:38 +02:00
Carles Fernandez
7bb3581f4b Improve buffer handling. Remove warnings raised by gcc 7.1 2017-08-06 10:32:12 +02:00
Carles Fernandez
a7fbde50e6 Improve buffer handling. Remove warnings raised by gcc 7.1 2017-08-06 10:26:56 +02:00
Carles Fernandez
1dda344e46 Fix -Wmisleading-indentation warning 2017-07-23 23:40:40 +02:00
Carles Fernandez
9bfef0e05a Fix CMake scripts to use Ninja https://ninja-build.org/
cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -GNinja .. && ninja
2017-06-21 08:54:47 +02:00
Carles Fernandez
ed041c00b8 Fix out-of-bound read 2017-06-07 20:12:49 +02:00
Carles Fernandez
25508cf833 Fix null pointer dereference 2017-06-07 19:42:38 +02:00
Carles Fernandez
dfa11ab364 Fix out-of-bound access 2017-06-07 19:41:32 +02:00
Carles Fernandez
21bf5291f9 Fix defects detected by coverity scan 2017-06-07 16:39:27 +02:00
Carles Fernandez
0b2b0fceac Fix defects detected by coverity scan 2017-06-07 15:02:14 +02:00
Carles Fernandez
2253b29bf1 Fix defects detected by coverity scan 2017-06-07 14:51:26 +02:00
Carles Fernandez
efc6082722 Fix defects detected by coverity scan 2017-06-07 12:11:16 +02:00
Carles Fernandez
0047595373 Fix defects detected by coverity scan 2017-06-06 18:27:54 +02:00
Carles Fernandez
5231c9e94b Fix some defects detected by coverity scan 2017-06-06 17:49:40 +02:00
Carles Fernandez
44bca3cb6f Print matrices in logs (using the flag --v=5 ) 2017-05-19 10:59:51 +02:00
Carles Fernandez
4c7a176d96 Avoid name clashing 2017-05-15 18:13:26 +02:00
Carles Fernandez
96f3599a29 Stylishing code 2017-05-13 21:08:42 +02:00
Carles Fernandez
84c13a5e2a Fix more warnings in gcc 2017-05-13 20:52:48 +02:00
Carles Fernandez
1b25d14b4c Work on initializations 2017-05-13 20:25:38 +02:00
Carles Fernandez
1b4cfad57d Activate compilation of RTCM decoding functions 2017-05-13 20:01:08 +02:00
Carles Fernandez
495813c969 Fix more warnings 2017-05-13 19:35:20 +02:00
Carles Fernandez
cc392fdde2 Fix more warnings 2017-05-13 19:17:09 +02:00
Carles Fernandez
2d273ba131 Fix more warnings in gcc 2017-05-13 13:13:11 +02:00
Carles Fernandez
30e634d408 Fix more warnings 2017-05-13 12:07:16 +02:00
Carles Fernandez
8f9aba298f Remove warnings in gcc 2017-05-13 10:41:35 +02:00
Carles Fernandez
44ba718de4 Fix compilation in gcc 2017-05-12 19:40:51 +02:00
Carles Fernandez
c804fb8d6f Add work on rtklib functions 2017-05-12 19:22:57 +02:00
Carles Fernandez
9da436ec87 add more work on rtklib functions 2017-05-12 17:47:09 +02:00
Carles Fernandez
5d9ba16293 Merge branch 'rtklib_rtcm' of https://github.com/carlesfernandez/gnss-sdr into common_solver 2017-05-12 12:19:10 +02:00
Carles Fernandez
833192e183 Add more work on rtklib files 2017-05-12 12:17:42 +02:00
Carles Fernandez
f0c8fc7089 Add RTCM decoding functions 2017-05-12 08:55:59 +02:00
Carles Fernandez
314b80e8ac Fix compilation in macOS 2017-05-11 06:11:38 +02:00