1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-27 14:48:24 +00:00
Commit Graph

4973 Commits

Author SHA1 Message Date
Carles Fernandez
34ebf384a5
Use parallel building for GPSTk and Protobuf 2020-06-13 14:01:35 +02:00
Carles Fernandez
d40c225ade
Add BLAS::BLAS AND LAPACK::LAPACK imported targets 2020-06-13 13:43:00 +02:00
Carles Fernandez
ee84f60fb4
Simplify CMake scripts 2020-06-13 10:56:49 +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
226689c359
Use target_compile_options instead of CMAKE_C_FLAGS 2020-06-12 22:47:35 +02:00
Carles Fernandez
c2c701d885
Fix warning in CMake < 3.13 2020-06-12 22:33:00 +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
034d25c8d3
Do not emit warnings due to Protocol Buffers generated code 2020-06-11 15:16:40 +02:00
Carles Fernandez
65a25a47c5
Speed optimization by reserving memory for a std::vector 2020-06-11 13:39:38 +02:00
Carles Fernandez
44eba473a4
Replace a macro by a lambda 2020-06-11 13:32:18 +02:00
Carles Fernandez
d847d3fdcf
Add test about preamble correlation implementations 2020-06-11 12:09:55 +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
fe8f186380
Merge branch 'sysheaders' into next 2020-06-10 11:59:31 +02:00
Carles Fernandez
85286f8a7e
Initialize members to a valid state 2020-06-10 11:54:23 +02:00
Carles Fernandez
34a250246a
Simplify initializations in system_parameters library 2020-06-10 10:15:59 +02:00
Carles Fernandez
5755e6ae8b
Fix FPGA test 2020-06-10 05:30:23 +02:00
Carles Fernandez
950006ddee
Fix warning in gcc 10: avoid undefined behavior in move assignment operator 2020-06-09 14:11:18 +02:00
Carles Fernandez
72c820f9ee
Fix cmakelint job 2020-06-09 01:17:48 +02:00
Carles Fernandez
904bef433f
Fix cmakelint job 2020-06-09 01:10:31 +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
d2e9b0aece
Fix for Boost 1.73 2020-06-06 20:07:00 +02:00
Carles Fernandez
cd2dfe0bc2
Fix for Boost 1.73 2020-06-06 14:11:19 +02:00
Carles Fernandez
017445040b
Merge branch 'Processing_Files' of https://github.com/piyush0411/gnss-sdr into piyush0411-Processing_Files 2020-06-04 14:11:35 +02:00
piyush0411
2b66cd1da2 Changed two files. 2020-06-04 07:51:37 +05:30
piyush0411
261d841deb Further Modifications done 2020-06-03 18:06:31 +05:30
piyush0411
bc0b32bc64 Made the changes. 2020-06-03 01:33:53 +05:30
piyush0411
2700c1c262 Fixed a typo 2020-06-01 21:23:41 +05:30
piyush0411
3f17a207fd Modified Signal Processing Files 2020-06-01 19:59:42 +05:30
Carles Fernandez
487971fd83
Merge branch 'fix-enum' into next
Fix deprecated enum usage (in Clang 10, arithmetic between different enumeration types is deprecated [-Wdeprecated-anon-enum-enum-conversion])

Fix defect detected by Coverity Scan in Rtcm_Message class (Destination buffer too small: Buffer this->data_ contains 0 characters and is not null-terminated. Copying 6 characters from it overruns this->data_)
2020-05-30 12:31:08 +02:00
Carles Fernandez
2f3f63309b
Fix for GCC 4.9 using std::array instead of char array 2020-05-30 09:40:20 +02:00
Carles Fernandez
4635b307d8
Add Galileo_E5b.h to the headers list 2020-05-30 08:48:54 +02:00
Carles Fernandez
2dd7343ca3
Merge branch 'piyush0411-Galileo_E5b' into next 2020-05-30 00:48:09 +02:00
Carles Fernandez
3ca193fd9b
Fix warning in Clang 10 2020-05-30 00:44:37 +02:00
Carles Fernandez
0897811d16
Fix for GCC 4.9 2020-05-29 09:46:30 +02:00
Carles Fernandez
8c2d1d6ad1
Initialize buffer 2020-05-29 01:23:24 +02:00
Carles Fernandez
eef5cadab0
Fix deprecated enum usage 2020-05-28 23:27:36 +02:00
Carles Fernandez
447d8a5625
Fix warning in GCC 10 2020-05-28 23:05:09 +02:00
Carles Fernandez
dd725918de
Merge branch 'Galileo_E5b' of https://github.com/piyush0411/gnss-sdr into piyush0411-Galileo_E5b 2020-05-28 21:54:34 +02:00
piyush0411
f79a840ef7 Changed Copyright Information. 2020-05-27 20:08:04 +05:30
piyush0411
7fc426e20a Added System Parameters File 2020-05-27 09:21:59 +05:30
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
a73e08c017
Improve README files 2020-05-16 16:11:50 +02:00
Carles Fernandez
35ee34673a
Fix signature of copy and move operators 2020-05-16 14:39:34 +02:00
Carles Fernandez
13ca2b08b8
Fix multi-line comment (fixes -Wcomment) 2020-05-14 22:15:29 +02:00
Carles Fernandez
1745b71f13
Update gsl-lite version to 0.37.0 2020-05-14 19:36:04 +02:00
Carles Fernandez
052dd1fc85
Fix Python version detection 2020-05-10 18:31:54 +02:00
Carles Fernandez
33696780bf
Do no require six module if python is 3.x 2020-05-10 18:20:20 +02:00
Carles Fernandez
a7928bf14c
Import python six module only if python is 2.7 2020-05-10 18:15:09 +02:00
Carles Fernandez
0637365d6c
Remove python-six as a dependency if Python version is 3.x 2020-05-10 17:31:39 +02:00
Carles Fernandez
b43daff65f
Fix warning in CMake 3.17 2020-05-09 12:15:54 +02:00
Carles Fernandez
2b11bd6ba9
Uniformize interface of Galileo E5a functions 2020-05-08 09:50:05 +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
af993e907b
Make clang-tidy happy (readability-identifier-naming filter) 2020-05-07 12:13:49 +02:00
Carles Fernandez
1726880898
Make lambda function of internal-linkage only, so it is only visible in its own translation unit. This fixes building with gcc 10.0.1, which complains about multiple definitions of the same lambda. 2020-05-07 09:31:39 +02:00
Carles Fernandez
552b438245
Fixes for old GCC 2020-04-26 12:38:01 +02:00
Carles Fernandez
0164d8b37c
Fixes for old GCC 2020-04-26 12:35:08 +02:00
Carles Fernandez
c27622a738
Fixes for old GCC 2020-04-26 12:28:24 +02:00
Carles Fernandez
6de4d28ab1
Ignore modernize-avoid-bind clang-tidy fix 2020-04-26 11:07:19 +02:00
Carles Fernandez
5bde93f08c
Fix issues with boost::condition 2020-04-26 10:20:03 +02:00
Carles Fernandez
f5fc4d4119
Use lambda instead of boost::bind 2020-04-26 09:10:53 +02:00
Carles Fernandez
4e5149a69e
Use lambda instead of boost::build in tests 2020-04-26 08:41:49 +02:00
Carles Fernandez
a75526d780
Use lambda instead of boost::build when genenic lambdas are available in the compiler 2020-04-25 23:03:44 +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
b9c84a451e
Improve internal handling of Gnss_Synchro objects
Added noexcept move constructor and move assignment operator.
Small refactor of includes
2020-04-25 16:08:33 +02:00
Carles Fernandez
ec3c868625
Fixes a bug in GLONASS GNAV CRC computation (Fixes: #349) 2020-04-10 13:44:45 +02:00
Carles Fernandez
a49df87704
Robustify cross-compilation 2020-04-08 10:51:46 +02:00
Carles Fernandez
16f45254a3
Fix building of OpenCL and CUDA blocks 2020-04-04 12:52:39 +02:00
Carles Fernandez
27f6b0c290
Fixes for GNU Radio 3.9 2020-04-03 00:41:51 +02:00
Carles Fernandez
865a54ddff
Apply clang-format 2020-04-03 00:17:22 +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
7a5907eaf7
Drop compile-time CPU detection 2020-04-02 11:10: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
2df45a2d06
Remove tabs 2020-03-31 00:34:26 +02:00
Marc Majoral
0a14a1aa42 fixed DMA input file configuration options 2020-03-30 17:43:09 +02:00
Carles Fernandez
b8f5da341b
Fix redundant comparison
Use std::llabs instead of abs
2020-03-16 11:51:50 +01:00
Carles Fernandez
1a2f7c7d9d
Bump version to 0.0.12
Add REUSE badge to README file
2020-03-12 20:13:49 +01:00
Carles Fernandez
52b2b8b9d8
Use variable instead of function in constructor 2020-03-12 19:15:11 +01: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
f233184a31
Fix receiver if the System V message queue is not available (Fixes: #361) 2020-03-10 19:56:47 +01:00
Javier
f73a4ac950 Correct Carrier Phase observable for inverted PLL lock in L2,L5 E1, and E5 2020-03-09 11:38:48 +01:00
Carles Fernandez
4a9dcff5b9 Add missing definition 2020-03-09 10:05:22 +01:00
Carles Fernandez
b4017f7aab
Fix carrier phase observable initialization in the FPGA side 2020-03-08 12:00:03 +01:00
Carles Fernandez
e58264bb0e
Remove unused parameter 2020-03-07 14:41:17 +01:00
Javier
e4dd4349c6 Fixed Carrier phase observable initialization. GNSS-SDR Observables quality verified with RTK positioning modes using RINEX files 2020-03-07 12:57:48 +01:00
Javier
79a47a8a49 Revert "Remove unuseful accumulated carrier 180 degres phase shift in GPS CA telemetry decoder"
This reverts commit ea15b54a88.
2020-03-07 11:36:47 +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
4b3f777425
Add cmake modules to cmakelint job and fix errors 2020-03-01 12:29:21 +01:00
Carles Fernandez
e638019d93
Fix formatting errors detected by cmakelint 2020-03-01 11:53:01 +01:00
Carles Fernandez
299cb1a2ee
Remove usage of uninitialized variables in CMake scripts
Remove all warnings emitted by cmake --warn-uninitialized ..
2020-02-29 14:33:09 +01:00
Carles Fernandez
581ba96904
Use cmake -E rm instead of -E remove if CMake >= 3.17 2020-02-28 20:57:28 +01:00
Carles Fernandez
2bf7d887a1
Fix reading exceptions and some typos 2020-02-28 12:11:21 +01:00
Javier
ea15b54a88 Remove unuseful accumulated carrier 180 degres phase shift in GPS CA telemetry decoder 2020-02-28 10:32:59 +01:00
Carles Fernandez
73fd1e28ad
Make the changelog file a markdown .md file 2020-02-27 21:05:29 +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
f275091ba4
Fix clang-tidy readability-inconsistent-declaration-parameter-name check 2020-02-27 08:19:24 +01:00
Carles Fernandez
c470d43432
Fix shadowed variables
See MISRA C++:2008, 2-10-2 - Identifiers declared in an inner scope shall not hide an identifier declared in an outer scope
and https://rules.sonarsource.com/cpp/RSPEC-1117\?search\=shadow
2020-02-26 22:40:00 +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
86a1dc5ca3 Add new conf parameter PVT.rinex_name to specify a custom name for generated RINEX files.
A command-line flag --RINEX_name, which overrides the configuration if defined, is also available
2020-02-25 14:43:15 +01:00
Carles Fernandez
d3f4b1d5a0
Apply clang-tidy, document new flags 2020-02-25 08:25:19 +01:00
Carles Fernandez
be8ea389b5
Fix multi-line comment warning 2020-02-24 21:01:59 +01:00
Carles Fernandez
a5b5c0c5ca
Update GSL implementation 2020-02-24 20:48:55 +01:00
Carles Fernandez
2c5e286747
Set default value for early_late_space_narrow_chips parameter to 0.15 2020-02-24 20:24:20 +01:00
Carles Fernandez
ba7a938304
Add option to enable/disable carrier aiding in the code loop (enabled by default) 2020-02-24 20:18:28 +01:00
Carles Fernandez
0986e4a66e cpplint: Should have a space between // and comment [whitespace/comments] 2020-02-24 15:11:08 +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
Carles Fernandez
29c1971c24 cpplint: Should have a space between // and comment [whitespace/comments] 2020-02-24 15:05:32 +01:00
Javier
736cd93b01 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2020-02-24 13:04:59 +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
e0b54cf8fe Rearrange attributes to simplify macros 2020-02-24 11:39:15 +01:00
Carles Fernandez
5698c9c2ea Disable complex math NaN/INFO range checking for performance 2020-02-24 11:38:18 +01:00
Carles Fernandez
ce16b0e1a4
Fix initialization 2020-02-23 13:45:57 +01:00
Carles Fernandez
649a1d7be6
cpplint: Do not use variable-length arrays [runtime/arrays] 2020-02-23 13:39:31 +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
299608c4fc
cpplint: fix readability/utf8 2020-02-23 02:47:21 +01:00
Carles Fernandez
3c4ec48d43
cpplint: fix whitespace/semicolon 2020-02-23 02:45:51 +01:00
Carles Fernandez
2a3786b0a5
cpplint: fix whitespace/blank_line 2020-02-23 02:43:17 +01:00
Carles Fernandez
a77142b8ca
cpplint: fix build/include_what_you_use, runtime/explicit filters 2020-02-22 16:36:31 +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
39c4b85abf Apply clang-format 2020-02-20 16:32:59 +01:00
Carles Fernandez
a7511326b3 Merge remote-tracking branch 'cf/refactor' into next 2020-02-20 15:24:42 +01:00
Carles Fernandez
1b093794c9 More consistent data types 2020-02-20 11:25:29 +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
c6fc6eb020 Apply performance-type-promotion-in-math-fn fix.
Remove unused include, reorder header
2020-02-20 10:50:12 +01:00
Carles Fernandez
b6c2911f39
Fix instantiation of tracking blocks with empty configuration 2020-02-20 08:23:57 +01:00
Carles Fernandez
3b965654d6
Refactor of tracking adapters
Avoid code duplication
Based on @odrisci suggestion at #336
2020-02-20 00:07:03 +01:00
Carles Fernandez
0a8c8d18a2 Fix building of GPSTk in OpenSUSE 2020-02-19 15:44:40 +01:00
Carles Fernandez
6bd48860b2
Fix includes 2020-02-19 08:29:36 +01:00
Carles Fernandez
3fd648e659
Update GPSTk to v3.0.0 2020-02-19 07:55:57 +01:00