1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-29 07:20:51 +00:00
Commit Graph

384 Commits

Author SHA1 Message Date
Carles Fernandez
d4ed61df4b
Improve handling of gflags library
Set minimun gflags version to 2.1.2

Replaced google:: by gflags:: namespace
2020-08-13 20:54:22 +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
64ba95025d
Add missing symbol 2020-07-13 10:54:47 +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
a9472e8804
CMake formatting 2020-06-23 11:06:26 +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
d029bf405b
Improve CMake scripts
Replace CMAKE_CURRENT_BINARY by CMAKE_BINARY_DIR
Remove include_directories() instance
Put the GPSTk install folder in its building folder instead of in its source folder
2020-06-13 10:25:28 +02:00
Carles Fernandez
0df4277d36
Unify criteria in target definitions, more informative names 2020-06-13 00:32:40 +02:00
Carles Fernandez
d14e69ef5a
Do not pollute the source directory if the software is built from an out-of-source-tree directory
External sources and data are now always stored in a ./thirdparty folder under the building directory.

A copy of the generated binaries will be stored under gnss-sdr/install, if the building directory is inside the source tree, or in an ./install folder under the building directory if it is outside the source tree.
Fix a bug that broke compilation if the user configured the building without extra testing in a first instance, and then switched the testing buiding options to ON in a later build.

Fix extra test building if GPSTk was already installed and Boost >= 1.71
2020-06-12 20:51:26 +02:00
Carles Fernandez
836e074f98
Add building option ENABLE_STRIP to enable the generation of stripped binaries (without debgging information). Set to OFF by default 2020-06-10 17:22:03 +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
552b438245
Fixes for old GCC 2020-04-26 12:38:01 +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
fdb0f35116
Use lambda instead of boost::build when genenic lambdas are available in the compiler 2020-04-25 21:41:04 +02:00
Carles Fernandez
27f6b0c290
Fixes for GNU Radio 3.9 2020-04-03 00:41:51 +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
Marc Majoral
c0796eb983 added a script that reads a signal stored using the ibyte format, quantizes the signal using the specified number of bits, and writes the signal to an output file. 2020-04-02 11:04:49 +02:00
Carles Fernandez
f752e790eb Fix typos, get better names for .ps files (no blank spaces, no parentheses) 2020-03-11 12:01:02 +01:00
Carles Fernandez
8051f75a54
Code formatting: fix whitespace 2020-03-05 19:11:52 +01:00
Carles Fernandez
fddb3a8bd0 Fix markdown 2020-03-05 17:16:05 +01:00
Carles Fernandez
aaa17fc218 Document signal and system flags 2020-03-05 09:58:12 +01:00
Carles Fernandez
2e23ba3489
Fix prettier-markdown CI job by running prettier --parser markdown --print-width 80 --prose-wrap always --write ./src/utils/rinex-tools/README.md 2020-03-04 22:56:01 +01:00
Javier
8082935ae0 Upgrading obsdiff tool features. Test and ref observables nomenclature changed to rover and base observables 2020-03-04 10:48:55 +01:00
Javier
d4df7f9fe7 Enable Galileo E1 in obsdiff tool 2020-03-02 12:16:14 +01:00
Carles Fernandez
b5efbf275d
Fix clang-tidy warning bugprone-string-literal-with-embedded-nul
See https://clang.llvm.org/extra/clang-tidy/checks/bugprone-string-literal-with-embedded-nul.html
2020-03-01 13:57:23 +01:00
Carles Fernandez
e638019d93
Fix formatting errors detected by cmakelint 2020-03-01 11:53:01 +01:00
Carles Fernandez
2bf7d887a1
Fix reading exceptions and some typos 2020-02-28 12:11:21 +01:00
Carles Fernandez
716fa970c4
More markdown fixes 2020-02-27 19:50:08 +01:00
Carles Fernandez
17a7044add Wrap README text into 80 character-length lines, so they are easier to read from the terminal.
Formatted by https://prettier.io/, options: --parser markdown --print-width 80 --prose-wrap always
2020-02-27 18:42:43 +01:00
Carles Fernandez
538c1e6182 Fix shadowed variables 2020-02-26 18:16:04 +01:00
Carles Fernandez
57517b44dd
Apply clang-tidy 2020-02-25 18:31:44 +01:00
Carles Fernandez
5a71e59450
Fixes for cpplint job 2020-02-25 18:27:04 +01:00
Javier
38a0777946 Adding code rate vs. carrier phase rate single difference test to obsdiff utility 2020-02-25 16:56:16 +01:00
Carles Fernandez
d3f4b1d5a0
Apply clang-tidy, document new flags 2020-02-25 08:25:19 +01:00
Carles Fernandez
5fd7f8f8f6 Fix building: Remove non-existent include
cpplint: Should have a space between // and comment [whitespace/comments]
2020-02-24 15:06:48 +01:00
Javier
b8853afd94 Upgrading obsdiff RINEX utility to account for the receiver's clock error 2020-02-24 13:04:39 +01:00
Carles Fernandez
b251061495
cpplint: Should have a space between // and comment [whitespace/comments] 2020-02-23 11:12:11 +01:00
Carles Fernandez
ce4817b679
Fix header 2020-02-22 14:23:53 +01:00
Carles Fernandez
252c693eb6
Fix fypo 2020-02-22 13:57:47 +01:00
Carles Fernandez
a2076418d8
Improve information provided to the user 2020-02-22 13:52:34 +01:00
Carles Fernandez
f193d5afb2
Shut down warnings raised by GPSTk in GCC 2020-02-22 12:28:35 +01:00
Carles Fernandez
580ddfdff0
Inform user whether utility tools will be built or not. Shut down warnings raised by GPSTk 2020-02-22 10:41:18 +01:00
Carles Fernandez
c315767008 Add warning if Armadillo version is older than 9.800, since the obsdiff tool will not be built 2020-02-20 10:53:22 +01:00
Carles Fernandez
6bd48860b2
Fix includes 2020-02-19 08:29:36 +01:00
Carles Fernandez
444023b25c
Remove unused variable 2020-02-18 22:55:23 +01:00
Carles Fernandez
924f59fad0
Remove unused includes, improve README 2020-02-18 22:46:22 +01:00
Carles Fernandez
2215e627b4
Document dependencies 2020-02-18 22:16:31 +01:00
Carles Fernandez
054ca06917
Fix for Armadillo older than 9.800 2020-02-18 21:21:46 +01:00
Carles Fernandez
61557a8c2c
Improve README 2020-02-18 20:21:31 +01:00
Carles Fernandez
17d6034e72
Improve README 2020-02-18 20:21:01 +01:00
Carles Fernandez
96889b5b74
Improve README 2020-02-18 20:00:30 +01:00
Carles Fernandez
9f4e5e9f44
Improve README 2020-02-18 19:56:55 +01:00
Carles Fernandez
48678668a9
Improve README 2020-02-18 19:54:53 +01:00
Carles Fernandez
08fed1de15
Improve README 2020-02-18 19:49:52 +01:00
Carles Fernandez
c993ebac60
Improve README, remove unused files 2020-02-18 19:43:42 +01:00
Carles Fernandez
d9525f5334
Fix building of obsdiff tool, add README file 2020-02-18 19:39:53 +01:00
Javier
b66d8066c3 Adding a new RINEX observables testing tool to command line utilities set 2020-02-18 16:45:56 +01:00
Carles Fernandez
2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez
a713f8c646
Fix license in mdl files, remove wrong file 2020-02-08 12:33:24 +01:00
Carles Fernandez
b7a75453d3
Fix comments syntax in Markdown 2020-02-08 10:52:42 +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
2b3958dccb
Replace MacOS by macOS 2020-02-01 11:18:08 +01:00
Carles Fernandez
8adcf7cf0a
Fix building with Debug configurations when gflags or glog are not present 2019-11-10 23:26:03 +01:00
Carles Fernandez
c9e03557b7
Remove tabs 2019-10-05 03:16:31 +02:00
Carles Fernandez
e80122f4ff
Apply clang tidy checks and clang-format 2019-09-13 08:56:37 +02:00
Carles Fernandez
0520d400b3 Apply clang-tidy 2019-09-11 22:31:34 +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
02318c0382
Give to global parameters more meaningful name 2019-08-31 11:37:29 +02:00
Carles Fernandez
df05c7418e
Fix bugprone-too-small-loop-variable clang-tidy check warnings 2019-08-24 17:34:12 +02:00
Carles Fernandez
9d0c00132d
Always have a space between // and comment 2019-08-19 01:29:04 +02:00
Carles Fernandez
56adcd0e8e
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-08-16 23:41:50 +02:00
Javier Arribas
5659616dc0 Unifiying and improving DLL PLL binary dump MATLAB plot script 2019-08-16 17:49:16 +02:00
Carles Fernandez
487010346f
Apply readability-isolate-declaration clang-tidy check 2019-08-13 00:19:31 +02:00
Carles Fernandez
ff71f0ec18
Remove unused linking 2019-08-03 19:56:37 +02:00
Carles Fernandez
1a11b5a2ec
Remove unnecessary links and includes to boost::thread 2019-08-03 19:51:50 +02:00
Carles Fernandez
d83083a655
Fix exception catch 2019-07-30 20:03:02 +02:00
Carles Fernandez
8ce0358de6
Clang-tidy fixes 2019-07-30 19:00:23 +02:00
Carles Fernandez
cc54b4a122 Enforce rule 15.1 of the High Integrity C++ Coding Standard
See https://www.perforce.com/resources/qac/high-integrity-c-coding-standard-exception-handling
2019-07-30 12:51:36 +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
5ba04708a9
Remove unused variable 2019-07-21 20:36:41 +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
471428f867
Fix typos detected by codespell 2019-07-20 12:55:46 +02:00
Javier Arribas
aeabfb7c3c Replacing the old gnuradio message queue with the new ConcurrentQueue 2019-07-17 15:56:30 +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
Damian Miralles
81ad7484bd
Merge branch 'next' into bds_b3i_bug_fix 2019-07-10 09:21:54 -05:00
Damian Miralles
6ba57f0e12
bds_b3i: fixing pvt computation for bds b3i single freq solution 2019-07-02 18:57:44 -05:00
Carles Fernandez
d5e5e5725d
Apply fixes by clang-tidy 2019-06-30 00:01:54 +02:00
Carles Fernandez
bb03f80478
Print Boost, Matio and Protocol Buffers found versions in summary report 2019-06-16 23:28:24 +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
Javier Arribas
89c8f3eac9 Improving tracking plot script 2019-04-03 16:04:09 +02:00