Commit Graph

93 Commits

Author SHA1 Message Date
Carles Fernandez fdda4edffb
Improve handling of the ORC library 2020-12-02 16:19:56 +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 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 dcf9bc52c4
Clarify source definition 2020-06-13 14:32:08 +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 eaee82280a
Make use of std::span when available 2020-05-07 21:47:45 +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 2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez cb95c65d19
Remove Gflags as a public dependency of algorithms_libs 2020-02-11 22:02:22 +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 4363dfcc9f
Fix for old compilers 2019-11-16 19:21:02 +01:00
Cillian O'Driscoll 695f3a9456 Added item type helpers 2019-11-08 13:44:07 +00: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 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 4ec498514c
Build OpenCL block only if enabled with -DENABLE_OPENCL=ON 2019-08-02 14:59:05 +02:00
Carles Fernandez c79b8ea4f3
Build OpenCL block only if enabled with -DENABLE_OPENCL=ON 2019-08-02 14:52:40 +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 9b3fd32f43
Check if the compiler has the <span> header 2019-06-29 01:58:12 +02:00
Carles Fernandez 751f54990c
Introduce gsl::span. Bound checking at compile time, no overhead at runtime
See https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md
2019-06-29 01:28:30 +02:00
Carles Fernandez a2dcf223f0
Create OpenCL imported target 2019-06-24 11:25:18 +02:00
Carles Fernandez 8d424a13b6
Replace boost::filesystem by std::experimental::filesystem when the later is available 2019-06-12 20:39:29 +02:00
Carles Fernandez ca6b4b545b
Replace Boost::filesystem by std::filesystem if C++17 support is available 2019-06-10 21:41:13 +02:00
Carles Fernandez 597ef26092
Minor fixes 2019-03-18 19:28:35 +01:00
Damian Miralles dc65760122
bds_b3i: Updating branch with new changes from upstream repo 2019-03-12 10:54:17 -05:00
Damian Miralles 2b4a395dc8 bds_b3i: merging new changes, fixing D2 decoding bug 2019-03-07 09:38:49 -06:00
Carles Fernandez cf108a46c8
Break dependency by moving files 2019-03-06 23:59:35 +01:00
Carles Fernandez 6eb81f52ee
Improve includes with IWYU
Rtcm class moved to PVT/libs
2019-03-05 12:33:54 +01:00
Damian Miralles 8782fcba69 bds_b3i: merging new changes, fixing small bugs 2019-03-01 13:28:21 -06:00
Carles Fernandez 9bc771bed6
Deploy a new option -DENABLE_CLANG_TIDY to integrate clang-tidy checks and fixes into the compilation process, if found. It defaults to OFF 2019-02-21 09:59:06 +01:00
Carles Fernandez 88147d4956
Fix build with Clang (not AppleClang) on macOS 2019-02-20 22:21:53 +01:00
Carles Fernandez 75bd492d96
Change CMake target names to more meaningful ones, reflecting the code tree 2019-02-10 18:34:28 +01:00
Carles Fernandez ce051e040f
Improve target design 2019-02-10 01:13:02 +01:00
Carles Fernandez 60637c6125
Reorder dependencies 2019-02-07 21:31:40 +01:00
Damian Miralles 1b7d4edf51 bds_b31: Getting new changes from upstream 2019-02-05 17:25:16 -06:00
Carles Fernandez 74950e9856
Set some compile definitions to private 2019-02-05 02:21:56 +01:00
Carles Fernandez 708b288e61
Clean CMake scripts 2019-02-04 22:44:45 +01:00
Carles Fernandez 8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Damian Miralles e78ba653e6 bds b3i: Adding code to process BeiDou B3I signals
Adds code to perform acq and trk in BeiDou B3I signals. Stages of
telemetry decoding, observables computation and pvt use existing
code on the platform. Some further testing is required
2019-01-25 15:43:00 -06:00
Damian Miralles 42b506d0bb bds b1i: Merging latest changes from upstream/next 2018-12-18 15:55:36 -06:00
Carles Fernandez d920aa4d92
Apply fixes by clang-tidy 2018-12-11 01:56:25 +01:00
Damian Miralles 8db3f21070 bds b11: Get latest changes and add bds functions in rtk module
Merge branch 'next' into bds_b1i. Also fixes multiple bugs with the
addition of bds b1i signals into code. Major changes where fixed and
code to support RINEX and RTCM is needed
2018-11-29 09:56:54 -06:00
Carles Fernandez 87d1413447
Make cmakelint happier 2018-11-24 18:40:34 +01:00
Carles Fernandez b0ba246934
Apply some style rules to CMake scripts 2018-11-22 00:35:21 +01:00
Carles Fernandez e3446e47ca
Add missing header to the list 2018-11-05 19:42:59 +01:00
Carles Fernandez 18db62dfd3
Fix building if Armadillo was not installed 2018-11-05 19:18:05 +01:00
Javier 01a1954b15 Adding the Hotstart telecommand implementation to predict visible satellites for GPS and Galileo constellations 2018-11-05 17:53:53 +01:00
Carles Fernandez 715f32f0ee Improve tracking dump saving
Dump files can now be saved anywhere, including absolute paths. If directories do not exist, they will be created.

Added new dump_mat to deactivate generation of .mat files
2018-10-30 00:47:12 +01:00