1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00
Commit Graph

3899 Commits

Author SHA1 Message Date
Carles Fernandez
502bf32d83 Improve includes (IWYU) 2019-03-06 14:36:51 +01:00
Carles Fernandez
5b8ab9f591 Improve includes (IWYU) 2019-03-06 13:49:14 +01:00
Carles Fernandez
958ed45ba5
Remove unused includes 2019-03-06 09:35:20 +01:00
Carles Fernandez
68173b0920
Apply clang-format 2019-03-06 08:54:29 +01:00
Damian Miralles
1f9911669c Merge branch 'next' into bds_b1i_bug 2019-03-05 19:46:20 -06:00
Damian Miralles
b822bec184 bds_b1i: fixing bug with D2 messages 2019-03-05 19:45:44 -06:00
Carles Fernandez
d6ac1100e8
Remove unused / commented includes 2019-03-05 23:23:17 +01:00
Carles Fernandez
96f1823c72
No forward declaration for Gnss_Synchro 2019-03-05 23:09:02 +01:00
Damian Miralles
de964d4a77 bds_b3i: fixing bug in b1i for d2 decoding 2019-03-05 16:00:26 -06:00
Carles Fernandez
3b5b4ccf33
Improve includes with IWYU 2019-03-05 22:17:09 +01:00
Carles Fernandez
c938093f6d
Improve includes (IWYU) 2019-03-05 19:31:41 +01:00
Carles Fernandez
287fe632be
Remove boost/shared_ptr.hpp include 2019-03-05 13:20:45 +01:00
Carles Fernandez
3f4a1dba09
Remove unused include 2019-03-05 12:53:27 +01:00
Carles Fernandez
6eb81f52ee
Improve includes with IWYU
Rtcm class moved to PVT/libs
2019-03-05 12:33:54 +01:00
Carles Fernandez
809097f481
Add missing header 2019-03-05 10:01:08 +01:00
Carles Fernandez
e6cfbadbf3 Improve includes with IWYU
Fix for old Boost
2019-03-05 09:55:59 +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
6ba77c5f28
Sort includes: include what you use 2019-03-04 08:12:50 +01:00
Carles Fernandez
2f6c123307
Fix header 2019-03-03 14:35:39 +01:00
Carles Fernandez
15a8bc9f3e
Fix PATH reading 2019-03-03 13:39:55 +01:00
Carles Fernandez
e7ea5c1fdd
Remove superfluous 'using google::LogMessage' 2019-03-03 13:39:35 +01:00
Carles Fernandez
2cf1d72640
Fix if PATH is not set 2019-03-03 11:56:57 +01:00
Carles Fernandez
5635d6a012
Fix RTCM printer for L5 2019-03-03 10:58:08 +01:00
Carles Fernandez
0564b790e7
Take into account that PATH could be empty 2019-03-03 10:57:05 +01:00
Carles Fernandez
5cbafa276f
Make Galileo FNAV epehemeris less verbose in terminal 2019-03-03 10:56:07 +01:00
Carles Fernandez
c4d9a3631c
Fix leaks 2019-03-03 00:16:57 +01:00
Carles Fernandez
08ce4cdd75
Sort includes, fix coverity scan defect 2019-03-03 00:15:20 +01:00
Carles Fernandez
3b2ad56550
Fix for ENABLE_FPGA=ON 2019-03-02 11:48:25 +01:00
Carles Fernandez
fb1fd2584d
Fix coverity scan defects 2019-03-02 11:44:45 +01:00
Carles Fernandez
642c7effee
Fix warnings when building with ENABLE_FPGA=ON (unused parameters) 2019-03-02 11:22:42 +01:00
Carles Fernandez
8525782c52
Fix memory deallocation 2019-03-02 02:48:26 +01:00
Carles Fernandez
a9cc2d0eab
Replace GNU Radio blocks name termination _cc by _gs to emphasize that their data items are Gnss_Synchro objects 2019-03-02 02:21:03 +01:00
Damian Miralles
16e66834fa bds_b3I: trying to fix bug with b1i pvt 2019-03-01 15:16:37 -06:00
Carles Fernandez
fcfe63ba08
Fix defects detected by coverity scan 2019-03-01 20:49:45 +01:00
Marc Majoral
5a2dc274cf but solved: double acquisition was using uint32_t for the initial doppler estimation. Therefore when the first estimated doppler was negative it was reset to zero. 2019-03-01 20:37:14 +01:00
Damian Miralles
9ccb86dac6 Merge branch 'next' into bds_b3i 2019-03-01 13:29:10 -06:00
Damian Miralles
8782fcba69 bds_b3i: merging new changes, fixing small bugs 2019-03-01 13:28:21 -06:00
Javier
d6bf84b222 Moving LOG(INFO) to DLOG(INFO) in galileo navigation message parser 2019-03-01 18:31:15 +01:00
Carles Fernandez
2543b2aae2
Fix error 2019-03-01 16:59:29 +01:00
Javier
3b9f044074 Moving LOG(INFO) to DLOG(INFO) for some telemetry decoder messages 2019-03-01 16:48:10 +01:00
Carles Fernandez
e43b8f5284
Fix defects detected by Coverity Scan 2019-03-01 15:29:43 +01:00
Marc Majoral
528c79d1e7 removed unnecessary sleep instruction 2019-03-01 11:21:04 +01:00
Marc Majoral
a9c7b4113b The switch bug is solved. Now the switch uses an absolute sample counter 2019-03-01 11:13:34 +01:00
Carles Fernandez
df0a77ee0d
Fix warnings
more protection on read/write failures and some code cleaning
2019-03-01 10:11:36 +01:00
Carles Fernandez
7c71ed9404
Merge branch 'fpga' of https://github.com/gnss-sdr/gnss-sdr into merge-fpga
Applied checks and formatting
2019-02-28 21:45:30 +01:00
Marc Majoral
ea86546d99 implemented double acquisition for the FPGA 2019-02-28 20:49:35 +01:00
Carles Fernandez
551279b9ae Provide more info to the user if something fails 2019-02-28 18:27:30 +01:00
Carles Fernandez
b1c6e1d91f Make Galileo E1 message decoding less verbose in terminal 2019-02-28 18:20:33 +01:00
Carles Fernandez
92d20d0842 Fix comparison 2019-02-28 16:39:21 +01:00
Carles Fernandez
e6d2776f1b Replace std::deque by faster boost::circular_buffer 2019-02-28 14:10:44 +01:00
Carles Fernandez
ccc9222ebe Replace deque by faster boost::circular_buffer 2019-02-28 13:40:09 +01:00
Carles Fernandez
abd91e0825
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-02-28 09:41:19 +01:00
Carles Fernandez
fd64cdd8c2
Fix program termination with some configurations
This is not a robust solution but fixes termination when URSP is being used. To be improved
2019-02-28 09:33:47 +01:00
Marc Majoral
39e9c28024 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-02-27 17:51:17 +01:00
Javier Arribas
6c5fc8ed7c Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into observables_fix 2019-02-27 17:45:22 +01:00
Marc Majoral
c32e0b427a coding style + removed some unnecessary memory arrays in the FPGA E5A tracking adapter class. 2019-02-27 17:27:31 +01:00
Marc Majoral
484b0f4b02 removed commented-out code 2019-02-27 15:51:01 +01:00
Marc Majoral
46082e9334 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-02-27 14:40:45 +01:00
Marc Majoral
a03ed571e6 replaced int and unsigned int by int32_t and uint32_t
removed some unused variables
2019-02-27 14:37:07 +01:00
Marc Majoral
8d770d9be9 more code cleaning
removed some non used variables
2019-02-27 13:30:09 +01:00
Carles Fernandez
17297ee18f
Fix Galileo telemetry 2019-02-27 02:09:23 +01:00
Marc Majoral
2b6e7749a8 cleaned the source code of the FPGA switch and the FPGA tracking adapters 2019-02-26 19:30:08 +01:00
Marc Majoral
5e22e4c50a cleaned the FPGA acquisition code 2019-02-26 18:28:14 +01:00
Javier Arribas
dd91ffe139 Bug fix that solves a random deadlock of the observables block rx time selector 2019-02-26 18:04:59 +01:00
Damian Miralles
75779bd111 bds b3i: Adding sample file for b1i and gps processing 2019-02-26 09:01:32 -06:00
Marc Majoral
a8e425c814 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-02-26 10:23:59 +01:00
Carles Fernandez
4b325ed56a
Apply minor cleaning 2019-02-26 09:09:14 +01:00
Marc Majoral
67e53a166e Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-02-26 08:40:00 +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
Marc Majoral
cf0a37300a Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-02-25 19:21:00 +01:00
Carles Fernandez
c3709567a2 Accelerate GPS L1 preamble correlation 2019-02-25 15:14:13 +01:00
Marc Majoral
40029f789c FPGA hybrid observables tests set track_pilot by default. 2019-02-25 12:10:50 +01:00
Carles Fernandez
4fe976ba01
Replace boost::thread by std::thread 2019-02-25 00:02:53 +01:00
Carles Fernandez
14899a3a77
Replace boost::thread by std::thread, get rid of boost::chrono 2019-02-24 23:11:19 +01:00
Carles Fernandez
a51ccdca8b
Fix termination if GNSS-SDR.telecommand_enabled is set to true 2019-02-24 20:57:51 +01:00
Carles Fernandez
08b0a7cd82
Fix thread termination
Some boost::threads replaced by std::threads
2019-02-24 13:22:52 +01:00
Carles Fernandez
3b039619cc
Uniformize header guards 2019-02-22 23:02:16 +01:00
Carles Fernandez
07259159af Apply clang-tidy checks 2019-02-22 21:34:15 +00:00
Carles Fernandez
0068740895
clang-tidy fixes 2019-02-22 22:12:44 +01:00
Carles Fernandez
13d8d19679
clang-tidy fixes 2019-02-22 22:02:37 +01:00
Carles Fernandez
30a72d5c06
Fix headers 2019-02-22 21:49:07 +01:00
Carles Fernandez
2f83d1e733
Apply clang-tidy to flexiband driver 2019-02-22 21:34:42 +01:00
Carles Fernandez
e6ae1a307c
Fix gn3s driver building 2019-02-22 21:22:36 +01:00
Carles Fernandez
9c2cebd906
Fix flexiband driver building 2019-02-22 21:18:30 +01:00
Carles Fernandez
d7d4cd09ae
Fix naming in fgpa and extra unit test implementations 2019-02-22 15:57:15 +01:00
Carles Fernandez
f01f90695e
Apply clang-format 2019-02-22 13:30:18 +01:00
Carles Fernandez
d82dda30e7
Remove repeated parameters 2019-02-22 12:23:41 +01:00
Carles Fernandez
11829e5883
Unify use of stdint names 2019-02-22 12:22:24 +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
6d6979bb56
Remove unused include 2019-02-21 13:46:24 +01:00
Carles Fernandez
1e356ad8dc
clang-tidy: add and apply misc-unused-using-decls check 2019-02-21 13:36:21 +01:00
Carles Fernandez
edbebfbef8
Cosmetic fix 2019-02-21 12:52:29 +01:00
Carles Fernandez
a734411b86
clang-tidy: apply performance-type-promotion-in-math-fn check 2019-02-21 12:46:01 +01:00
Carles Fernandez
5d427df585
clang-tidy: apply performance-type-promotion-in-math-fn check 2019-02-21 12:09:18 +01:00
Carles Fernandez
b617213784
Extend clang-tidy checking to tests and utils 2019-02-21 11:42:56 +01:00
Carles Fernandez
1ad1366938
clang-tidy: apply readability-inconsistent-declaration-parameter-name check 2019-02-21 11:03:35 +01:00
Carles Fernandez
b3ae2c969a
clang-tidy: apply fixes 2019-02-21 10:33:20 +01:00
Carles Fernandez
9bc771bed6
Deploy a new option -DENABLE_CLANG_TIDY to integrate clang-tidy checks and fixes into the compilation process, if found. It defaults to OFF 2019-02-21 09:59:06 +01:00
Carles Fernandez
0715c4de45
clang-tidy: add and apply readability-inconsistent-declaration-parameter-name check 2019-02-20 23:36:26 +01:00
Carles Fernandez
88147d4956
Fix build with Clang (not AppleClang) on macOS 2019-02-20 22:21:53 +01:00
Carles Fernandez
a154f90bf5
Fix bug in telemetry message handling 2019-02-19 18:20:58 +01:00
Carles Fernandez
eedc3d5de6
clang-tidy: apply checks 2019-02-19 09:08:09 +01:00
Carles Fernandez
a927710607
Merge branch 'monitor-decimator-name' of https://github.com/acebrianjuan/gnss-sdr into acebrianjuan-monitor-decimator-name 2019-02-18 22:36:46 +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
4784a58af0
Remove unused definitions 2019-02-18 22:20:32 +01:00
Carles Fernandez
1decfcc488
Remove unused checks 2019-02-18 21:45:12 +01:00
Carles Fernandez
82b7a244eb
Small fixes 2019-02-18 21:44:19 +01:00
Álvaro Cebrián Juan
e8fa2a0932 Rename the decimation factor parameter of the Monitor block configuration from output_rate_ms to decimation_factor 2019-02-18 17:51:02 +01:00
Carles Fernandez
8cab43ea6a
Cosmetic fix 2019-02-17 13:36:53 +01:00
Carles Fernandez
83501f86f5
Fix headers 2019-02-17 13:36:33 +01:00
Carles Fernandez
0a1df17cca
Fix building in debug mode
Fixes for macOS
2019-02-17 13:36:13 +01:00
Marc Majoral
2eebd31483 cleanup use of standard acquisition interface for the FPGA unit tests. 2019-02-15 10:12:20 +01:00
Carles Fernandez
2da0ef3c84
Improve initialization 2019-02-15 10:02:32 +01:00
Carles Fernandez
890752601d
Fix defects detected by Coverity Scan 2019-02-14 23:44:38 +01:00
Carles Fernandez
b5c59ee6f7
Fix defects detected by Coverity Scan 2019-02-14 22:49:36 +01:00
Marc Majoral
28959c1542 now the FPGA tracking pull-in tests can use the generic acquisition class interface 2019-02-14 18:02:18 +01:00
Carles Fernandez
786118a305 Fix disconection of Monitor block 2019-02-14 16:46:16 +01:00
Carles Fernandez
719af13a33 Remove google-runtime-references check 2019-02-14 12:51:43 +01:00
Marc Majoral
fd3eb2a80e The termination process is now done correctly when using the FPGA. 2019-02-13 17:48:14 +01:00
Carles Fernandez
31383258b0 clang-tidy: apply checks 2019-02-12 15:56:18 +01:00
Carles Fernandez
004dd4a38a Replace the deprecated branch_path() by parent_path() 2019-02-12 12:57:37 +01:00
Carles Fernandez
111c6291ec Revert "clang-tidy: apply performance-unnecessary-value-param check"
This reverts commit eae967ed1a.
2019-02-12 12:07:40 +01:00
Carles Fernandez
ef0da0a973
clang-tidy: apply performance-unnecessary-value-param check 2019-02-12 09:16:22 +01:00
Carles Fernandez
9551c5e5a1
clang-tidy: apply performance-unnecessary-value-param check 2019-02-12 02:44:44 +01:00
Carles Fernandez
0c4b68c92d
clang-tidy: apply performance-move-const-arg check
See https://clang.llvm.org/extra/clang-tidy/checks/performance-move-const-arg.html
2019-02-12 02:07:06 +01:00
Carles Fernandez
5b50e74ca8
clang-tidy: apply performance-for-range-copy check
See https://clang.llvm.org/extra/clang-tidy/checks/performance-for-range-copy.html
2019-02-12 01:25:27 +01:00
Carles Fernandez
eae967ed1a
clang-tidy: apply performance-unnecessary-value-param check
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-02-12 01:00:36 +01:00
Carles Fernandez
992fddcc46
Apply clang-tidy checks 2019-02-11 22:45:07 +01:00
Carles Fernandez
4d60ea2e5a
Catch exception by reference 2019-02-11 22:00:48 +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
d8eaa98e06
Fix building 2019-02-11 19:27:14 +01:00
Carles Fernandez
8c0051ca0b Apply clang-tidy checks 2019-02-11 18:38:42 +01:00
Carles Fernandez
071915407c Use empty() instead of size() == 0 2019-02-11 18:36:59 +01:00
Carles Fernandez
c8ae93d2b8 Fix building 2019-02-11 18:36:12 +01:00
Carles Fernandez
6abebac5eb Make use of cstdint type names 2019-02-11 17:51:20 +01:00
Carles Fernandez
0707963ab5 Use cstdint type names 2019-02-11 17:17:35 +01:00
Carles Fernandez
45b4478047 clang-tidy fixes 2019-02-11 17:15:48 +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
f1871a84e2 clang-tidy: apply checks 2019-02-11 15:33:24 +01:00
Carles Fernandez
18fda22221 Improve const usage 2019-02-11 15:32:06 +01:00
Carles Fernandez
b257c6433f clang-tidy: apply readability-named-parameter check
See https://google.github.io/styleguide/cppguide.html#Function_Declarations_and_Definitions
2019-02-11 15:31:01 +01:00
Carles Fernandez
298a9c2391 clang-tidy: apply readability-container-size-empty check 2019-02-11 14:47:18 +01:00
Carles Fernandez
16bd8aa983 clang-tidy: apply modernize-use-bool-literals check 2019-02-11 13:13:54 +01:00
Carles Fernandez
b9c115bdf8 clang-tidy: apply modernize-use-using check 2019-02-11 13:13:06 +01:00
Carles Fernandez
ca2e22cd9f
Replace boost::lexical_cast<std::string> by std::to_string 2019-02-11 00:38:44 +01:00
Carles Fernandez
ef8ee921aa
Update copyright year 2019-02-10 21:56:40 +01:00
Carles Fernandez
4b2b205e21
Avoid throwing exceptions from destructors
Detected by clang-tidy check bugprone-exception-escape
2019-02-10 21:55:51 +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
c46cdcb188
Better string comparison 2019-02-10 14:07:27 +01:00
Carles Fernandez
f0e2c7c48d
Small fixes 2019-02-10 13:52:37 +01:00