Commit Graph

70 Commits

Author SHA1 Message Date
Carles Fernandez ff72204400
Use aligned memory in acquisition adapters 2021-10-11 18:31:16 +02:00
Carles Fernandez 3800ac4c21
Update gsl-lite to v0.39.0 2021-10-02 02:32:18 +02: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 b8862f8d7d
Give more intuitive names to files with functions for local signal replica generation 2020-11-07 22:43:19 +01:00
Carles Fernandez 499de7a9f1
Update file headers 2020-07-28 16:57:15 +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 c04948fd02
Reduce number of warnings raised by bugprone-* clang-tidy checks 2020-07-10 00:37:55 +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 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 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 f2a537e403
Remove old code from acquisition adapters 2019-11-24 11:33:32 +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 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 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 00c76b8683 Added other pcps adapters to the new format 2019-11-08 13:44:07 +00:00
Carles Fernandez e80122f4ff
Apply clang tidy checks and clang-format 2019-09-13 08:56:37 +02:00
Carles Fernandez 02318c0382
Give to global parameters more meaningful name 2019-08-31 11:37:29 +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 8aaf6019e9
Better usage of the GSL, other minor cleaning 2019-07-27 11:22:08 +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
Carles Fernandez ddc6b822fb
Simplify code 2019-07-26 03:51:43 +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 17b1ef8b98
Do not use deletes. Improve memory management 2019-06-30 04:47:15 +02:00
Carles Fernandez dd53f81b1a
Replace memcpy by copy_n. Avoid pointer arithmetics 2019-06-29 11:58:08 +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
Javier Arribas 141e101363 Bug fix that restores the acquisition and tracking destructor calls due to circular smart pointer references 2019-04-09 17:39:48 +02:00
Javier Arribas 0be8c657de Reducing the latency in the acquisition to tracking transition 2019-03-20 15:13:17 +01:00
Carles Fernandez e7ea5c1fdd
Remove superfluous 'using google::LogMessage' 2019-03-03 13:39:35 +01:00
Carles Fernandez 62a7e54359
Introduce readability-identifier-naming check
This commit enforces naming style for Classes and global constants:
Camel_Snake_Case for Classes
UPPER_CASE for global constants
CamelCase for abstract classes
2019-02-22 10:47:24 +01:00
Carles Fernandez 111c6291ec Revert "clang-tidy: apply performance-unnecessary-value-param check"
This reverts commit eae967ed1a.
2019-02-12 12:07:40 +01:00
Carles Fernandez eae967ed1a
clang-tidy: apply performance-unnecessary-value-param check
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-02-12 01:00:36 +01:00
Carles Fernandez 73b7341904
clang-tidy: apply readability-braces-around-statements plus code formatting
See http://releases.llvm.org/7.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability-braces-around-statements.html
Code formatting applied with:
  find ../src/ -iname *.h -o -iname *.cc | xargs clang-format -i
2019-02-11 21:13:02 +01:00
Carles Fernandez a7b780fddc
Apply fixes by clang-tidy 2018-12-10 18:39:14 +01:00
Carles Fernandez d6f3cd6dd3
Revert "Apply fixes by clang-tidy"
This reverts commit ba23d698bc.
2018-12-10 18:20:45 +01:00
Carles Fernandez ba23d698bc Apply fixes by clang-tidy 2018-12-10 15:15:35 +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
Carles Fernandez 17260bbcea
Miscelaneous code improvements by clang-tidy 2018-12-08 18:49:31 +01:00
Javier Arribas 63b19692e7 Completing the smart acquisition resampler 2018-12-05 16:50:32 +01:00
Carles Fernandez 7261bec2ad
Miscelaneous code improvements 2018-12-04 13:20:49 +01:00
Carles Fernandez 327fec627c clang-tidy: apply readability-else-after-return fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html) 2018-12-03 22:08:19 +01:00
Carles Fernandez 0d408a6024 clang-tidy: apply modernize-use-auto fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html) 2018-12-03 16:25:11 +01:00
Carles Fernandez 3bb47ff755
Improve const correctness, fix string comparisons 2018-12-02 05:29:11 +01:00
Carles Fernandez 29b0212c40
Uniformize Acqusition dump basename to ./acquisition_XXX.mat 2018-10-30 21:09:34 +01:00