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
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
Carles Fernandez
b1166de1a0
Introduce volk:gnsssdr::vector
...
The usual benefits of using objects as opposed to pointers (RAII) + the type information is manifest (no void* pointers)
The best of both worlds: automatic destruction, aligned memory
2019-10-26 22:24:42 +02:00
Carles Fernandez
7126185515
Add and apply readability-braces-around-statements check
2019-10-11 19:24:20 +02:00
Carles Fernandez
c9e03557b7
Remove tabs
2019-10-05 03:16:31 +02:00
Marc Majoral
d20284fbc0
removed unused parameters
2019-10-02 15:25:46 +02:00
Carles Fernandez
0e6364af5a
Remove unused variables
2019-09-23 14:25:03 +02:00
Carles Fernandez
269d9010cd
Apply clang-tidy with ENABLE_OPENCL set to ON
2019-09-14 11:27:23 +02:00
Carles Fernandez
d137fda820
Apply clang-tidy
2019-09-13 13:35:26 +02:00
Carles Fernandez
e80122f4ff
Apply clang tidy checks and clang-format
2019-09-13 08:56:37 +02:00
Carles Fernandez
38a987607e
Make use of the new Boost::headers target introduced in CMake 3.15
2019-09-07 12:36:19 +02:00
Carles Fernandez
02318c0382
Give to global parameters more meaningful name
2019-08-31 11:37:29 +02:00
Carles Fernandez
95f688dcb0
Mark all constructors callable with one argument as explicit
2019-08-23 21:25:44 +02:00
Carles Fernandez
d4bb6e5731
Always have a space between // and comment
2019-08-18 22:16:13 +02:00
Carles Fernandez
4dd8aa12b4
Replace C style casts by C++ casts
2019-08-18 12:54:16 +02:00
Carles Fernandez
c31d9dea40
Fix errors risen by include_what_you_use
2019-08-17 13:56:54 +02:00
Carles Fernandez
3d146019dd
Apply modernize-redundant-void-arg clang-tidy fix
2019-08-14 02:14:29 +02:00
Carles Fernandez
ad477fd12f
Fix warning (unused parameter)
2019-08-13 21:26:36 +02:00
Carles Fernandez
487010346f
Apply readability-isolate-declaration clang-tidy check
2019-08-13 00:19:31 +02:00
Carles Fernandez
3e3af9de5a
Add new configuration option ENABLE_ARMA_NO_DEBUG
...
When enabled, defines the ARMA_NO_DEBUG macro in Armadillo, disabling bound checking.
Disabled by default, but it is set automatically to ON if ENABLE_PACKAGING is set to ON
2019-08-12 11:33:51 +02:00
Carles Fernandez
070996cdb4
Apply clang-tidy check readability-else-after-return
2019-08-04 13:15:03 +02:00
Carles Fernandez
4ec498514c
Build OpenCL block only if enabled with -DENABLE_OPENCL=ON
2019-08-02 14:59:05 +02:00
Carles Fernandez
2ec6ed6ec6
Clean usage of Guidelines Support Library
2019-07-29 21:47:46 +02:00
Carles Fernandez
4933ae3e0d
No Armadillo bound checking if compiled in Release mode
2019-07-29 21:22:44 +02:00
Carles Fernandez
8aaf6019e9
Better usage of the GSL, other minor cleaning
2019-07-27 11:22:08 +02:00
Carles Fernandez
822185ff93
Fixes by clang-tidy, clang-format and codespell
2019-07-26 13:58:15 +02:00
Carles Fernandez
d818aacde4
Avoid name clash with system macro in macOS
2019-07-26 13:22:11 +02:00
Carles Fernandez
d626ca1f88
Merge branch 'fpga_extended_coherent_integration' of https://github.com/mmajoral/gnss-sdr into mmajoral-fpga_extended_coherent_integration
2019-07-26 13:12:46 +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
Marc Majoral
694c5d9dcb
Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration
2019-07-26 10:11:55 +02:00
Carles Fernandez
ddc6b822fb
Simplify code
2019-07-26 03:51:43 +02:00
Marc Majoral
7f594a356b
doppler center frequency for the grid search
2019-07-24 13:02:14 +02:00
Marc Majoral
0b8a408b9a
Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration
2019-07-24 12:02:17 +02:00
Javier Arribas
f18a9adb55
Correct data type in acquisition set doppler center
2019-07-24 12:00:25 +02:00
Marc Majoral
ad7c1afea1
Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration
2019-07-24 11:30:04 +02:00
Marc Majoral
48fe6086e4
updated the handling of the scoped_lock mutex in the fpga tracking loops + used clang-format.
2019-07-24 11:26:16 +02:00
Carles Fernandez
bd99a0674c
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next
2019-07-23 19:32:55 +02:00
Marc Majoral
f30d8a60ec
updated doxygen comments
2019-07-23 19:05:43 +02:00
Carles Fernandez
bf1ac2cb50
Simplify GSL usage
2019-07-23 19:01:18 +02:00
Carles Fernandez
05faf97b70
Switch to automatically managed static memory
2019-07-23 18:54:32 +02:00