Commit Graph

201 Commits

Author SHA1 Message Date
Carles Fernandez 95596b8f91
Soft transition from Gflags and Glog to Abseil. Some CI fixes 2024-04-29 08:27:33 +02:00
Carles Fernandez a152226f50
Fix potenctial data race condition 2023-12-02 12:54:28 +01:00
Carles Fernandez 3e9648c4eb
Apply changes suggested by clang-tidy 2022-12-06 14:06:01 +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
Carles Fernandez 67e27a3d89
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vladisslav2011-glonass-ext-correlator-fix2 2022-08-25 09:45:02 +02:00
Carles Fernandez 56ae0c043c
CMake: Improve spdlog handling 2022-08-23 13:02:04 +02:00
Vlad P c1d68ffbb3
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: Vlad P <vladisslav2011@gmail.com>
2022-08-09 20:49:15 +03:00
Carles Fernandez 6ec452a7c0
Allow the CMake project to be a sub-project 2022-07-28 10:37:36 +02:00
Vladisslav P 9b210485c7 Fix GLONASS extended correlator
1. Emit a message from preamble detection branch from telemetry decoder
2. Connect flowgraph message ports to pass the message from telemetry
decoder block to a dll-pll-c-aid-tracking block
3. Name message ports correctly as the massage is passed in samples, not
seconds

Signed-off-by: Vladisslav P <vladisslav2011@gmail.com>
2022-05-17 13:40:30 +03:00
Carles Fernandez 9a4bd51063
Fix reading of .repeat_satellite parameter 2021-12-19 17:30:26 +01:00
Carles Fernandez 31592f7eb3
Prefer initialization to assignment in constructors 2021-12-14 17:41:18 +01:00
Carles Fernandez bcec8331e6
Fixes for building against GNU Radio master
Log4cpp has been replaced by spdlog and fmt
2021-11-23 16:38:50 +01:00
Carles Fernandez a7a140862b
Fix building against latest GNU Radio
Replace boost::any by std::any
2021-10-30 05:43:22 +02:00
Carles Fernandez ba89685ce6
Remove wrong error message 2021-02-09 11:34:07 +01:00
Carles Fernandez 862bdeea5c
Avoid segmentation fault if the Tracking item_type is not defined for the given implementation 2021-01-26 14:01:28 +01: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 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
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 8a06981c16
Improve const correctness 2020-07-20 01:20: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 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 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 bc0cc69d76
Fix clang-format job 2020-06-19 13:01:22 +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 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 4913756a05
Replace <boost/bind.hpp> by <boost/bind/bind.hpp> 2020-06-06 23:41:38 +02:00
Carles Fernandez f731a7c0f1
Fix for Boost >= 1.73 in old compilers 2020-05-18 22:50:34 +02:00
Carles Fernandez 1077970962
Revert "Fix for Boost < 1.60"
This reverts commit 832c2558c6.
2020-05-18 21:36:22 +02:00
Carles Fernandez 832c2558c6
Fix for Boost < 1.60 2020-05-18 19:55:44 +02:00
Carles Fernandez b408a2ef29
Fix for Boost 1.73: qualify placeholders with their full namespace 2020-05-18 18:58:39 +02:00
Carles Fernandez c27622a738
Fixes for old GCC 2020-04-26 12:28:24 +02:00
Carles Fernandez 9c9a7b5bc6
Use lambda instead of boost::build when genenic lambdas are available in the compiler 2020-04-25 22:17:15 +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 2ded19342f
Improve headers 2020-02-12 00:04:29 +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