Commit Graph

630 Commits

Author SHA1 Message Date
Carles Fernandez 037a1fcb5f
Improve headers, large data members first. Improve nav message interfaces 2020-06-23 09:47:58 +02:00
Carles Fernandez 0d5b5894b4
Sort header files 2020-06-19 12:39:28 +02:00
Carles Fernandez f6058c6b61
Use unique_ptr for fft 2020-06-19 10:26:06 +02:00
Carles Fernandez 3e23b4a08c
Indicate with a prefix the private data members for clarity, use unique_ptr instead of shared_ptr 2020-06-19 03:51:50 +02:00
Carles Fernandez 81af1a531b
Redesign of pointer management
Avoid indirection caused by passing shared_ptr by reference

The block factory does not have responsability on the lifetime of their inputs

Define std::make_unique when using C++11 and make use of it

Printers are turned into unique_ptr to express ownership

Printers do not participate on the lifelime of the data, so they take const raw pointers

Modernize tests code
2020-06-18 11:49:28 +02:00
Carles Fernandez 094f8f2ee9
Remove unneded reset of the acquisition grid 2020-06-16 08:29:10 +02:00
Carles Fernandez 0df4277d36
Unify criteria in target definitions, more informative names 2020-06-13 00:32:40 +02:00
Carles Fernandez 2a3d682f1f
Make use of target_sources(), make use of target propagation to reduce redundancy in dependencies, some fixes for Clang and CMake < 3.11. Use generic lambdas with auto 2020-06-08 20:04:01 +02:00
Carles Fernandez 2b11bd6ba9
Uniformize interface of Galileo E5a functions 2020-05-08 09:50:05 +02:00
Carles Fernandez 1d703b4b48
Fix for using std::span when available, and gsl::span as a fallback 2020-05-07 23:11:11 +02:00
Carles Fernandez eaee82280a
Make use of std::span when available 2020-05-07 21:47:45 +02:00
Carles Fernandez 16f45254a3
Fix building of OpenCL and CUDA blocks 2020-04-04 12:52:39 +02:00
Carles Fernandez 865a54ddff
Apply clang-format 2020-04-03 00:17:22 +02:00
Carles Fernandez 3519107131
Add compatibility with the new GNU Radio 3.9 API that uses C++11 standard smart pointers instead of Boost smart pointers 2020-04-02 23:59:35 +02:00
Carles Fernandez 5f974a8f17
Replace boost::shared_ptr by std::shared_ptr 2020-04-02 13:23:20 +02:00
Carles Fernandez 299cb1a2ee
Remove usage of uninitialized variables in CMake scripts
Remove all warnings emitted by cmake --warn-uninitialized ..
2020-02-29 14:33:09 +01:00
Carles Fernandez c6fc6eb020 Apply performance-type-promotion-in-math-fn fix.
Remove unused include, reorder header
2020-02-20 10:50:12 +01:00
Carles Fernandez 2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez d65daac971
Code formatting (cpplint.py --filter=-,+whitespace/tab,+whitespace/comments) 2020-02-11 21:47:13 +01:00
Carles Fernandez 39f4adb058 Remove unused dependencies 2020-02-11 12:56:33 +01:00
Carles Fernandez 8c16ceca14 Move gnss_sdr_flags dependency to private 2020-02-11 12:19:48 +01:00
Javier b2a17b23c5 Move debug acquisition messages from LOG(INFO) to DLOG(INFO) 2020-02-10 11:00:03 +01:00
Carles Fernandez 955348b080
Remove trailing underscore in header guards 2020-02-08 10:10:46 +01:00
Carles Fernandez 4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/)
Update license headers to SPDX format (see https://spdx.org/)
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez a8fb2a6fb5
Update configurations (remove use_CFAR_algorithm parameter) 2020-02-05 22:15:50 +01:00
Carles Fernandez d6ec2a7b2c
Update links (mainly from http to https, fix broken links) 2020-02-05 21:24:46 +01:00
Carles Fernandez 9023f19794
Use C++ comments for final #endif in headers 2020-01-26 22:23:22 +01:00
Marc Majoral eb0df94336 updated fpga-related unit tests + fixed fpga acquisition log of sample stamp + stop tracking message unlocks channel (the fpga multicorrelator stops blocking the flow of samples) 2019-12-16 18:44:22 +01:00
Carles Fernandez 6993890587
Remove old comments 2019-11-24 22:25:18 +01:00
Carles Fernandez abc12aaab3
Do not read use_CFAR_algorithm from configuration
Now it is just an internal flag not exposed to the configuration.
Added a control to ensure pfa and pfa2 are between 0.0 and 1.0
2019-11-24 12:18:21 +01:00
Carles Fernandez f2a537e403
Remove old code from acquisition adapters 2019-11-24 11:33:32 +01:00
Carles Fernandez a6300b7ccb
Fix parameter reading 2019-11-23 22:34:46 +01:00
Carles Fernandez e0f8bdd8cc
Fix initializations 2019-11-23 19:10:36 +01:00
Carles Fernandez d6528a4d13
Fix GPS L5 adapter 2019-11-23 11:23:36 +01:00
Carles Fernandez 134ddd8561
Fix existing conf files using threshold instead of pfa 2019-11-17 12:24:03 +01:00
Carles Fernandez c7866ef385
Remove unused private members, replace std::bind by lambdas, apply clang-tidy and clang-format
Fix position_test with default parameters
2019-11-16 18:00:04 +01:00
Cillian O'Driscoll 7a7fd9a7b2 Fixed two missed references to "ic8" -> cbyte 2019-11-15 11:47:46 +00:00
Cillian O'Driscoll feab31ae6b Reverted to gnss-sdr style naming for item_types
i8->byte
ic8->cbyte
...
fc32->gr_complex
2019-11-15 11:39:05 +00:00
Cillian O'Driscoll 3d27940b0a Applied clang-format 2019-11-08 13:47:08 +00:00
Cillian O'Driscoll db57db839f Fixed unused variable warning 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll 00c76b8683 Added other pcps adapters to the new format 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll a1fe98f833 Updates to get tests passing [acq refactor] 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll 6a969b1ea3 Fixes for crashing tests in acq_conf 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll 1bfb60d11c Ported galileo acquisition to new approach 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll 3071aa1fcd [WIP] Simplifying acquisition config 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll 75c57e90e5 [WIP] Fixing threshold setting in pcps_acquisition 2019-11-08 13:44:07 +00:00
Marc Majoral 8bb25dc682 removed the messages related to the fft blk exponent 2019-10-28 20:21:47 +01:00
Carles Fernandez b4e4c849b1
More usage of volk_gnsssdr::vector 2019-10-27 21:34:19 +01:00
Carles Fernandez 9a9c8825ed
Improved usage of reserve/resize 2019-10-27 12:51:01 +01:00
Carles Fernandez 82089979fe
Fix usage of resize instead of reserve 2019-10-27 11:25:31 +01:00