1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-03 02:13:16 +00:00
Commit Graph

245 Commits

Author SHA1 Message Date
Carles Fernandez
02318c0382
Give to global parameters more meaningful name 2019-08-31 11:37:29 +02:00
Carles Fernandez
df05c7418e
Fix bugprone-too-small-loop-variable clang-tidy check warnings 2019-08-24 17:34:12 +02:00
Carles Fernandez
9d0c00132d
Always have a space between // and comment 2019-08-19 01:29:04 +02:00
Carles Fernandez
4dd8aa12b4
Replace C style casts by C++ casts 2019-08-18 12:54:16 +02:00
Carles Fernandez
e4c3ee7527
Remove redundant blank lines at the end of a code block 2019-08-17 15:29:31 +02:00
Carles Fernandez
668869ee85
Avoid usage of variable length arrays, which is a C99 feature 2019-08-14 11:13:06 +02:00
Carles Fernandez
3d146019dd
Apply modernize-redundant-void-arg clang-tidy fix 2019-08-14 02:14:29 +02:00
Carles Fernandez
487010346f
Apply readability-isolate-declaration clang-tidy check 2019-08-13 00:19:31 +02:00
Carles Fernandez
8ce0358de6
Clang-tidy fixes 2019-07-30 19:00:23 +02:00
Carles Fernandez
a4d6800e22
Update copyright year
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +02:00
Carles Fernandez
471428f867
Fix typos detected by codespell 2019-07-20 12:55:46 +02:00
Javier Arribas
601230ce37 Completing the migration to the new receiver channels and commands events queue. Fix unit test execution 2019-07-18 19:29:14 +02:00
Javier Arribas
aeabfb7c3c Replacing the old gnuradio message queue with the new ConcurrentQueue 2019-07-17 15:56:30 +02:00
Javier Arribas
1313edd716 Partial implementation of the new event queue and its dependencies. Still NOT usable 2019-07-16 17:41:12 +02:00
Carles Fernandez
da7ca482a8 Hide direct constructor as private member 2019-07-02 17:24:54 +02:00
Carles Fernandez
173361f89f Fix test 2019-07-02 11:31:43 +02:00
Carles Fernandez
d5e5e5725d
Apply fixes by clang-tidy 2019-06-30 00:01:54 +02:00
Carles Fernandez
7264888487
Add explicit keyword
See https://google.github.io/styleguide/cppguide.html#Explicit_Constructors
2019-06-29 22:32:29 +02:00
Carles Fernandez
751f54990c
Introduce gsl::span. Bound checking at compile time, no overhead at runtime
See https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md
2019-06-29 01:28:30 +02:00
Carles Fernandez
16f7c4b889
Pass vectors and matrices by reference, rename classes to CamelCase style 2019-06-16 14:54:41 +02:00
Carles Fernandez
d6887488f3
Avoid usage of std::rand() 2019-06-16 11:40:58 +02:00
Carles Fernandez
7c23fb35b6
Apply clang-format 2019-06-14 10:21:26 +02:00
Gerald LaMountain
c1f4c2aef3 Merge branch 'next' into kf19-next 2019-06-13 15:47:54 -04:00
Gerald LaMountain
0e68befe7c Add unscented filter to nonlinear_filtering library and add associated unit test 2019-06-13 15:42:52 -04:00
Gerald LaMountain
49a8f9a22a Rename cubature_filter library to nonlinear_filtering 2019-06-13 15:41:56 -04:00
Carles Fernandez
dd2198fd00 Apply code formatting 2019-06-13 17:37:32 +02:00
Carles Fernandez
ce3d018f67 Merge branch 'kf19-next' of https://github.com/glamountain/gnss-sdr into glamountain-kf19-next 2019-06-13 17:14:03 +02:00
Gerald LaMountain
83d77fabb0 Update cubature filter library to align with coding conventions 2019-06-13 11:07:10 -04:00
Gerald LaMountain
c567be407c Merge branch 'next' into kf19-next 2019-06-12 14:52:44 -04:00
Gerald LaMountain
6f5bca8188 Add cubature filter library to tracking and associated unit test to tests 2019-06-12 14:51:19 -04:00
Carles Fernandez
8d424a13b6
Replace boost::filesystem by std::experimental::filesystem when the later is available 2019-06-12 20:39:29 +02:00
Javier Arribas
e7517dc86d Removing superseded GPS tracking block. Carrier Aiding is now included in unified tracking 2019-06-11 10:11:20 +02:00
Carles Fernandez
ca6b4b545b
Replace Boost::filesystem by std::filesystem if C++17 support is available 2019-06-10 21:41:13 +02: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
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
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
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
f1871a84e2 clang-tidy: apply checks 2019-02-11 15:33:24 +01:00
Carles Fernandez
b9c115bdf8 clang-tidy: apply modernize-use-using check 2019-02-11 13:13:06 +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
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
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
7c9f824e29
Apply clang-tidy fixes 2018-12-10 18:12:14 +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
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
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
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
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
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
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
8e6370e133 changed the downsampling factor of the L1 and E1 acquisition from /2 to /4 2018-10-17 15:45:08 +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
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
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
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
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
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
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
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