1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-16 13:10:35 +00:00
Commit Graph

483 Commits

Author SHA1 Message Date
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
b617213784
Extend clang-tidy checking to tests and utils 2019-02-21 11:42:56 +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
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
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
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
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
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
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
Marc Majoral
f7050766bc re-enabled the possibility to run the FPGA tracking pull-in tests and observables tests running the doppler wipeoff in the HW. The FPGA now uses the same block of received samples to test all the doppler shifts. 2018-11-16 18:28:02 +01:00
Marc Majoral
3e46f658f6 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-11-16 10:34:19 +01:00
Marc Majoral
10676fd3cf corrected minor bug in DMA parameter 2018-11-15 20:48:30 +01:00
Javier
049b2d777d Adding tracking pull-in delay simulation option in tracking pull-in unit test 2018-11-14 18:28:14 +01:00
Marc Majoral
7023e879db adapted the software to a bit size for the local copy of the FFT of the GNSS code to 10 bits per sample.
worked on the observables tests.
2018-11-13 19:51:12 +01:00
Marc Majoral
37c7576e12 removed some unused test functions.
updated FPGA observables test
2018-11-13 17:22:08 +01:00
Marc Majoral
cf56de15de did some code cleaning on the tracking pull-in tests 2018-11-12 18:54:04 +01:00
Marc Majoral
fe5f3f5328 now the FPGA Galileo E1 tracking pull-in tests work successfully 2018-11-12 17:44:42 +01:00
Marc Majoral
f150fe02c7 solved a bug which caused the tracking pull-in test not to work correctly with Galileo E1 when using the downsampling filter in the acquisition. 2018-11-09 20:50:32 +01:00
Marc Majoral
047807ba0c solved a bug that caused the tracking pull-in test in the FPGA not to work when using the downsampling filter in the acquisition. 2018-11-08 19:19:39 +01:00
Carles Fernandez
de84a161fb
Update NMEA printer test 2018-11-07 20:33:34 +01:00
Marc Majoral
1c80eaa50c corrected a bug in the fpga tracking pull-in test where a parameter was rewritten with an incorrect value
modified the fpga tracking pull-in test to take into account the downsampling factor in the L1/E1 queue
2018-11-07 20:21:05 +01:00
Marc Majoral
0d9b08df70 updated the tracking pull-in test for the FPGA. To be tested. 2018-11-05 19:50:40 +01:00
Marc Majoral
41faa311f7 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-11-05 18:29:35 +01:00
Carles Fernandez
39a062ca00 Save PVT dump also in .mat. New parameter dump_mat can disable this feature 2018-10-31 14:56:59 +01:00
Carles Fernandez
257099fee1 Fix warning 2018-10-31 11:06:48 +01:00
Carles Fernandez
b183fe63ba
Improve PVT block configuration. Allow to store data products in different folders 2018-10-28 00:42:28 +02: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
64d9e63b18
Add missing include path 2018-10-20 19:31:10 +02:00
Marc Majoral
17ddab1c3e Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-10-17 15:49:58 +02:00
Marc Majoral
8e6370e133 changed the downsampling factor of the L1 and E1 acquisition from /2 to /4 2018-10-17 15:45:08 +02:00
Javier
e6e85798bd Improving interchannel bias observables test (duplicated satellites option) 2018-10-15 17:02:43 +02:00
Javier
1018570867 Set a more restrictive threshold for the RTKLIB solver test 2018-10-11 17:49:42 +02:00
Carles Fernandez
8e5a24b32d
Merge branch 'trk_hi_dyn' of https://github.com/antonioramosdet/gnss-sdr into antonioramosdet-trk_hi_dyn 2018-10-10 19:34:51 +02:00
Javier
f0d43999bb Add positioning error threshold for the RTKLib solver unit test 2018-10-09 18:19:13 +02:00
Marc Majoral
8710ba1cf7 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-10-08 19:47:39 +02:00
Marc Majoral
6c56107664 removed some unnecessary debug messages
updated the Hybrid Observables test for the FPGA to instantiate the FPGA sample counter instead of the SW sample counter.
2018-10-08 18:09:25 +02:00
Javier Arribas
8fd4d8ddc9 Added special observables test case for duplicated satellites scenario 2018-10-06 19:36:25 +02:00
Carles Fernandez
d9ac749575
Fix runtime error when using Boost >= 1.66 2018-10-06 13:52:48 +02:00
Javier Arribas
d241da5d35 Added RTKLib solver unit test 2018-10-05 11:49:11 +02:00
Marc Majoral
2826dd21d3 use of the :2 decimator in the GPS L1/Galileo E1 frequency band
added methods to the L1 and E1 FPGA acquisition classes for the unit tests to be able to control the doppler sweep from the SW instead of the HW. In this way we can produce more detailed results.
2018-10-04 17:49:09 +02:00
Antonio Ramos
a2b668ef47 Display more information in the terminal line 2018-09-19 19:27:31 +02:00
Antonio Ramos
7e9b8ddd55 Save carrier phase in observables unit test 2018-09-19 00:26:02 +02:00
Antonio Ramos
aff13c9a52 Add high dyn and smoother length flags for testing purposes 2018-09-18 17:14:33 +02:00
Marc Majoral
df3caf5c2b Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-09-18 11:43:19 +02:00
Marc Majoral
f333c05305 saving temporary changes before merging with usptream next branch
added functions that allow the tests to read the scaling factor used by the FFT and the IFFT during acquisition
2018-09-18 11:36:12 +02:00
Antonio Ramos
31b35ce84a Merge branch 'next' into trk_hi_dyn 2018-09-17 19:19:59 +02:00
Carles Fernandez
d93e60caaf
Fix building in some environments 2018-09-13 20:55:20 +02:00
Marc Majoral
1b0568e0e9 implemented hybrid observables tests using the FPGA. The hybrid observables test funtions are not tested yet. 2018-09-13 16:36:21 +02:00
Marc Majoral
5b9b63cc77 implemented tracking pull-in tests for the FPGA
solved a bug in which the SW was using the doppler shift index reported by the HW acquisition accelerator plus one, instead of using the doppler shift index as such.
2018-09-12 16:02:23 +02:00
Antonio Ramos
0210f9a5ce Estimate code rate chips freq 2018-09-10 21:29:44 +02:00
Antonio Ramos
f22a1586c7 Merge branch 'next' into trk_hi_dyn 2018-09-09 20:42:58 +02:00
Antonio Ramos
25d04a94f2 Update rem_carrier_phase and minor changes 2018-09-09 18:19:43 +02:00
Carles Fernandez
bd1bd468fb
Fix building if glog is not present 2018-09-08 10:11:25 +02:00
Carles Fernandez
a5205c1f71
Add option -DENABLE_UNIT_TESTING_MINIMAL for building on systems with limited memory 2018-09-07 14:36:11 +02:00
Carles Fernandez
49beb1241a
Fix header and testing in non-interactive environments 2018-09-04 20:08:59 +02:00
Carles Fernandez
f328e708b0
Fix build with latest GNU Radio master (towards 3.8) 2018-08-31 15:30:22 +02:00
Carles Fernandez
d2e3afec1e
Fix build with latest GNU Radio master (towards 3.8) 2018-08-31 15:08:07 +02:00
Carles Fernandez
e4303d0fac
Fix build with latest GNU Radio master (towards 3.8) 2018-08-31 13:52:35 +02:00
Marc Majoral
2b15343a6a started tracking pull-in test implementation for the FPGA 2018-08-29 18:20:41 +02:00
Javier Arribas
141f615659 Removed debug print 2018-08-29 10:30:46 +02:00
Javier Arribas
3f29d27873 Improving observables unit test 2018-08-27 18:08:31 +02:00
Javier Arribas
a7d28c20c1 Adding Galileo INAV and FNAV page decoder unit test 2018-08-26 20:06:30 +02:00
Carles Fernandez
050543b427
Start at 30 dBHz by default 2018-08-24 12:34:36 +02:00
Carles Fernandez
d364258b6e
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into doppler_rate 2018-08-22 17:30:21 +02:00
Carles Fernandez
8184e0eb81
Remove unused includes, avoid pointer dereference 2018-08-21 18:11:03 +02:00
Carles Fernandez
a833abbb8a Merge branch 'kf' of https://github.com/gnss-sdr/gnss-sdr into next 2018-08-21 11:50:39 +02:00
Carles Fernandez
2b0e0f73ff
Add work on Doppler rate 2018-08-15 13:38:49 +02:00
Gerald LaMountain
05aea34e7b Add a unit test for bayesian_estimation.cc as part of trk_test which tests that all outputs are positive over a large number of iterations 2018-08-14 00:54:00 -04:00
Carles Fernandez
d41ed73a00
Add more extensive use of cstdint typenames 2018-08-11 13:12:33 +02:00
Carles Fernandez
05a1806c8f
Merge branch 'fpga' of https://github.com/mmajoral/gnss-sdr into merge-marc 2018-08-11 12:56:52 +02:00
Carles Fernandez
35daf5a5e5
Fixes for 32-bit archs 2018-08-11 09:52:26 +02:00
Carles Fernandez
2b65c1b550
Replace unsigned long int by uint64_t and long int by int64_t in tests 2018-08-10 21:16:10 +02:00
Marc Majoral
b1524a3afe implemented 64-bit global sample counter
started programming the FPGA tracking unit tests
2018-08-10 13:12:06 +02:00
Carles Fernandez
4f588058d0
Initialize all variables 2018-08-09 20:14:42 +02:00
Carles Fernandez
25ebeb746a
Read number of executed dwells 2018-08-09 12:56:27 +02:00
Javier Arribas
27f8b1fe61 Improving tracking pull-in test and hybrid observables test. Now observables test uses double differences 2018-08-07 20:16:43 +02:00
Javier Arribas
06015f82b3 Considering GPS and Galileo PRN ranges in tracking pull-in test 2018-08-01 15:51:46 +02:00
Javier Arribas
7697263a03 Improving tracking pull-in test 2018-08-01 09:55:59 +02:00
Javier Arribas
83413f2eaf Improving and extending GPS L1 CA observables unit test 2018-07-26 19:25:10 +02:00
Javier Arribas
ab5f5689f0 Bug fix in true observables reader 2018-07-26 19:21:53 +02:00
Carles Fernandez
5a908fcf7d
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into glamountain-kf 2018-07-20 12:59:46 +02:00
Javier Arribas
23a036f58f Improving Galileo E1 tracking plot in tracking pull-in unit test 2018-07-20 11:06:39 +02:00
Javier Arribas
f9e4bdfa59 Fix stream_to_vector incoherence in pcps acquisition and add support for GPS L2C, L5I, Galileo E1 and E5a in tracking pull-in test 2018-07-19 16:26:51 +02:00
Javier Arribas
0b6bcf6858 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2018-07-17 18:32:15 +02:00
Javier Arribas
e88447675d Improving tracking and observables unit test plots 2018-07-17 18:31:55 +02:00
Carles Fernandez
4f7bfd3641
Add acq_test_skiphead flag to Acquisition performance test 2018-07-16 20:58:33 +02:00
Javier Arribas
639eb0d59c Bug fix in Doppler error plot in Tracking unit test 2018-07-16 16:23:41 +02:00
Javier Arribas
be22c6a83e Improving accumulated carrier phase error estimation in tracking unit test 2018-07-16 15:09:35 +02:00
Carles Fernandez
994a4b32d8
Fix Glonass acquisition test 2018-07-13 15:16:48 +02:00
Carles Fernandez
92a6676b9e
Enable second refinement stage in a thinner grid for coherent and/or non-coherent acquisitions 2018-07-13 11:50:31 +02:00
Carles Fernandez
b922965746
Fix number of read samples 2018-07-13 00:16:57 +02:00
Javier Arribas
75d0645276 Add RMSE exports to MATLAB in tracking unit test 2018-07-12 18:52:38 +02:00
Carles Fernandez
9881857fa5 Fix Acquisition for L2C and E1B 2018-07-11 14:51:34 +02:00
Carles Fernandez
0ad24adeab
Make acquisition performance test multisystem 2018-07-10 18:43:36 +02:00
Carles Fernandez
0bc894a91f
Header fix 2018-07-10 18:41:24 +02:00
Carles Fernandez
4680363d68
Merge branch 'noncoherent' of https://github.com/carlesfernandez/gnss-sdr into noncoherent 2018-07-10 17:20:57 +02:00
Carles Fernandez
f965cf750d
Accept coherent and noncoherent integration 2018-07-10 17:20:37 +02:00
Carles Fernandez
85f70fe1a3 Fix coherent acquisition 2018-07-10 16:25:16 +02:00
Javier Arribas
89c00560f2 Fix Acquisition fine Doppler implementation 2018-07-07 15:39:09 +02:00
Sergi Segura
bf8ffe63cf implemented the acquisition block, not working 2018-07-06 14:42:13 +02:00
Carles Fernandez
2f3376dc38
Ensure that a terminal is not open when the flag --noshow_plots is passed to the tests 2018-07-06 11:14:38 +02:00
Carles Fernandez
c10d457ae5 Accept two types of algorithms 2018-07-05 21:33:08 +02:00
Carles Fernandez
d14d4ccdbc Add work 2018-07-05 10:51:23 +02:00
Carles Fernandez
f7aba5deab Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2018-07-05 09:46:38 +02:00
Carles Fernandez
1cd4696da2
Fix defects detected by Coverity Scan 2018-07-04 21:00:53 +02:00