1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-26 15:03:14 +00:00
Commit Graph

726 Commits

Author SHA1 Message Date
Marc Majoral
5114d91ffc replaced tabs with spaces 2020-11-27 13:49:14 +01:00
Marc Majoral
9e552b9cda The acquisition device name is not configurable. 2020-11-27 12:04:27 +01:00
Marc Majoral
a53109c718 The sample counter, the Acquisition and the Switch determine the uio device file that is assigned to them using the hardware accelerator device name in the FPGA 2020-11-26 17:07:15 +01:00
Carles Fernandez
e133834fb9
Fix test termination 2020-11-22 20:08:42 +01:00
Carles Fernandez
5c1f5bf315
Merge branch 'blocking-false' into next 2020-11-22 14:10:03 +01:00
Carles Fernandez
a091b18062
Fix occasional segfault when exiting with enter+q if Acquisition_XX.blocking=false 2020-11-22 14:08:48 +01:00
Carles Fernandez
79d846d21a
Clang-format fixes 2020-11-21 20:26:43 +01:00
Carles Fernandez
ad5690c52f
Fix exit with enter+q when Acquisition_XX.blocking=false 2020-11-12 15:24:15 +01:00
Carles Fernandez
b8862f8d7d
Give more intuitive names to files with functions for local signal replica generation 2020-11-07 22:43:19 +01:00
Carles Fernandez
bcd7c25cd1
Add Galileo E6 signal structure based on E6-B/C Codes Technical Note, Issue 1, Jan 2019.
Add Acquisition, Tracking and TLM blocks for Galileo E6 B/C. The decoder does nothing
2020-11-07 21:33:26 +01:00
Carles Fernandez
0880b04649
Handle change in GNU Radio FFT API 2020-11-04 09:32:00 +01:00
Carles Fernandez
e192feba3a
Fix building of OpenCL block 2020-11-03 22:33:12 +01:00
Carles Fernandez
f0e1ef6f9a
Add a common shared pointer definition
Makes transition to GNU Radio 3.9 API less verbose
2020-11-03 20:51:57 +01:00
Carles Fernandez
287284261c
Make use of Doxygen grouping feature
Improve Modules page in generated HTML documentation
2020-11-01 13:37:19 +01:00
Josh Schindehette
a8b536b367 Fixed issues for cpplint, clang-format, and REUSE-compliance 2020-10-21 16:26:56 +02:00
Josh Schindehette
ed93af11ac Added acquisition and tracking monitors
Added acquisition and tracking monitors to view intermediate outputs of
GNSS-SDR from monitoring clients. Each monitor (acquisition, tracking,
original monitor, and pvt) pushes its data to a different UDP port.
2020-10-21 16:26:56 +02:00
Marc Majoral
3daa9259e8 fixed the second step acquisition input parameters 2020-09-17 10:10:02 +02:00
Marc Majoral
70ceb4d11f fixed doppler variable type 2020-09-01 16:00:00 +02:00
Carles Fernandez
a7e5132664
Fix bug in acquisition detection when the configuration parameter Acquisition_XX.threshold was set but Acquisition_XX.pfa was not 2020-08-14 01:07:03 +02:00
Carles Fernandez
c6e4287ee1
Improve variable initialization 2020-08-13 22:07:34 +02:00
Carles Fernandez
499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
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
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