Commit Graph

655 Commits

Author SHA1 Message Date
Carles Fernandez 8a06981c16
Improve const correctness 2020-07-20 01:20:15 +02:00
Carles Fernandez c0f81dd9e2
Improve const correctness. Improve usage of typeid 2020-07-19 09:39:32 +02:00
Carles Fernandez 8666ff7706
Include what you use 2020-07-14 20:12:08 +02:00
Carles Fernandez 06dbbca314
Sort private members 2020-07-13 13:40:59 +02:00
Carles Fernandez 540e8efa55 Resolve conflicts 2020-07-13 12:24:27 +02:00
Carles Fernandez 200a5b8cd4
Fixes for the new signature, fix bugprone-* warnings, fix typo in block factory 2020-07-11 13:06:32 +02:00
Carles Fernandez 8b841215b7
Fix conflicts 2020-07-11 12:09:19 +02:00
Carles Fernandez e13d0c2b76
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into piyush0411-Acquisition 2020-07-11 11:37:54 +02:00
Carles Fernandez 33cee4a759
Remove all warnings raised by bugprone-* clang-tidy checks in acquisition adapters 2020-07-10 13:35:15 +02:00
Carles Fernandez 5ad319e133
Remove all warnings raised by bugprone-* clang-tidy checks in acquisition blocks 2020-07-10 12:52:58 +02:00
Carles Fernandez f2ccad7327
Fix input power computation 2020-07-10 11:28:53 +02:00
Carles Fernandez c04948fd02
Reduce number of warnings raised by bugprone-* clang-tidy checks 2020-07-10 00:37:55 +02:00
Carles Fernandez 09bcd1981c Replace std::endl by \n character. There is no need to always flush the stream. 2020-07-07 18:53:50 +02:00
Carles Fernandez d3b7557dcf
Sort constants
no more GPS_L1_PI, GPS_L2_PI, etc. Values are written in a single point.
2020-07-05 20:20:02 +02:00
Carles Fernandez 2b3d4b321d
Make the adapters take the configuration pointer as const 2020-06-29 09:07:41 +02:00
Carles Fernandez 23e13a7002
Fix CMake warnings 2020-06-27 19:48:33 +02:00
Carles Fernandez c784dfe125
Fix a bug that could cause a crash on receiver stopping
If a channel event was happening after flowgraph stop and before flowgraph disconnection, it caused a crash. This was avoided by sleeping the control thread during 500 ms after disconnection and before the block destructors were called, so the event could be processed, but this was not a robust solution.
2020-06-27 09:52:59 +02:00
Carles Fernandez 06ce79490b
Sort private members in headers 2020-06-26 18:37:31 +02:00
Carles Fernandez 5a3db5a53d
Add debug internal logging for destructors. Sort destructor order 2020-06-25 02:50:07 +02:00
Carles Fernandez b5c2367788
Merge branch 'Acquisition' of https://github.com/piyush0411/gnss-sdr into piyush0411-Acquisition 2020-06-23 11:47:24 +02:00
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 eea1afea18
Merge branch 'next' into Acquisition 2020-06-18 19:48:53 +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
piyush0411 ff7affb666 Fixed some errors and typos 2020-06-15 18:26:07 +05:30
Carles Fernandez 0df4277d36
Unify criteria in target definitions, more informative names 2020-06-13 00:32:40 +02:00
piyush0411 1bfc821487 Updated CMakeLists.txt file 2020-06-12 17:30:45 +05:30
piyush0411 4cccd97bb5 PCPS based Acquisition Files for FPGA 2020-06-09 01:02:52 +05:30
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
piyush0411 9e38cc4ef5 Added PCPS based Acquisition Files 2020-06-06 14:25:46 +05:30
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