1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-15 14:25:00 +00:00
Commit Graph

1033 Commits

Author SHA1 Message Date
Carles Fernandez
6ba77c5f28
Sort includes: include what you use 2019-03-04 08:12:50 +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
0564b790e7
Take into account that PATH could be empty 2019-03-03 10:57:05 +01:00
Carles Fernandez
c4d9a3631c
Fix leaks 2019-03-03 00:16:57 +01:00
Carles Fernandez
fb1fd2584d
Fix coverity scan defects 2019-03-02 11:44:45 +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
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
8d770d9be9 more code cleaning
removed some non used variables
2019-02-27 13:30:09 +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
Marc Majoral
40029f789c FPGA hybrid observables tests set track_pilot by default. 2019-02-25 12:10:50 +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
d7d4cd09ae
Fix naming in fgpa and extra unit test implementations 2019-02-22 15:57:15 +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
edbebfbef8
Cosmetic fix 2019-02-21 12:52:29 +01:00
Carles Fernandez
b617213784
Extend clang-tidy checking to tests and utils 2019-02-21 11:42:56 +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
1decfcc488
Remove unused checks 2019-02-18 21:45:12 +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
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
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
111c6291ec Revert "clang-tidy: apply performance-unnecessary-value-param check"
This reverts commit eae967ed1a.
2019-02-12 12:07:40 +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
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
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
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
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
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
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
f0e2c7c48d
Small fixes 2019-02-10 13:52:37 +01:00
Carles Fernandez
ce051e040f
Improve target design 2019-02-10 01:13:02 +01:00
Carles Fernandez
dfc89868af
Fix building 2019-02-08 00:05:14 +01:00
Carles Fernandez
ae005c62f2
Reorder libraries 2019-02-07 22:44:31 +01:00
Carles Fernandez
4b7e3992c6
Reorder imported targets, add gnss_system_parameters to control_thread_test 2019-02-07 22:06:48 +01:00
Carles Fernandez
54473809f7
Imported target for GPerftools 2019-02-07 20:31:40 +01:00
Carles Fernandez
627ab01707
Fix Gtest detection 2019-02-07 19:45:31 +01:00
Carles Fernandez
3ddbef49ba
Fix gtest includes 2019-02-07 19:26:09 +01:00
Carles Fernandez
0162a05e24 Remove variable, replace it by Boost imported targets 2019-02-07 17:21:32 +01:00
Carles Fernandez
aee9decb54 Turn Googletest into a imported target 2019-02-07 17:05:26 +01:00
Carles Fernandez
97e8d9931e
Make use of Threads::Threads target 2019-02-07 09:28:20 +01:00
Carles Fernandez
d0b8393b66
Merge branch 'modern-cmake' of https://github.com/carlesfernandez/gnss-sdr into next 2019-02-05 01:31:56 +01:00
Carles Fernandez
dfab84b2de
Add fixes applied by clang-tidy 2019-02-05 01:31:09 +01:00
Carles Fernandez
c14e300afa
Add Boost::chrono target 2019-02-05 00:48:21 +01:00
Carles Fernandez
f509ebe49c
Update minimum Boost version to 1.54 2019-02-05 00:01:04 +01:00
Marc Majoral
a379a896d4 FPGA unit tests need to reset the HW at the beginning of each iteration 2019-02-04 15:01:50 +01:00
Carles Fernandez
4f440f63dc Fix CMake complain about unexisting directory 2019-02-04 11:17:51 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Marc Majoral
ec80df40dc minor corrections 2019-01-31 15:36:11 +01:00
Marc Majoral
bb0fae98c7 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-01-30 10:28:52 +01:00
Carles Fernandez
c561d7e799
Applying code formatting rules 2019-01-28 02:29:43 +01:00
Marc Majoral
f127729eb0 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-01-25 18:02:07 +01:00
Damian Miralles
42b506d0bb bds b1i: Merging latest changes from upstream/next 2018-12-18 15:55:36 -06:00
Carles Fernandez
7557c94208
Avoid storing GBs of data by default 2018-12-12 01:23:05 +01:00
Carles Fernandez
bb137661bd
Remove error message 2018-12-12 01:03:33 +01:00
Carles Fernandez
54237770a6
Apply fixes by clang-tidy 2018-12-10 22:59:10 +01:00
Carles Fernandez
3dce8934fd
Apply fixes by clang-tidy 2018-12-10 19:05:12 +01:00
Carles Fernandez
d6f3cd6dd3
Revert "Apply fixes by clang-tidy"
This reverts commit ba23d698bc.
2018-12-10 18:20:45 +01:00
Carles Fernandez
31b471a0ce
Merge branch 'fix-merge2' into next 2018-12-10 18:13:01 +01:00
Carles Fernandez
7c9f824e29
Apply clang-tidy fixes 2018-12-10 18:12:14 +01:00
Carles Fernandez
0dc07362ed Add missing include 2018-12-10 15:35:40 +01:00
Carles Fernandez
ba23d698bc Apply fixes by clang-tidy 2018-12-10 15:15:35 +01:00
Carles Fernandez
5b79f8ac50 Merge branch 'next' into smart_acq_resampler 2018-12-10 14:24:42 +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
acacbbe166
Fix compilation 2018-12-08 20:09:25 +01:00
Carles Fernandez
17260bbcea
Miscelaneous code improvements by clang-tidy 2018-12-08 18:49:31 +01:00
Javier Arribas
63b19692e7 Completing the smart acquisition resampler 2018-12-05 16:50:32 +01:00
Carles Fernandez
b2659aa076
Merge branch 'next' into smart_acq_resampler 2018-12-04 00:05:04 +01:00
Carles Fernandez
fdc12d94b8
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2018-12-03 22:23:08 +01:00
Carles Fernandez
578d96159d
Use emplace back when possible 2018-12-03 22:20:40 +01: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
1743a773b5 Improve performance by using const and std::move() to avoid unnecessary copies 2018-12-03 19:01:47 +01:00
Carles Fernandez
b994f466a7 clang-tidy: apply modernize-loop-convert fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html) 2018-12-03 18:03:25 +01:00
Javier Arribas
4b80451630 Adding initial functional changes for the smart acquisition resampler 2018-12-03 17:58:18 +01: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
96f34cabb1
clang-tidy: apply modernize-use-equals-default fix. See https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html 2018-12-03 11:12:10 +01:00
Carles Fernandez
0a46cb1fe1
Use nullptr 2018-12-03 10:05:47 +01:00
Marc Majoral
bd90563925 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-11-30 11:10:38 +01:00
Marc Majoral
f48a91c413 Galileo E5a is now debugged and working. Acquisition is using interrupts again. Each acquisition process opens and closes the acquisition device when an acquisition is done instead of having the device opened all the time. In this way the acquisition interrupt should only be received by the process that is using the interrupt at that time. 2018-11-30 11:07:01 +01:00
Javier Arribas
6dd4733606 Fix duplicated satellites observables test to not demand true observables file 2018-11-29 21:29:21 +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
Carles Fernandez
87d1413447
Make cmakelint happier 2018-11-24 18:40:34 +01:00
Carles Fernandez
a8fe18f435
Fix defects detected by XCode 2018-11-23 16:28:28 +01:00
Carles Fernandez
19fffc1e5a Fix building in some Debian-based distributions 2018-11-21 15:28:17 +01:00
Carles Fernandez
73ece1e533
Uniformize style of CMake modules 2018-11-21 08:28:50 +01:00
Carles Fernandez
ea59abee77
Add work on warm start 2018-11-20 09:28:47 +01:00
Carles Fernandez
f582a5adba
Fix some CMake style issues 2018-11-19 08:51:05 +01:00
Carles Fernandez
61b9a00827
Fix GPSTK building in systems that use lib64 2018-11-18 20:46:38 +01:00
Carles Fernandez
6fc26b8e5d
Simplify GPSTK part 2018-11-18 20:05:42 +01:00
Carles Fernandez
4ee36cd2cc
Add timeouts to tests 2018-11-18 13:00:36 +01:00
Carles Fernandez
7e557c2461
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2018-11-18 09:33:09 +01:00