1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-01 09:23:15 +00:00
Commit Graph

3772 Commits

Author SHA1 Message Date
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
Carles Fernandez
6d9563ef00
Improvement by clang-tidy 2019-02-10 13:24:25 +01:00
Carles Fernandez
bf65447cdf
Remove unused includes 2019-02-10 13:23:36 +01:00
Carles Fernandez
35a6ecb404
Fix bug, better string comparison 2019-02-10 13:22:49 +01:00
Carles Fernandez
96338be94e
Fix by clang-tidy 2019-02-10 12:53:22 +01:00
Carles Fernandez
21b5aeee9d
Make use of cstdint type names 2019-02-10 12:45:23 +01:00
Carles Fernandez
a6b94eaccf
Make use of cstdint typedefs, fix warning, remove unused variable 2019-02-10 12:40:03 +01:00
Carles Fernandez
ce051e040f
Improve target design 2019-02-10 01:13:02 +01:00
Carles Fernandez
f1bb647124
Remove commented line 2019-02-10 00:53:08 +01:00
Carles Fernandez
53a813b3a1
Add includes, remove unused ones 2019-02-10 00:52:29 +01:00
Carles Fernandez
59841057e9
Improve consistency in header guard names 2019-02-10 00:16:57 +01:00
Carles Fernandez
a63d7834f4
Remove unused include 2019-02-10 00:12:19 +01:00
Carles Fernandez
dfc89868af
Fix building 2019-02-08 00:05:14 +01:00
Carles Fernandez
e5b7eaa366
Reorder static dependencies 2019-02-07 23:07:24 +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
60637c6125
Reorder dependencies 2019-02-07 21:31:40 +01:00
Carles Fernandez
5d9dea9537
Clean CMake scripts 2019-02-07 20:51:50 +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
be978d48ea
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2019-02-07 18:33:39 +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
ab0035d1a1
Reorder link targets 2019-02-07 09:34:32 +01:00
Carles Fernandez
97e8d9931e
Make use of Threads::Threads target 2019-02-07 09:28:20 +01:00
Carles Fernandez
7440088bce
Fix ENABLE_LOG OFF option 2019-02-06 18:36:31 +01:00
Carles Fernandez
74950e9856
Set some compile definitions to private 2019-02-05 02:21:56 +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
a8b1432c1b
Merge branch 'monitor-pvt' of https://github.com/acebrianjuan/gnss-sdr into acebrianjuan-monitor-pvt 2019-02-05 00:18:20 +01:00
Carles Fernandez
f509ebe49c
Update minimum Boost version to 1.54 2019-02-05 00:01:04 +01:00
Carles Fernandez
ce83462f85
Add some fixes to CMake scripts 2019-02-04 23:26:07 +01:00
Álvaro Cebrián Juan
f635580e31 Add PVT Monitor 2019-02-04 23:03:10 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts 2019-02-04 22:44:45 +01:00
Carles Fernandez
b58b07fe01
Update and clean CMake scripts 2019-02-04 20:29:42 +01:00
Carles Fernandez
f1e4996091
Update and clean CMake scripts 2019-02-04 20:27:33 +01:00
Carles Fernandez
02996bbc8a
Add some CMake fixes 2019-02-04 20:00:29 +01:00
Carles Fernandez
f38d6961e7 Add gflags private target 2019-02-04 18:45:34 +01:00
Carles Fernandez
1789777070 Remove unused lines 2019-02-04 18:33:16 +01:00
Carles Fernandez
f13b84c86c Add more CMake modernization 2019-02-04 18:17:35 +01:00
Carles Fernandez
9b94a4dec0 Add more imported targets to CMake scripts 2019-02-04 16:07:29 +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
9d88b03b39
Remove unused definition 2019-02-04 08:14:38 +01:00
Carles Fernandez
1242d652c0
Add Gnuradio::pmt target 2019-02-04 08:12:55 +01:00
Carles Fernandez
d6a3ab2f6f
Add Log4cpp::log4cpp imported target 2019-02-04 08:12:25 +01:00
Carles Fernandez
999604cd75
Add Boost::atomic target, required by Boost::thread in some configurations (e.g. OpenSUSE) 2019-02-04 08:11:28 +01:00
Carles Fernandez
d4da5d2879
Add Gflags::gflags private target 2019-02-03 20:28:49 +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
Carles Fernandez
f3eef2f513
Add modern CMake targets for volk_gnsssdr 2019-01-31 12:12:04 +01:00
Marc Majoral
ed5dc6a442 solved bug resulting from the last merging process 2019-01-30 14:45:12 +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
928c545c84
Do not overwrite CMAKE_ASM_FLAGS 2019-01-29 14:58:01 +01:00
Carles Fernandez
3d2f10dae7
Make sure that regexp are raw strings 2019-01-29 14:52:01 +01:00
Carles Fernandez
2cf690d88e
Add clang support 2019-01-29 14:48:43 +01:00
Carles Fernandez
1633556504
Fix comparison warnings 2019-01-28 02:54:02 +01:00
Carles Fernandez
2389eed440
Fix comparison warning 2019-01-28 02:49:27 +01:00
Carles Fernandez
c561d7e799
Applying code formatting rules 2019-01-28 02:29:43 +01:00
Carles Fernandez
fa19b2e6a4
Fix compilation in Mac OS and crosscompilation.
Formatting rules applied
2019-01-28 01:08:57 +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
5395b0bc3b bds_b1i: First BeiDou PVT for GNSS-SDR
Adds a BeiDou B1I PVT for GNSS-SDR. Fixes bugs with D2 message decoding
for eph values in non continuous pages. Adds a couple of cosmetic fixes.
2019-01-02 13:19:11 -06:00
Damian Miralles
b6b98bea69 bds_b1i: Fixing bugs with utc model 2019-01-01 13:46:57 -06:00
Damian Miralles
2865e97b84 bds_b1i: Adding pvt computation with BeiDou B1I satellites 2018-12-28 19:01:22 -06:00
Damian Miralles
7cef679744 bds_b1i: Adding support for d2 nav decoding 2018-12-26 12:54:23 -06:00
Damian Miralles
7cdd2ee477 bds b1i: Adding geo satellites tracking and setting up structure for d2 nav decoding 2018-12-24 15:14:10 -06:00
Damian Miralles
0c4b8b25f1 bds_b1i: Adding new tel dec block structure 2018-12-23 12:51:28 -06:00
Damian Miralles
9e9b272fb2 bds_b1i: trying a new way for code 2018-12-19 10:20:12 -06:00
Damian Miralles
42b506d0bb bds b1i: Merging latest changes from upstream/next 2018-12-18 15:55:36 -06:00
Marc Majoral
7da82dbaea updated the FPGA tracking gnuradioblock according to the latest changes in the SW tracking gnuradioblock. 2018-12-14 18:15:21 +01:00
Carles Fernandez
a7f59ee4e2
Merge branch 'next' into release_0010 2018-12-14 14:18:25 +01:00
Carles Fernandez
67f3680bf4
Remove lintian complaints 2018-12-14 14:17:04 +01:00
Carles Fernandez
95c6bb4dd1
Remove redundant c_str() 2018-12-14 13:38:29 +01:00
Carles Fernandez
da2d12dd05
Supress lintian complaint 2018-12-14 13:33:52 +01:00
Carles Fernandez
8a7e35ea97
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-14 12:07:15 +01:00
Carles Fernandez
c176e51265
Improve data types for GPS navigation messages 2018-12-14 02:31:01 +01:00
Carles Fernandez
432c6b9c70
Miscelaneous clang-tidy fixes 2018-12-14 02:14:43 +01:00
Carles Fernandez
fa03077ca1
Improve data types for Galileo navigation data 2018-12-14 00:48:51 +01:00
Carles Fernandez
6e665bdf29
Improve data types for Galileo navigation data 2018-12-14 00:42:05 +01:00
Damian Miralles
0d94f9e1b7 bds b1i: some bug corrections in the code 2018-12-13 07:57:42 -07:00
Carles Fernandez
3e4728225e
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-13 13:02:44 +01:00
Carles Fernandez
55572b55b4
Fix RTCM printer in the L5+E5a receiver 2018-12-13 12:57:11 +01:00
Carles Fernandez
22d5d3c98c
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-13 12:23:53 +01:00
Carles Fernandez
93dfcb980b
Fix F/NAV message decoding of mean anomaly at reference time 2018-12-13 11:56:21 +01:00
Sergey
63e90f862f
updated F/NAV message decoding (page 3 and 4)
Signed-off-by: Carles Fernandez <carles.fernandez@gmail.com>
2018-12-13 11:54:02 +01:00
Carles Fernandez
79e4a170a9
Update date in manpages 2018-12-12 01:50:29 +01:00
Carles Fernandez
9fc9357a08
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-12 01:34:23 +01: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
Marc Majoral
ae61646270 Solved two bugs:
- a minor bug in the E5A fpga acquisition adapter module: a config parameter was not correctly read.
- a bug in the tracking fpga multicorrelator module: if pilot tracking was enabled then the results of the pilot correlator were not correctly read when using the multicorrelator 3-1 HW Accelerator in the FPGA (used for GPS L5 and Galileo E5A).
2018-12-11 14:44:42 +01:00
Carles Fernandez
497a10fbea
Merge branch 'combi' of https://github.com/carlesfernandez/gnss-sdr into next 2018-12-11 14:02:14 +01:00
Carles Fernandez
e8174a5ef7
Fix error in RTCM generation of L5+E5a receiver 2018-12-11 14:01:23 +01:00
Carles Fernandez
2c2ddb1de7
Fix error in RTCM generation of L5+E5a receiver 2018-12-11 13:59:57 +01:00
Carles Fernandez
38858dece6
Apply clang-tidy fix readability-non-const-parameter 2018-12-11 12:38:38 +01:00
Carles Fernandez
27b7a93181
Apply clang-tidy fix readability-container-size-empty 2018-12-11 12:25:38 +01:00
Carles Fernandez
f351615ef9
Apply clang-tidy fix modernize-use-bool-literals 2018-12-11 12:08:54 +01:00
Carles Fernandez
b80f22fc43
Use a std::array instead of a c array 2018-12-11 12:02:19 +01:00
Carles Fernandez
58922251f7
Add telecommand_enabled parameter, it defaults to false 2018-12-11 10:36:15 +01:00
Carles Fernandez
e2582586b9
Apply fixes by clang-tidy 2018-12-11 02:22:33 +01:00
Carles Fernandez
d920aa4d92
Apply fixes by clang-tidy 2018-12-11 01:56:25 +01:00
Carles Fernandez
c9f55f2491
Apply fixes by clang-tidy 2018-12-10 23:01:05 +01:00
Carles Fernandez
54237770a6
Apply fixes by clang-tidy 2018-12-10 22:59:10 +01:00
Carles Fernandez
5485afd882
Apply fixes by clang-tidy 2018-12-10 19:29:00 +01:00
Carles Fernandez
3dce8934fd
Apply fixes by clang-tidy 2018-12-10 19:05:12 +01:00
Carles Fernandez
a7b780fddc
Apply fixes by clang-tidy 2018-12-10 18:39:14 +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
ef201c4ccd
Add pmt and uhd to clang-format as external libraries 2018-12-10 00:18:27 +01:00
Carles Fernandez
6aed77c3a0
Fix missing includes (iwyu) 2018-12-09 23:07:10 +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
4f8bda4d39
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010 2018-12-09 01:09:52 +01:00
Carles Fernandez
acacbbe166
Fix compilation 2018-12-08 20:09:25 +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
Javier Arribas
63b19692e7 Completing the smart acquisition resampler 2018-12-05 16:50:32 +01:00
Marc Majoral
e436aadfd9 minor modifications to the Galileo E5a and GPS L5 acquisition adapters. Now the acquisition opens and closes the acquisition HW device every time an acquisition is done, to prevent the acquisition interrupt from interrupting all the acquisition processes at the same time. 2018-12-05 11:23:30 +01:00
Carles Fernandez
7261bec2ad
Miscelaneous code improvements 2018-12-04 13:20:49 +01:00