Commit Graph

69 Commits

Author SHA1 Message Date
Carles Fernandez a152226f50
Fix potenctial data race condition 2023-12-02 12:54:28 +01:00
Carles Fernandez 6a1eec93b6
Apply changes suggested by clang-tidy 2022-12-06 12:54:21 +01:00
Carles Fernandez 223a4b16d8
Reorder private members 2022-08-25 10:16:40 +02:00
Vladisslav P a35b90b4cb glonass_lx_ca_dll_pll_c_aid_tracking better checks before enabling
preamble_timestamp_samples message port connection

1. Check for message port presence both in trk and nav blocks
2. Check for configuration property Tracking_xG.extend_correlation_ms

Signed-off-by: Vladisslav P <vladisslav2011@gmail.com>
2022-07-14 03:53:09 +03:00
Carles Fernandez 7308745f05
Apply more concise file header format
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +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
Carles Fernandez a144d52c74
Make declarations more readable
Remove unused parameters
2020-08-03 10:46:07 +02:00
Carles Fernandez 47f6855610
Give more intuitive naming to asynchronous message handlers 2020-08-03 08:13:21 +02:00
Carles Fernandez 499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
Carles Fernandez 8f2973eab9
Better names for channel API parameters 2020-07-17 11:39:26 +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 a82664d345
Avoid unnecessary pointer copy 2020-07-04 19:16:31 +02:00
Carles Fernandez 2b3d4b321d
Make the adapters take the configuration pointer as const 2020-06-29 09:07:41 +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 5a3db5a53d
Add debug internal logging for destructors. Sort destructor order 2020-06-25 02:50:07 +02:00
Carles Fernandez d2a90370d5
Sort private members 2020-06-24 11:34:14 +02:00
Carles Fernandez 0d5b5894b4
Sort header files 2020-06-19 12:39:28 +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 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 0520d400b3 Apply clang-tidy 2019-09-11 22:31:34 +00: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
Javier Arribas 27b1baf0b7 completing the acquisition assistance option from primary frequencies (e.g. L1, E1) to secondary frequencies (e.g. L5, E5) 2019-07-23 17:56:02 +02:00
Carles Fernandez be86771ede
Move default destructor to header file, so compiler can make a better job 2019-07-21 19:32:52 +02:00
Carles Fernandez 49e64f94f6
Code cleaning, initializations 2019-07-20 11:13:28 +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 19fcd60522
Clean files 2019-04-27 13:09:36 +02:00
Javier Arribas 0be8c657de Reducing the latency in the acquisition to tracking transition 2019-03-20 15:13:17 +01:00
Carles Fernandez 6eb81f52ee
Improve includes with IWYU
Rtcm class moved to PVT/libs
2019-03-05 12:33:54 +01:00
Carles Fernandez 6ba77c5f28
Sort includes: include what you use 2019-03-04 08:12:50 +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
Javier Arribas 4b80451630 Adding initial functional changes for the smart acquisition resampler 2018-12-03 17:58:18 +01:00
Javier 5b3eb12998 Implementation of new receiver telecommands standby and coldstart 2018-10-28 11:09:01 +01:00
Carles Fernandez 65a0804084
Add more extensive use of cstdint typenames 2018-08-13 10:18:05 +02:00
Carles Fernandez 0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +02:00
Carles Fernandez 34f24562cf Apply automated code formatting
Documented at .clang-format
See http://clang.llvm.org/docs/ClangFormat.html and http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2018-03-03 02:03:39 +01:00
Carles Fernandez 658e677fc3 Reorder includes: local headers first, then 3rd-party library headers, and finally standard headers 2018-02-26 03:15:53 +01:00
Antonio Ramos a90edd025c Minor changes 2018-01-08 15:52:14 +01:00
Antonio Ramos 320b4e2d7b Migrate channel_fsm pointer to std::shared_ptr 2018-01-08 12:03:32 +01:00
Antonio Ramos 2d8141d9b5 Migrate msg_queue boost smart pointers to gr sptr 2017-12-21 15:47:26 +01:00
Carles Fernandez 122ec19626 Make use of the inline keyword where appropriate 2017-08-21 11:45:12 +02:00
Carles Fernandez 07113fd89d Use the override special identifier when overriding a virtual function 2017-08-16 00:58:10 +02:00
mmajoral 28058000de set up the receiver to work with the FPGA 2017-05-05 17:08:49 +02:00
Carles Fernandez fbfc4a28ba Improve memory management
The blocks are now always managed by smart pointers instead of raw pointers
2016-05-02 17:26:32 +02:00
Carles Fernandez 59b6bf18c5 code cleaning 2016-04-25 20:34:27 +02:00
Javier Arribas 853e314bf0 Split the message collector block in a separated object inside channel 2016-04-18 14:17:09 +02:00
Javier Arribas 0f80ce0159 Channel internal message queue is replaced by the asynchronous GNURadio
message system. Removing the deprecated channel internal queue and its
references. Some tests that are using the old channel queue are disabled
in this version
2016-04-15 16:33:41 +02:00