1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-09 11:30:03 +00:00
Commit Graph

4175 Commits

Author SHA1 Message Date
Carles Fernandez
b5c2367788
Merge branch 'Acquisition' of https://github.com/piyush0411/gnss-sdr into piyush0411-Acquisition 2020-06-23 11:47:24 +02:00
Carles Fernandez
037a1fcb5f
Improve headers, large data members first. Improve nav message interfaces 2020-06-23 09:47:58 +02:00
Carles Fernandez
afa16c6769
Remove sleeps 2020-06-20 22:18:38 +02:00
Carles Fernandez
87989ead0a
Fix for clang-tidy 2020-06-19 15:37:28 +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
f6058c6b61
Use unique_ptr for fft 2020-06-19 10:26:06 +02:00
Carles Fernandez
3e23b4a08c
Indicate with a prefix the private data members for clarity, use unique_ptr instead of shared_ptr 2020-06-19 03:51:50 +02:00
Carles Fernandez
317d72dd4c
Indicate with a prefix the private data members for clarity 2020-06-19 03:22:01 +02:00
Carles Fernandez
7ef64860c4
Indicate with a prefix the private data members for clarity 2020-06-19 02:15:56 +02:00
Carles Fernandez
8abcc2e24b
Indicate with a prefix the private data members for clarity 2020-06-19 01:36:36 +02:00
Carles Fernandez
45c20f08ac
Use unique_ptr instead of shared_ptr for d_gnss_synchro_history, and code cleaning 2020-06-19 00:32:19 +02:00
Carles Fernandez
b08082e1be
Raw pointer interface for the Monitor_Pvt sink 2020-06-18 20:40:53 +02:00
Carles Fernandez
eea1afea18
Merge branch 'next' into Acquisition 2020-06-18 19:48:53 +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
piyush0411
7cd6b5c260 Modified Adapter for Signal Generator 2020-06-18 02:10:19 +05:30
Carles Fernandez
7307e82d48
Fix for gcc < 8 2020-06-16 14:00:12 +02:00
Carles Fernandez
8932427d7a
Fix for gcc < 8 2020-06-16 13:35:00 +02:00
Carles Fernandez
026e0f5c1b
Fix for old gcc 2020-06-16 13:04:02 +02:00
Carles Fernandez
771fbf1365
Make use of std::rotl (C++20) if available 2020-06-16 12:22:37 +02:00
Carles Fernandez
094f8f2ee9
Remove unneded reset of the acquisition grid 2020-06-16 08:29:10 +02:00
piyush0411
c36ce57450 Fixed some errors in Signal Generator File 2020-06-15 20:05:53 +05:30
piyush0411
e1af7818ce Updated Signal Generator File 2020-06-15 18:27:27 +05:30
piyush0411
ff7affb666 Fixed some errors and typos 2020-06-15 18:26:07 +05:30
Carles Fernandez
bd4a354f9a
Fix ENABLE_CLANG_TIDY option 2020-06-14 13:00:36 +02:00
Carles Fernandez
b712c98a5b
Make clang-tidy happy 2020-06-13 21:13:46 +02:00
Carles Fernandez
dcf9bc52c4
Clarify source definition 2020-06-13 14:32:08 +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
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
piyush0411
1bfc821487 Updated CMakeLists.txt file 2020-06-12 17:30:45 +05:30
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
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
34a250246a
Simplify initializations in system_parameters library 2020-06-10 10:15:59 +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
piyush0411
4cccd97bb5 PCPS based Acquisition Files for FPGA 2020-06-09 01:02:52 +05:30
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
piyush0411
9e38cc4ef5 Added PCPS based Acquisition Files 2020-06-06 14:25:46 +05:30
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
29c1971c24 cpplint: Should have a space between // and comment [whitespace/comments] 2020-02-24 15:05:32 +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
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
a77142b8ca
cpplint: fix build/include_what_you_use, runtime/explicit filters 2020-02-22 16:36:31 +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
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
9b0460fb3f
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into normalize-discriminator 2020-02-17 08:43:14 +01:00
Carles Fernandez
ac7a77fd47
Minor fixes 2020-02-17 08:02:59 +01:00
Carles Fernandez
448995f8b0
Improve documentation 2020-02-17 08:00:52 +01:00
Carles Fernandez
d477c8ee28
Document change in discriminator implementation 2020-02-14 19:00:42 +01:00
Carles Fernandez
0f4bd21805
Use Use C11 aligned_alloc
See https://github.com/gnuradio/volk/pull/334
2020-02-13 19:44:24 +01:00
Carles Fernandez
0914ba5d8c
Merge branch 'normalize-discriminator' of https://github.com/carlesfernandez/gnss-sdr into normalize-discriminator 2020-02-13 18:46:25 +01:00
Carles Fernandez
52b9dfb8c0
Do not add extra work for nothing 2020-02-13 18:45:57 +01:00
Carles Fernandez
b8f2182a01 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into normalize-discriminator 2020-02-13 11:09:16 +01:00
Carles Fernandez
10fc3fc48e
Add missing dependency 2020-02-12 08:30:25 +01:00
Carles Fernandez
c155a5074d
Add missing dependency 2020-02-12 07:58:32 +01: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
d65daac971
Code formatting (cpplint.py --filter=-,+whitespace/tab,+whitespace/comments) 2020-02-11 21:47:13 +01:00
Carles Fernandez
207b01a6c0
Make the carrier smoothing parameter an integer 2020-02-11 19:34:21 +01:00
Carles Fernandez
dfc02b2e5c Sort dependencies, remove unused ones 2020-02-11 17:27:54 +01:00
Carles Fernandez
0545369941 Remove unused dependency 2020-02-11 16:48:35 +01:00
Carles Fernandez
349cb431d6 Remove unused includes and dependencies 2020-02-11 16:28:58 +01:00
Carles Fernandez
17e27ace25 Move Matio dependency to private 2020-02-11 15:36:57 +01:00
Carles Fernandez
68388bd6c5 Sort out dependencies 2020-02-11 13:20:03 +01:00
Carles Fernandez
39f4adb058 Remove unused dependencies 2020-02-11 12:56:33 +01:00
Carles Fernandez
8c16ceca14 Move gnss_sdr_flags dependency to private 2020-02-11 12:19:48 +01:00
Carles Fernandez
d88cd25f03 Add new carrier_smoothing_factor flag
Fix some public/private dependency issues
Add enable_carrier_smoothing flag to position_test
2020-02-10 19:51:33 +01:00
Carles Fernandez
ce9d4b48e9 Fix CMakeLists files, clean dependencies relationships 2020-02-10 12:17:10 +01:00
Carles Fernandez
edc6444e5b Add SPDX license identifier in header 2020-02-10 11:13:15 +01:00
Javier
b2a17b23c5 Move debug acquisition messages from LOG(INFO) to DLOG(INFO) 2020-02-10 11:00:03 +01:00
Javier
b1c0e86751 New receiver feature: optional carrier smoothing of code range observables 2020-02-10 10:59:10 +01:00
Carles Fernandez
aeaf68fe47
Fix detection of Volk version if pkg-config is not present 2020-02-10 01:16:58 +01:00
Carles Fernandez
d1cb49b127
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into normalize-discriminator 2020-02-08 18:18:15 +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
bb8416402c
Fix normalization in dll_nc_e_minus_l_normalized discriminator (see #333) 2020-02-07 10:58:33 +01:00
Carles Fernandez
7d24203472
Apply new interface of dll_nc_e_minus_l_normalized 2020-02-07 10:10:27 +01:00
Carles Fernandez
0f0c3e7e1d Update links 2020-02-06 17:33:29 +01:00
Carles Fernandez
3a3d26fb0c Merge branch 'no-steering' into next 2020-02-06 17:25:01 +01:00
Carles Fernandez
93b210c142 Disable clock steering by default 2020-02-06 17:24:30 +01:00
Javier
18a5b917c4 Adding carrier phase observable initialization to match the pseudorange length 2020-02-06 16:56:42 +01:00
Carles Fernandez
a8fb2a6fb5
Update configurations (remove use_CFAR_algorithm parameter) 2020-02-05 22:15:50 +01:00
Carles Fernandez
d6ec2a7b2c
Update links (mainly from http to https, fix broken links) 2020-02-05 21:24:46 +01:00
Carles Fernandez
e75a1f19d6
Update links 2020-02-05 10:20:32 +01:00
Carles Fernandez
3f7ad8d8a7
Fix markdown 2020-02-02 13:25:15 +01:00
Carles Fernandez
56608db347
Reorder README 2020-02-02 13:23:37 +01:00
Carles Fernandez
715b7dc404
Reorder README 2020-02-02 13:23:23 +01:00
Carles Fernandez
2fe4e37ae8
Add license badge and BibTex entry for reference 2020-02-01 14:47:21 +01:00
Carles Fernandez
75b2dbf10e
Improve wording, fix broken link 2020-02-01 14:27:49 +01:00
Carles Fernandez
c00cd6bba0 Set RTCM parameter half_cycle_ambiguity_indicato (DF420) to false 2020-01-29 10:42:16 +01:00
Carles Fernandez
9023f19794
Use C++ comments for final #endif in headers 2020-01-26 22:23:22 +01:00
Carles Fernandez
eb40d9dbb5
Minor fixes 2020-01-26 14:09:49 +01:00
Carles Fernandez
dc3bf0172a
Update references and links to ICDs 2020-01-25 13:07:03 +01:00
Javier
650d637ee2 Better fix for bug fix that prevented PVT when disabled rx_clock_correction, issue #343 2020-01-22 12:16:48 +01:00
Javier
d387e1bf1a Bug fix that prevented PVT when disabled rx_clock_correction, issue #343 2020-01-22 11:24:07 +01:00
Carles Fernandez
eda1fcaaf2
Fix docs: add brief description in header to all files 2020-01-21 19:53:33 +01:00
Carles Fernandez
120032c8bd
Fix building with custom build types
None, NoOptWithASM, Coverage, O2WithASM, O3WithASM and ASAN can now be used in CMAKE_BUILD_TYPE, in addition to Debug, Release, RelWithDebInfo and MinSizeRel.
Custom build types passed to volk_gnsssdr

Handle of custom build types when building tests
Fixes for clang
2020-01-19 22:13:50 +01:00
Carles Fernandez
98ea7dc276
Fix detection of AVX and NEON
Let the compiler know where to find volk/volk_common.h when testing for AVX and NEON

Make use of __VOLK_VOLATILE

Replace <inttypes.h> by <stdint.h> in volk/volk_common.h, fixes configuration in macOS
2020-01-14 12:51:55 +01:00
Carles Fernandez
931d69b76e
Fix ARM NEON detection 2020-01-13 23:12:34 +01:00
Carles Fernandez
69e349d832
Fix guards 2020-01-13 03:12:19 +01:00
Carles Fernandez
6d51ea4ec7
Merge branch 'simple-cmake' into next 2020-01-13 03:04:05 +01:00
Carles Fernandez
bc9725c745
Simplify cmake scripts, fix volk_gnsssdr cross-compilation, update ProtocolBuffers to 3.11.2 2020-01-13 01:49:00 +01:00
Carles Fernandez
c57350cbc7
Fix build for macOS, fix warning about non-virtual destructor 2020-01-12 23:13:44 +01:00
Marc Majoral
c9ac1c10db Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fix_fpga_unit_tests 2019-12-16 18:51:15 +01:00
Marc Majoral
eb0df94336 updated fpga-related unit tests + fixed fpga acquisition log of sample stamp + stop tracking message unlocks channel (the fpga multicorrelator stops blocking the flow of samples) 2019-12-16 18:44:22 +01:00
Carles Fernandez
24a2d6c5d9 Update README to reflect how to build on Raspberry Pi 2019-12-16 10:12:15 -03:00
Carles Fernandez
5f97d52998 CMake fixes
Remove Boost usage from lib, and fix it in apps to be used only if std::filesystem is not found.
Be more precise in specifying whether include directories are PUBLIC or PRIVATE.
Some whitespace tweaks
2019-12-15 12:43:07 -03:00
Carles Fernandez
a3168bcafe
Fix bug in rtklib_conversions of glonass ephemeris (Fixes: #344) 2019-12-05 15:58:26 +01:00
Carles Fernandez
80fbeb4fe5
Revert "cmake: Use standard way of getting python prefix"
This reverts commit f6311abc87.
2019-11-30 21:14:12 +01:00
Carles Fernandez
f6311abc87
cmake: Use standard way of getting python prefix 2019-11-30 20:48:13 +01:00
Carles Fernandez
0038853c52
Clean CMake files 2019-11-30 20:30:22 +01:00
Carles Fernandez
b552616b99
Find Python 3 with CMake < 3.12 2019-11-30 17:42:44 +01:00
Carles Fernandez
21d19ebd93
Fix typo 2019-11-30 14:19:25 +01:00
Carles Fernandez
51c8732ff1
Look for python3 in first place even if CMake < 3.12 2019-11-30 14:18:39 +01:00
Carles Fernandez
52a6347fd4
Add missing include 2019-11-30 01:09:07 +01:00
Carles Fernandez
1604d86381
Remove unused variable 2019-11-30 00:55:13 +01:00
Carles Fernandez
96bf6587e7
Fix memory leaks (Fixes: #342) 2019-11-30 00:31:07 +01:00
Carles Fernandez
1d8024df98
Apply clang-format 2019-11-29 16:40:03 +01:00
Carles Fernandez
aa9adf3fd6
Replace deprecated exec_program by execute_process 2019-11-29 13:20:49 +01:00
Carles Fernandez
c88fffc5b2
Fix uninstall target 2019-11-29 13:02:02 +01:00
Carles Fernandez
625561a655
Remove deprecated cstdbool header 2019-11-25 22:47:31 +01:00
Carles Fernandez
bc7edede7c
Fixes for MSVC 2019-11-25 21:48:52 +01:00
Carles Fernandez
6993890587
Remove old comments 2019-11-24 22:25:18 +01:00
Carles Fernandez
82508e9aba
Merge branch 'odrisci-fix_pcps_threshold' into next. Fixes: #331 2019-11-24 21:24:16 +01:00
Carles Fernandez
64a1fcafb2
Boost_ADDITIONAL_VERSIONS is deprecated 2019-11-24 21:20:37 +01:00
Carles Fernandez
f6bcc27508
Apply clang-format and clang-tidy 2019-11-24 13:06:32 +01:00
Carles Fernandez
abc12aaab3
Do not read use_CFAR_algorithm from configuration
Now it is just an internal flag not exposed to the configuration.
Added a control to ensure pfa and pfa2 are between 0.0 and 1.0
2019-11-24 12:18:21 +01:00
Carles Fernandez
f2a537e403
Remove old code from acquisition adapters 2019-11-24 11:33:32 +01:00
Carles Fernandez
a6300b7ccb
Fix parameter reading 2019-11-23 22:34:46 +01:00
Carles Fernandez
acfc6f7903
Initialize all members 2019-11-23 19:26:01 +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
7ab1c3233f
Fix for homebrew 2019-11-22 21:40:42 +01:00
Carles Fernandez
17fd01ee3f
Use sha256 instead of sha1 for hash algorithm 2019-11-17 21:01:03 +01:00
Carles Fernandez
815a910619
Make use of ORC if available 2019-11-17 13:42:29 +01:00
Carles Fernandez
134ddd8561
Fix existing conf files using threshold instead of pfa 2019-11-17 12:24:03 +01:00
Carles Fernandez
0cd60b5fa1
Fix for old compilers 2019-11-16 20:09:14 +01:00
Carles Fernandez
4363dfcc9f
Fix for old compilers 2019-11-16 19:21:02 +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
Carles Fernandez
a7d19789f3
Merge branch 'fix_pcps_threshold' of https://github.com/odrisci/gnss-sdr into odrisci-fix_pcps_threshold 2019-11-16 12:40:22 +01:00
Carles Fernandez
1a9e25aa76
Add __clang__ specific attributes 2019-11-16 12:25:39 +01:00
Carles Fernandez
5728730c2a
cmake: use sha1 instead of md5 for unique target name hash
See https://github.com/gnuradio/volk/issues/238
2019-11-16 11:50:41 +01:00
Cillian O'Driscoll
7a7fd9a7b2 Fixed two missed references to "ic8" -> cbyte 2019-11-15 11:47:46 +00: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
db57db839f Fixed unused variable warning 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
00c76b8683 Added other pcps adapters to the new format 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
a1fe98f833 Updates to get tests passing [acq refactor] 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
6a969b1ea3 Fixes for crashing tests in acq_conf 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
1bfb60d11c Ported galileo acquisition to new approach 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
3071aa1fcd [WIP] Simplifying acquisition config 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
75c57e90e5 [WIP] Fixing threshold setting in pcps_acquisition 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
695f3a9456 Added item type helpers 2019-11-08 13:44:07 +00:00
Cillian O'Driscoll
a1df1eeb9c Fix missing factor two pi in clock correction
This was leading to large code/carrier divergence in the rinex output
2019-11-08 14:21:46 +01:00
Carles Fernandez
c1a26e01ff
Fix building with Xcode
Now gnss-sdr can be built with Xcode (using the CMake flag -GXcode). Before this commit, this was only possible with volk_gnsssdr already installed.
Reason of failing was that Xcode does not like targets that have only object files. See https://gitlab.kitware.com/cmake/cmake/issues/17457
2019-11-07 17:55:00 +01:00
Carles Fernandez
39382d38e9 Apply clang-format 2019-11-05 16:07:24 +01:00
Marc Majoral
83b202a5f7 Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into improve_fpga_extended_correlation 2019-11-05 15:04:20 +01:00
Carles Fernandez
bf0cba714c Apply clang-format 2019-11-05 14:45:41 +01:00
Carles Fernandez
4ac164a176 Merge branch 'odrisci-add_clock_drift' into next 2019-11-05 14:44:18 +01:00
Carles Fernandez
85c4786528 Apply clang-format 2019-11-05 14:43:41 +01:00
Marc Majoral
0e9fc67e0e Improved prn length estimation when performing extended correlation in the FPGA. 2019-11-05 13:05:01 +01:00
Carles Fernandez
f3de26ceec Apply clang-tidy 2019-11-05 12:42:56 +01:00
Cillian O'Driscoll
2a57b6e8d5 Added user_clk_drift_ppm to monitor_pvt 2019-11-05 09:45:11 +00:00
Cillian O'Driscoll
828d3cd525 [WIP] Adding velocity and clock drift 2019-11-05 09:17:41 +00:00
Cillian O'Driscoll
f9f7884d05 Applied clang-format to the previous commit 2019-11-05 09:17:41 +00:00
Cillian O'Driscoll
216e8dfa26 Added velocity and clock drift to PVT
Interestingly RTKLIB does not store the clock drift in its sol_t
datatype, so I added this to the unused element dtr[5]. This may not be
compatible with future versions of RTKLIB.

Here we store velocity in ENU coordinates and the clock drift in parts
per million (PPM)
2019-11-05 09:17:41 +00:00
Carles Fernandez
34d203a138
Fix Galileo date 2019-11-04 21:10:27 +01:00
Carles Fernandez
8f12cbc466
Include Visual Studio 14 2019-11-04 21:09:11 +01:00
Carles Fernandez
4e5a8885b1
Document triple-band modes in comments 2019-11-03 13:13:47 +01:00
Carles Fernandez
b17e58ed5a
Cosmetic changes 2019-11-02 12:23:28 +01:00
Carles Fernandez
75c2dcc929
Remove unused variable 2019-11-01 21:02:43 +01:00
Carles Fernandez
4816ae64f7
Add toolchain files for ARM processors 2019-11-01 19:29:28 +01:00
Carles Fernandez
62ace8d9e4
Move CMAKE_ASM_FLAGS to arm toolchain files 2019-11-01 11:17:52 +01:00
Carles Fernandez
d14111c85d
Improve license text wording
Fix for AppleClang compiler >= 11
2019-10-30 21:27:57 +01:00
Marc Majoral
8bb25dc682 removed the messages related to the fft blk exponent 2019-10-28 20:21:47 +01:00
Carles Fernandez
37f427844d Apply clang-format 2019-10-28 13:00:18 +01:00
Marc Majoral
f3485bb39b Throttle the DMA to give more time to other signal processing tasks. 2019-10-28 12:51:11 +01:00
Carles Fernandez
124531ba39
Accelerate writing of secondary code
And other cosmetic changes
2019-10-27 22:42:58 +01:00
Carles Fernandez
b4e4c849b1
More usage of volk_gnsssdr::vector 2019-10-27 21:34:19 +01:00
Carles Fernandez
9a9c8825ed
Improved usage of reserve/resize 2019-10-27 12:51:01 +01:00
Carles Fernandez
82089979fe
Fix usage of resize instead of reserve 2019-10-27 11:25:31 +01:00
Carles Fernandez
b1166de1a0
Introduce volk:gnsssdr::vector
The usual benefits of using objects as opposed to pointers (RAII) + the type information is manifest (no void* pointers)
The best of both worlds: automatic destruction, aligned memory
2019-10-26 22:24:42 +02:00
Marc Majoral
e0ef72eb75 fixed comments 2019-10-24 21:16:51 +02:00
Marc Majoral
6872097892 fixed the FPGA device file numbers used by the E5A tracking class. 2019-10-24 21:16:51 +02:00
Carles Fernandez
a9b0ff184d
Add energy-saving options for AD9361
New flag rf_shutdown, true by default, allows setting the RX and TX streams ON when set to false.
New parameters rx1_enable and rx2_enable, true by default, allow to disable the secondary RX channel when not used
2019-10-13 23:38:06 +02:00
Carles Fernandez
7126185515
Add and apply readability-braces-around-statements check 2019-10-11 19:24:20 +02:00
Carles Fernandez
61c22ed53b
Set default freq_dds_tx_hz parameter to 10 kHz 2019-10-11 12:02:53 +02:00
Carles Fernandez
054a20b5bf
Apply clang-format to the whole code tree 2019-10-11 11:57:33 +02:00
Carles Fernandez
3307edc1c9 Add Gnuradio::analog target for old gr-iio versions 2019-10-10 12:26:19 +02:00
Carles Fernandez
3f21367587 Fix building in some configurations 2019-10-10 10:40:37 +02:00
Carles Fernandez
cb99011de8
Fix building 2019-10-10 08:12:25 +02:00
Carles Fernandez
a6c6e53982
Fix building in Debian Buster 2019-10-10 07:38:27 +02:00
Carles Fernandez
8eca3f7cf0
Fix debian10 building 2019-10-09 22:55:20 +02:00
Carles Fernandez
94bef678af
Set definition to PRIVATE 2019-10-09 22:24:29 +02:00
Carles Fernandez
7e823123a2
Improve doc provided in terminal 2019-10-09 22:17:44 +02:00
Carles Fernandez
b0c00eb5b0
Fix for old versions of libad9361 2019-10-09 22:08:08 +02:00
Carles Fernandez
54698bd211
Apply clang-format 2019-10-09 21:15:20 +02:00
Carles Fernandez
fb0093aaab
clang-tidy: apply performance-unnecessary-value-param fix 2019-10-09 21:13:28 +02:00
Carles Fernandez
e4a39188f5
Implement FIR filter configuration 2019-10-09 20:50:06 +02:00
Carles Fernandez
c081c2ea57 Add work on FIR configuration 2019-10-09 19:05:31 +02:00
Carles Fernandez
43a8090dc6
Add work in the AD9361 manager 2019-10-09 09:18:29 +02:00
Carles Fernandez
09078b6486 Implement more conf options for AD9361 FIR filters, work in progress 2019-10-08 19:34:18 +02:00
Carles Fernandez
0dbba0500d Add more parameter guards 2019-10-08 16:38:30 +02:00
Carles Fernandez
df4a218ab4 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fir 2019-10-08 14:55:40 +02:00
Carles Fernandez
4208ffb4fb Work in the FIR filter 2019-10-08 14:55:16 +02:00
Carles Fernandez
daa30c992c Remove unused parameters 2019-10-08 14:47:28 +02:00
Carles Fernandez
bdabbf7f85 Implement phase_dds_deg parameter, fix guard for tx_bandwidth 2019-10-08 12:57:37 +02:00
Carles Fernandez
48a62594eb
Add work on RF configuration parameters for AD9361 2019-10-07 22:45:09 +02:00
Carles Fernandez
b5c253fd8f
Implement more configuration options for AD9361 2019-10-06 19:07:24 +02:00
Carles Fernandez
1e0c789c84
Prepare for gr-iio integration into GNU Radio 2019-10-05 21:12:54 +02:00
Carles Fernandez
c9e03557b7
Remove tabs 2019-10-05 03:16:31 +02:00
Marc Majoral
dbf0c38d37 applied clang-format 2019-10-03 16:37:18 +02:00
Marc Majoral
5d2047c300 replaced the device_base parameter by the dev_file_num parameter. dev_file_num specifies for each GNSS signal the first /dev/uio<X> driver that is associated to an FPGA HW accelerator that can be used for the tracking process of that GNSS signal. This parameter depends on the FPGA compilation and it is independant of the number of channels that are used for the tracking of other GNSS signals. 2019-10-03 16:37:18 +02:00
Marc Majoral
f2b2eb2f1a replaced .device_base by .dev_file_num parameter. The .dev_file_num parameter points for each type of GNSS signal, the number of the first uio device file that is used for the tracking process. 2019-10-03 16:37:18 +02:00
Marc Majoral
d20284fbc0 removed unused parameters 2019-10-02 15:25:46 +02:00
Carles Fernandez
8c31c19c09
Merge branch 'file_dma' into next 2019-10-02 00:19:22 +02:00
Marc Majoral
3a9e48c31c applied clang-format 2019-10-01 23:44:07 +02:00
Marc Majoral
e9470f566e fixed L1 and L2/L5 frequency band selection. 2019-10-01 23:13:28 +02:00
Marc Majoral
b932c5ef98 added the enable_DMA_ flag, which is used to stop the DMA when the user quits gnss-sdr, and the receiver is using the FPGA and the receiver is working in post-processing mode. 2019-10-01 22:26:30 +02:00
Marc Majoral
03cc2698bd removed the assert() function, which did not work properly. 2019-10-01 15:53:45 +02:00
Carles Fernandez
a64d3c282f
Improve thread management 2019-09-29 13:01:13 +02:00
Carles Fernandez
453c0cd249
Inject file(s) via DMA if switch_position=0 in Ad9361_Fpga_Signal_Source 2019-09-28 21:59:05 +02:00
Carles Fernandez
677711a238
Move Q components to imaginary part 2019-09-28 13:41:24 +02:00
Carles Fernandez
690f60037e
Replace cn0_mm_estimator by cn0_m2m4_estimator name 2019-09-28 01:18:23 +02:00
Carles Fernandez
43eafdd484
Improve documentation 2019-09-28 01:16:25 +02:00
Carles Fernandez
cdd490e628
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-09-23 18:19:05 +02:00
Carles Fernandez
54661af0a4 Fix compilation in macOS when ENABLE_AD9361=ON 2019-09-23 14:36:09 +02:00
Carles Fernandez
4dc30da649 Remove unused variables 2019-09-23 14:34:44 +02:00
Carles Fernandez
0e6364af5a Remove unused variables 2019-09-23 14:25:03 +02:00
Carles Fernandez
7f65e726f5
Cleaner call to function 2019-09-19 21:51:29 +02:00
Carles Fernandez
a4c55b53e9
Fix tracking of data component in L5 and E5a 2019-09-19 18:07:13 +02:00
Carles Fernandez
3b86a8f05a
Merge branch 'fix-beidou' into next (Fixes: #311) 2019-09-18 21:47:17 +02:00
Carles Fernandez
17cceabd52
Fix BeiDou decoding 2019-09-18 21:46:47 +02:00
Carles Fernandez
0c2efce10a Replace custom_year parameter name and type by bool pre_2009_file to process files dated from 1999 to 2009 2019-09-18 18:25:07 +02:00
Carles Fernandez
57d6ba7404 Fix week in GPS RINEX navigation files 2019-09-18 11:20:20 +02:00
Carles Fernandez
553df7db6a
Fix BeiDou telemetry decoder. Fix provided by David Ramati 2019-09-17 18:49:31 +02:00
Carles Fernandez
5fc16677ed Fix triple-band RINEX obs when not all signals are present 2019-09-17 16:43:08 +02:00
Carles Fernandez
837dcc6859 Improve formatting 2019-09-17 16:25:17 +02:00
Javier
630e94dbef Fix TOW wrong rollover for modern ephemeris 2019-09-17 12:49:52 +02:00
Carles Fernandez
2832c5d379
Fix estimation of CN0 for low values 2019-09-17 00:58:34 +02:00
Carles Fernandez
539f9463fa
Merge branch 'fix_trk_config_default_values' of https://github.com/mmajoral/gnss-sdr into mmajoral-fix_trk_config_default_values 2019-09-16 23:52:23 +02:00
Carles Fernandez
87e106ceac
Improve CN0 estimator 2019-09-16 21:03:04 +02:00
Marc Majoral
fcbdc47fe5 fixed the default values of some FPGA tracking configuration parameters 2019-09-16 17:29:18 +02:00
Carles Fernandez
ddaf923090
Fix GLONASS, Beidou B3I and L5+E5a RINEX files generation 2019-09-15 18:10:05 +02:00
Carles Fernandez
c7c50c37db
Fix RINEX nav in L5+E5a receiver 2019-09-14 19:25:33 +02:00
Carles Fernandez
73b49b979d
More fixes to the generation of RINEX navigation files 2019-09-14 11:57:08 +02:00
Carles Fernandez
269d9010cd
Apply clang-tidy with ENABLE_OPENCL set to ON 2019-09-14 11:27:23 +02:00
Carles Fernandez
edf852299a
Improve generation of RINEX Nav files in some configurations 2019-09-14 10:40:29 +02:00
Carles Fernandez
d116287dca
Fix RINEX navigation files annotations in some configurations 2019-09-13 18:40:41 +02:00
Carles Fernandez
a4593a86bb
Merge branch 'rinex-triple' into next 2019-09-13 17:52:10 +02:00
Carles Fernandez
511f3d4618
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-09-13 17:51:10 +02:00
Carles Fernandez
24068bdf11
Print RINEX files for GPS L1+L2+L5 receiver 2019-09-13 17:49:22 +02:00
Javier
cf3a0e4006 Use GNSS-SDR custom_year config parameter (if set) also in RINEX printers 2019-09-13 17:35:53 +02:00
Javier
ad51654fbf Adding global configuration option to specify a custom year in order to postprocess old GNSS captures and avoid wrong week rollover 2019-09-13 16:36:41 +02:00
Carles Fernandez
b674c0e243
Write RINEX files for triple-band, dual-system receiver 2019-09-13 16:30:00 +02:00
Carles Fernandez
d137fda820
Apply clang-tidy 2019-09-13 13:35:26 +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
e2d4fab080
Fix const usage 2019-09-09 23:31:20 +02:00
Carles Fernandez
79291d04ca
Make element acess in gnss_circular_deque const 2019-09-09 20:21:49 +02:00
Carles Fernandez
a1aaf8aff0
Remove bound checking when accessing elements 2019-09-09 19:08:15 +02:00
Carles Fernandez
c8cd925ba8 Remove bound checking when accessing elements 2019-09-09 16:00:17 +02:00
Carles Fernandez
5f7f6366b6 Get elements of the circular deque without expensive bound checking 2019-09-09 12:10:40 +02:00
Carles Fernandez
24872c02dc
Uniformize header guards 2019-09-07 16:42:22 +02:00
Carles Fernandez
9eb294209a
Allow packaging when gr-iio is not present 2019-09-07 16:41:27 +02: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
35063985cd
Merge branch 'convolutional' into next 2019-09-07 11:16:51 +02:00
Carles Fernandez
7f18fce958
Fix typo 2019-09-07 10:08:29 +02:00
Carles Fernandez
d652903cb6
Apply formatting 2019-09-07 09:38:05 +02:00
Carles Fernandez
345646ad7d
Clean file 2019-09-07 09:33:48 +02:00
Carles Fernandez
4248edc4f3
Fix for old compilers 2019-09-06 18:49:22 +02:00
Carles Fernandez
9cb1beffa4
Clean formatting 2019-09-06 18:39:03 +02:00
Javier Arribas
6fe7ec9d71 Fix last commit 2019-09-06 18:19:40 +02:00
Javier Arribas
889e7b9695 Adding configuration option to disable PVT observables clock correction 2019-09-06 18:02:40 +02:00
Carles Fernandez
589788d2e3
Modernize code for Viterbi decoder 2019-09-06 17:31:31 +02:00
Carles Fernandez
8b04de9462 Fix building with gr-iio 0.3-6 Debian package 2019-09-03 11:39:55 +02:00
Carles Fernandez
02318c0382
Give to global parameters more meaningful name 2019-08-31 11:37:29 +02:00
Marc Majoral
fa90bc4424 fixed cn0_and_tracking_lock_status 2019-08-30 17:02:17 +02:00
Javier
37616765ae Fix FPGA build (again) 2019-08-28 16:28:35 +02:00
Javier
1bba61a661 Fix FPGA build 2019-08-28 16:24:12 +02:00
Javier
a40f954cb9 Expose tracking lock detectors smoothers control parameters in config files 2019-08-28 16:19:36 +02:00
Javier
4bedcc7dae Add missing FLL configuration flag to tracking adapters 2019-08-28 12:42:55 +02:00
Marc Majoral
c2acada665 the device_base index is now a signed integer. 2019-08-26 17:59:16 +02:00
Carles Fernandez
5b83902d87
Trim snprintf maximum length 2019-08-25 14:59:17 +02:00
Carles Fernandez
85e30b4759
Fix conversion 2019-08-25 05:00:02 +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
d36e9e431c
Avoid string truncation 2019-08-24 12:17:53 +02:00
Carles Fernandez
d9a655efce
Avoid truncation or bad formatting in message header 2019-08-24 12:16:41 +02:00
Carles Fernandez
54e9b07699
Avoid Wformat-truncation warning 2019-08-24 11:07:10 +02:00
Carles Fernandez
09cbfed4ac
Fix string truncation 2019-08-24 09:47:53 +02:00
Carles Fernandez
dac73c730a
Import exceptions module 2019-08-23 22:44:01 +02:00
Carles Fernandez
f5cf32a142
Add additional argument to volk_get_config_path 2019-08-23 22:43:01 +02:00
Carles Fernandez
79b7233da0
Install constants.h alongside other headers 2019-08-23 22:41:13 +02:00
Carles Fernandez
e676346b65
Add -mavx2 and -mfma to clang compiler 2019-08-23 22:32:06 +02:00
Carles Fernandez
91ccc8589e
Add NEON intrinsics 2019-08-23 22:29:30 +02:00
Carles Fernandez
11afe63ef3
Add toolchain for Raspberry Pi 2019-08-23 22:28:10 +02:00
Carles Fernandez
6dc32f6c72
Add tool to plot best kernel performance vs generic kernel 2019-08-23 22:26:45 +02:00
Carles Fernandez
fd8787c7a4
Modernize memory management 2019-08-23 21:59:44 +02:00
Carles Fernandez
95f688dcb0
Mark all constructors callable with one argument as explicit 2019-08-23 21:25:44 +02:00
Carles Fernandez
7e16077526
Remove all sprintf usages
Replaced by std::snprintf
2019-08-23 20:48:52 +02:00
Carles Fernandez
6c3af29485
Fix API usage errors 2019-08-19 21:58:50 +02:00
Carles Fernandez
a754a070a1
Fix API usage errors 2019-08-19 16:13:23 +02:00
Carles Fernandez
730769d5f3 Fix API usage errors 2019-08-19 13:11:13 +02:00
Carles Fernandez
c4db5476fb Always have a space between // and comment 2019-08-19 10:49:37 +02:00
Carles Fernandez
9d0c00132d
Always have a space between // and comment 2019-08-19 01:29:04 +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
a0eaa67d7d
code cleaning 2019-08-17 15:47:20 +02:00
Carles Fernandez
e4c3ee7527
Remove redundant blank lines at the end of a code block 2019-08-17 15:29:31 +02:00
Carles Fernandez
b2045076bd
Fix typo 2019-08-17 14:26:11 +02:00
Carles Fernandez
afc7f1031c
Remove tabs 2019-08-17 14:23:35 +02:00
Carles Fernandez
c31d9dea40
Fix errors risen by include_what_you_use 2019-08-17 13:56:54 +02:00
Carles Fernandez
874c92351c
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-08-17 03:14:13 +02:00
Javier Arribas
e6af1a7e44 Simplifiying the RTKLIB error log and avoid msg repetitions 2019-08-16 18:24:01 +02:00
Carles Fernandez
24570f8a08
Fix performance-inefficient-string-concatenation clang-tidy warning 2019-08-16 16:03:10 +02:00
Carles Fernandez
0066d581a1
Fix warning raised by clang-tidy check cert-flp30-c
Loop induction expression should not have floating-point type
2019-08-16 15:37:39 +02:00
Carles Fernandez
e89a92469b
Remove all c-style casts 2019-08-16 15:19:31 +02:00
Carles Fernandez
3abf82ca2c
Fix possible memory leak 2019-08-16 13:02:11 +02:00
Carles Fernandez
d298bdf0a9
Remove unused functions with defects in memory management 2019-08-14 20:06:48 +02:00
Carles Fernandez
c52a3dd4b5
Remove unused variables 2019-08-14 12:48:09 +02:00
Carles Fernandez
8a34fa8041
Fix typo 2019-08-14 11:58:35 +02:00
Carles Fernandez
80c4cdd1cb
Avoid usage of variable length arrays, which is a C99 feature 2019-08-14 11:58:00 +02:00
Carles Fernandez
3c92d6a7c6
Improve initialization of random engines 2019-08-14 11:56:55 +02:00
Carles Fernandez
4eb8f2c14e
Avoid C99 extensions in initializations 2019-08-14 11:10:51 +02:00
Carles Fernandez
ad617a0c26
Fix receiver reference number in comments 2019-08-14 10:14:43 +02:00
Carles Fernandez
5f176b084c
Replace defines by constants and move them to the implementation 2019-08-14 02:34:00 +02:00
Carles Fernandez
3d146019dd
Apply modernize-redundant-void-arg clang-tidy fix 2019-08-14 02:14:29 +02:00
Carles Fernandez
151a52d3d6
Move default constructor to header file 2019-08-14 01:17:47 +02:00
Carles Fernandez
4560712791
Apply modernize-use-default-member-init and readability-redundant-member-init clang-tidy checks 2019-08-14 00:56:53 +02:00
Carles Fernandez
a66ef4fb34
Apply modernize-redundant-void-arg clang-tidy check 2019-08-14 00:47:48 +02:00
Carles Fernandez
e693e3f1a4
Fix -Wstringop-truncation warning 2019-08-13 22:03:58 +02:00
Carles Fernandez
2771d5b5f2
Remove unused private members 2019-08-13 21:27:17 +02:00
Carles Fernandez
ad477fd12f
Fix warning (unused parameter) 2019-08-13 21:26:36 +02:00
Carles Fernandez
bbaa9310ec
Ensure that buffers are always terminated 2019-08-13 20:49:48 +02:00
Carles Fernandez
76515228b0
Avoid garbage values 2019-08-13 14:35:21 +02:00
Carles Fernandez
8867a9327c
Avoid null pointer argument in call to string comparison function 2019-08-13 13:52:43 +02:00
Carles Fernandez
c04ec18ef7
Fix typo 2019-08-13 13:50:07 +02:00
Carles Fernandez
0873d11407
Avoid usage of double as a loop index 2019-08-13 13:49:30 +02:00
Carles Fernandez
1bfa866354
Remove usage of deprecated bzero, replaced by memset 2019-08-13 13:48:17 +02:00
Carles Fernandez
6c5a4c4859
Remove usage of strcpy
See CWE-119 https://cwe.mitre.org/data/definitions/119.html
2019-08-13 13:10:45 +02:00
Carles Fernandez
d469c694e2
Apply default clang-tidy check 2019-08-13 01:06:47 +02:00
Carles Fernandez
487010346f
Apply readability-isolate-declaration clang-tidy check 2019-08-13 00:19:31 +02:00
Carles Fernandez
b16ee3d919
Apply readability-redundant-control-flow check 2019-08-12 22:54:27 +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
ba2ffb96f3
Merge branch 'next' into release0011 2019-08-04 22:13:06 +02:00
Carles Fernandez
070996cdb4
Apply clang-tidy check readability-else-after-return 2019-08-04 13:15:03 +02:00
Carles Fernandez
75c71afd30
Merge branch 'next' into release0011 2019-08-04 08:28:19 +02:00
Carles Fernandez
2e93dbe8dc
Make build Reproducible 2019-08-03 20:31:53 +02:00
Carles Fernandez
1a11b5a2ec
Remove unnecessary links and includes to boost::thread 2019-08-03 19:51:50 +02:00
Carles Fernandez
ef90e09a36
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release0011 2019-08-02 15:01:10 +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
6072cc6c5a
Merge branch 'next' into release0011 2019-08-02 11:51:16 +02:00
Carles Fernandez
041a34ecf9
Fix granurality of output_rate_ms to 20 ms 2019-08-02 11:44:51 +02:00
Carles Fernandez
d2539d66ef
Merge branch 'next' into release0011 2019-08-02 10:40:37 +02:00
Carles Fernandez
687e3b2e47
Revert "Revert "Remove unused variable""
This reverts commit 68afadab74.
2019-08-02 07:42:25 +02:00
Carles Fernandez
68afadab74
Revert "Remove unused variable"
This reverts commit c8a03dc4af.
2019-08-01 22:03:04 +02:00
Carles Fernandez
8cb2563341
Move obs_data to private member, so we ask for memory only once 2019-08-01 21:10:02 +02:00
Carles Fernandez
c8a03dc4af
Remove unused variable 2019-08-01 20:12:53 +02:00
Carles Fernandez
e686c38353
Code formatting, adapt overflow fix to new variable name 2019-08-01 20:09:35 +02:00
Carles Fernandez
a204278490
Merge branch 'obs_jump_fix' of https://github.com/gnss-sdr/gnss-sdr into raspi 2019-08-01 19:24:00 +02:00
Carles Fernandez
850c93798e
Avoid stack overflow in rtklib_solver 2019-08-01 19:23:38 +02:00
Javier Arribas
8b3c87dcfa Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into obs_jump_fix 2019-08-01 18:14:21 +02:00
Javier Arribas
f2becaa7b9 Final bug fix for the observables clock correction jumps 2019-08-01 18:11:36 +02:00
Marc Majoral
dae5b715cd removed unnecessary calculations 2019-08-01 18:08:01 +02:00
Javier Arribas
12aae85f3c Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into obs_jump_fix 2019-08-01 17:25:15 +02:00
Carles Fernandez
86f40ae4eb Fix comparison sign 2019-08-01 12:31:12 +02:00
Javier Arribas
9eac73630a Add clock correction + interpolation to annotated observables 2019-07-31 18:16:09 +02:00
Carles Fernandez
cdfe4c43d9 Revert "Remove unused public member"
This reverts commit 1f476957e3.
2019-07-31 10:21:32 +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
2fe38e937a
Fix wrong assignment 2019-07-30 08:06:53 +02:00
Carles Fernandez
1f476957e3
Remove unused public member 2019-07-30 08:06:05 +02:00
Carles Fernandez
89632374a0
Fix runtime error in ARM architectures 2019-07-29 21:51:47 +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
271399fc22
Fix bug: avoid RTKLIB memory corruption
Avoid alloc-dealloc-mismatch caused by uniqnav
Reserve memory for get_PVT as std::arrays in header file, so we do not have to ask for new memory each time we execute get_PVT
Remove unused public member count_valid_position
2019-07-28 13:59:29 +02:00
Carles Fernandez
9f8f9e8af9
Apply code cleaning before release 2019-07-28 12:01:11 +02:00
Carles Fernandez
f349d7c29b
Bump version to 0.0.11 2019-07-27 13:31:12 +02:00
Carles Fernandez
9772f8ef07
Replace raw pointers by smart pointers 2019-07-27 11:24:39 +02:00
Carles Fernandez
8aaf6019e9
Better usage of the GSL, other minor cleaning 2019-07-27 11:22:08 +02:00
Carles Fernandez
712d9ff06b
Code uniformization 2019-07-26 15:48:29 +02:00
Carles Fernandez
822185ff93
Fixes by clang-tidy, clang-format and codespell 2019-07-26 13:58:15 +02:00
Carles Fernandez
d818aacde4
Avoid name clash with system macro in macOS 2019-07-26 13:22:11 +02:00
Carles Fernandez
d626ca1f88
Merge branch 'fpga_extended_coherent_integration' of https://github.com/mmajoral/gnss-sdr into mmajoral-fpga_extended_coherent_integration 2019-07-26 13:12:46 +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
Marc Majoral
694c5d9dcb Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-07-26 10:11:55 +02:00
Marc Majoral
6f656bc744 solved minor bug in cn0_and_tracking_lock_status 2019-07-26 10:10:12 +02:00
Carles Fernandez
ddc6b822fb
Simplify code 2019-07-26 03:51:43 +02:00
Carles Fernandez
e31b31952b
Sort includes, minor cleaning 2019-07-26 01:38:53 +02:00
Carles Fernandez
56b65df044
Improve initialization
Works in Linux and MacOS
2019-07-26 00:55:16 +02:00
Carles Fernandez
9f60ff3e24
Make use of cstdint type names
Fix google-runtime-int warning
2019-07-25 23:46:06 +02:00
Carles Fernandez
cc86642b15
Fix type 2019-07-25 23:35:10 +02:00
Carles Fernandez
634f9631c6
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-07-25 23:05:29 +02:00
Carles Fernandez
b4f3720ff1
Fix guard 2019-07-25 21:37:57 +02:00
Carles Fernandez
2b8e5140e5
Do not write value that is never read 2019-07-25 21:36:07 +02:00
Carles Fernandez
342485d28d
Remove unused private members 2019-07-25 21:34:42 +02:00
Javier Arribas
c45257a26b Bug fix: Restore telecommand functionality 2019-07-25 16:38:19 +02:00
Marc Majoral
f6b8959993 Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-07-24 13:04:37 +02:00
Marc Majoral
7f594a356b doppler center frequency for the grid search 2019-07-24 13:02:14 +02:00
Carles Fernandez
ad389f7b1a Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-07-24 12:17:57 +02:00
Marc Majoral
0b8a408b9a Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-07-24 12:02:17 +02:00
Javier Arribas
f18a9adb55 Correct data type in acquisition set doppler center 2019-07-24 12:00:25 +02:00
Marc Majoral
ad7c1afea1 Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-07-24 11:30:04 +02:00
Marc Majoral
48fe6086e4 updated the handling of the scoped_lock mutex in the fpga tracking loops + used clang-format. 2019-07-24 11:26:16 +02:00
Carles Fernandez
2a64b57574
Remove unused parameter 2019-07-23 21:08:45 +02:00
Carles Fernandez
bd99a0674c
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-07-23 19:32:55 +02:00
Marc Majoral
f30d8a60ec updated doxygen comments 2019-07-23 19:05:43 +02:00
Carles Fernandez
6796a73820
Avoid pointer arithmetics 2019-07-23 19:04:01 +02:00
Carles Fernandez
bf1ac2cb50
Simplify GSL usage 2019-07-23 19:01:18 +02:00
Carles Fernandez
05faf97b70
Switch to automatically managed static memory 2019-07-23 18:54:32 +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
Marc Majoral
6ee9fedd76 moved #defines to static consts + used clang-format + removed code that was commented out 2019-07-23 15:20:59 +02:00
Marc Majoral
00993d9719 replaced #defines by static consts + removed unused tracking parameter + removed unnecessary comments 2019-07-22 19:58:37 +02:00
Marc Majoral
d9d3696880 Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-07-22 17:53:26 +02:00
Carles Fernandez
09b6b2305e
Handle redefinition of Boost_VERSION variable in CMake 3.15
See Policy CMP0093 https://cmake.org/cmake/help/v3.15/policy/CMP0093.html#policy:CMP0093
CMake 3.15 policies enabled by default (see https://cmake.org/cmake/help/v3.15/manual/cmake-policies.7.html#manual:cmake-policies(7) )
2019-07-22 14:13:57 +02:00
Marc Majoral
8d813f05d1 updated the calculation of the FPGA integration length variable 2019-07-22 11:47:33 +02:00
Carles Fernandez
a172b755f7
Fix typo 2019-07-21 19:37:13 +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
6e5c79d144
Fix compiler ambiguity 2019-07-21 13:12:46 +02:00
Carles Fernandez
37fdfca5ec
Miscellaneous improvements
Improve modularity of CMake design
Improve building speed in multicore processors
Files command_event.* moved to core/libs
Remove Armadillo from public core_receiver interface
Uniformize name format for classes
Apply some fixes by clang-tidy
Improve documentation
2019-07-21 12:55:59 +02:00
Carles Fernandez
471428f867
Fix typos detected by codespell 2019-07-20 12:55:46 +02:00
Carles Fernandez
f440a0e9f1
Avoid passing big parameters by value
clang-tidy check: performance-unnecessary-value-param
See https://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html
2019-07-20 11:39:08 +02:00
Carles Fernandez
49e64f94f6
Code cleaning, initializations 2019-07-20 11:13:28 +02:00
Carles Fernandez
03a77b06ea
Format file 2019-07-20 03:02:43 +02:00
Carles Fernandez
ef9c02bac2
Miscellaneous changes: fix typos, warnings 2019-07-20 02:53:31 +02:00
Carles Fernandez
739c008f49
Merge branch 'newsatdispatcher' of https://github.com/gnss-sdr/gnss-sdr into telemetry 2019-07-19 23:12:38 +02:00
Carles Fernandez
0ddb063784
Modernize code
Automatize memory management
De-clutter clan-tidy warnings by fixing obvious issues
2019-07-19 18:23:36 +02:00
Marc Majoral
851d36cb9b minor code optimizations + replaced #defines by constants in the tracking adapters 2019-07-19 17:23:00 +02:00
Marc Majoral
f426294385 removed unnecessary messages 2019-07-19 13:04:39 +02:00
Marc Majoral
3225d92f1b removed unused variable 2019-07-19 12:24:25 +02:00
Javier Arribas
0035cd06dd Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-19 12:01:51 +02:00
Marc Majoral
becd3c4a3d Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-07-19 12:00:14 +02:00
Marc Majoral
8b0e170a56 applied clang-format 2019-07-19 11:55:53 +02:00
Carles Fernandez
35852c7efb
clang-tidy fixes
Reduce number of hicpp-signed-bitwise warnings
See https://rules.sonarsource.com/c/RSPEC-854
2019-07-18 22:57:45 +02:00
Carles Fernandez
6a15b84687
Simplify code 2019-07-18 22:03:56 +02:00
Carles Fernandez
9f90384375
Unify operator name for exclusive or, use bitset instead of array for bools 2019-07-18 20:01:54 +02:00
Carles Fernandez
4628011e9e
Unify operator name for exclusive or 2019-07-18 19:47:27 +02:00
Carles Fernandez
b8fb52fe3c
Remove not needed moves 2019-07-18 19:43:08 +02:00
Marc Majoral
8c84702f27 implemented the stop_tracking() function 2019-07-18 19:12:17 +02:00
Marc Majoral
dd996bc2e2 Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-07-18 11:35:34 +02:00
Marc Majoral
4c22a1ce1a the tracking module is now sending 1 synchro_data per data symbol. 2019-07-17 18:01:27 +02:00
Carles Fernandez
50cfb6cdf5
Fix building until gnss-sdr 2019-07-16 19:20:37 +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
Javier Arribas
cae1c5a73a Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-16 12:29:20 +02:00
Carles Fernandez
76222945bd Add missing include, reordering 2019-07-16 12:02:13 +02:00
Javier Arribas
e7dc926dad Improving the concurrent queue and fix missing dependencies 2019-07-16 11:07:02 +02:00
Javier Arribas
61d320fb05 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-16 10:29:02 +02:00
Carles Fernandez
c36cb0cf4b
Fix B3I code generation 2019-07-16 08:53:59 +02:00
Carles Fernandez
e7e936f97e Use std::bitset<N> instead of std::array<bool, N> 2019-07-15 15:13:18 +02:00
Carles Fernandez
8e0445264a Do not use bitwise operators with signed operands
Use of signed operands with bitwise operators is in some cases subject to undefined or implementation defined behavior. Therefore, bitwise operators should only be used with operands of unsigned integral types.
2019-07-15 12:17:29 +02:00
Carles Fernandez
ec9aa207b0 Do not use bitwise operators with signed operands
Use of signed operands with bitwise operators is in some cases subject to undefined or implementation defined behavior. Therefore, bitwise operators should only be used with operands of unsigned integral types.
2019-07-15 12:14:39 +02:00
Javier Arribas
1961766863 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-15 12:07:55 +02:00
Carles Fernandez
7436188f34 Remove unused variable 2019-07-15 12:00:11 +02:00
Carles Fernandez
e820eb0bc4 Revert "Keep eph_data and geph_data as std::array"
This reverts commit d07a2c2a80.
2019-07-15 11:57:32 +02:00
Javier Arribas
2238a2194d Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-15 11:32:52 +02:00
Carles Fernandez
d07a2c2a80 Keep eph_data and geph_data as std::array
std::vector has more overhead that is not needed here.
Remove usused variable sat
2019-07-15 10:07:15 +02:00
Carles Fernandez
0e54fad652 Merge branch 'bds_fix' of https://github.com/dmiralles2009/gnss-sdr into dmiralles2009-bds_fix 2019-07-15 09:48:31 +02:00
Damian Miralles
410269069a
bds: Bug fixes in carrier wavelength computation
Changed wavelength computation to native method within RTKLIb. The native method
 should also help in the PVT computation of GLONASS satellites as it considers
the freq. offset when computing the wavelength. This also fixes typo in tracking
 stage for MEO satellites of the BDS constellation.

Note: A similar approach to carrier wavelength computation should be applied to
the obs_data in rtk_solver. In theory, static allocation should not be needed for
the types.
2019-07-14 20:09:52 -05:00
Carles Fernandez
9572b37da7
Remove uses of bitwise operations on signed integer types
Based in the High Integrity C++ Standard, Section 5.6.1
See https://www.perforce.com/resources/qac/high-integrity-c-coding-standard-expressions

Removed some c arrays by std::array
2019-07-14 23:34:07 +02:00
Javier Arribas
bf40ed2be1 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-14 18:51:41 +02:00
Carles Fernandez
7ee1394f2f
Fix building with gcc 4.9 2019-07-14 14:48:05 +02:00
Carles Fernandez
d7460022ed
Avoid C arrays
See https://clang.llvm.org/extra/clang-tidy/checks/modernize-avoid-c-arrays.html
2019-07-14 14:09:12 +02:00
Carles Fernandez
4dfb2cf5d2
Avoid out-of-bounds read 2019-07-14 03:17:57 +02:00
Carles Fernandez
89aa7c61e6
Avoid out-of-bounds read 2019-07-14 03:00:26 +02:00
Carles Fernandez
def3a8875a
Misc improvements
Remove cstdio
Remove usage of cstring and memcpy when it is not needed
Mark move cobstructor with noexcept
2019-07-14 02:28:28 +02:00
Carles Fernandez
19b35b6cef
Remove cstdio header
See * MISRA C++:2008, 27-0-1 - The stream input/output library <cstdio> shall not be used.
2019-07-14 00:42:56 +02:00
Carles Fernandez
ca92ff0e44
Catch all exceptions 2019-07-14 00:18:51 +02:00
Carles Fernandez
f24ae66ca2
Always check fs::remove output 2019-07-14 00:14:13 +02:00
Carles Fernandez
fa549b09a2
Do not produce empty files 2019-07-13 23:05:57 +02:00
Carles Fernandez
90a539ed26
Avoid using cstdio header
See MISRA C++:2008, 27-0-1 - The stream input/output library <cstdio> shall not be used.
Replaced by filesystem library.
Avoid using cstring when it is easily replaced
2019-07-13 14:28:48 +02:00
Carles Fernandez
2d894a8507
Catch exception when using std::experimental 2019-07-13 12:29:06 +02:00
Carles Fernandez
5561d40e67
Fix defect detected by Coverity Scan (null pointer dereference) 2019-07-12 19:09:26 +02:00
Carles Fernandez
cd54aca1e2
Fix BeiDou B1I RINEX annotation 2019-07-12 11:35:01 +02:00
Javier Arribas
71d93dc4b9 New asynchronous channel and PVT status reporting from observables and PVT to flowgraph. Partial implementation of assistance from L1 to L2 and L5 2019-07-11 18:39:28 +02:00
Damian Miralles
00805d4b2f
Updating branch contents 2019-07-10 13:13:01 -05:00
Damian Miralles
b262c58aa8
bds: Add unified trk startegy to deliver 1 symbol per sample
This works builds up upon J. Arribas work for unified symbol dec in tracking.
Fixes a couple of bugs with PVT code and adds new code for RINEX functions. Adds
 cosmetic fixes to the code with unused variables.
2019-07-10 12:52:40 -05:00
Carles Fernandez
9350a7a15b
Merge branch 'iono' into next 2019-07-10 18:46:34 +02:00
Marc Majoral
58cc961aec Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-07-10 18:08:30 +02:00
Marc Majoral
ca9e8cd9b5 updated the tracking module. Added some variables to adapt it to the new telemetry modules. 2019-07-10 18:02:57 +02:00
Damian Miralles
c2f4b39bb2
bds: removal of unused fields 2019-07-10 10:49:41 -05:00
Damian Miralles
81ad7484bd
Merge branch 'next' into bds_b3i_bug_fix 2019-07-10 09:21:54 -05:00
Carles Fernandez
5c07423f68 Add leap second info to RTKLIB solver 2019-07-10 15:16:12 +02:00
Carles Fernandez
880818d420 Inject Iono and UTC data into RTKLIB solution 2019-07-10 12:59:39 +02:00
Carles Fernandez
38559628e8
Fix bug 2019-07-09 20:21:58 +02:00
Marc Majoral
718fc03442 removed integrating parameter from log_data() 2019-07-09 20:11:21 +02:00
Carles Fernandez
d6dd4cad77
Fix GLONASS L2 nav message decoding 2019-07-09 20:09:34 +02:00
Carles Fernandez
faeb99bf6f
Fix GLONASS L1 nav message decoding (fixes #289) 2019-07-09 20:00:29 +02:00
Marc Majoral
3095176524 added the bit synchronization time limit and the doppler correction 2019-07-09 19:15:27 +02:00
Marc Majoral
fc18eba4dd removed tracking state 0 2019-07-09 12:17:56 +02:00
Carles Fernandez
4adb05570a Fix typos detected by codespell 2019-07-09 11:52:53 +02:00
Carles Fernandez
8de5ea8737
Fix comparison 2019-07-07 21:50:03 +02:00
Carles Fernandez
6cc1de7118
File cleaning 2019-07-07 21:44:58 +02:00
Carles Fernandez
29a910df30
Simplify initializations 2019-07-07 19:56:23 +02:00
Carles Fernandez
5f1779c15b
Remove test for speed 2019-07-06 13:55:19 +02:00
Carles Fernandez
5f1a418a9b
Merge branch 'tracking_debug' of https://github.com/gnss-sdr/gnss-sdr into move 2019-07-06 13:03:09 +02:00
Carles Fernandez
95ece1e6d4
Simplify move assignment operator 2019-07-06 12:34:27 +02:00
Javier Arribas
0d3299f29b Fix Beidou. Disabled symbol integration in tracking for Beidou and disabled experimental tracking carrier Doppler correction for all systems 2019-07-05 20:30:34 +02:00
Carles Fernandez
76a14a86f0
Fix data race condition detected by Coverity Scan 2019-07-05 16:14:33 +02:00
Carles Fernandez
755dd7901f
Add copy constructor, move constructor and move assignment operator. Fix memory leak 2019-07-05 16:13:35 +02:00
Carles Fernandez
0e0991a1a5
Add move assignment operator 2019-07-05 14:44:56 +02:00
Javier Arribas
38b91bec13 Fix GPS L2CM tracking and tlm decoding 2019-07-05 13:29:23 +02:00
Javier Arribas
29f13e5e31 Set noutput items limit in telemetry decoders and some minor changes 2019-07-04 17:19:33 +02:00
Marc Majoral
c8ccd5ef91 Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-07-04 12:55:36 +02:00
Javier Arribas
951e179bb8 Debug gnuradio buffer latency test 2 2019-07-04 12:54:45 +02:00
Marc Majoral
feccc62c04 solved some bugs related to the extended integration in the FPGA 2019-07-04 12:48:35 +02:00
Javier Arribas
7877754cb2 Debug gnuradio buffer latency 2019-07-04 12:16:37 +02:00
Javier Arribas
b9ca99303c Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-07-04 09:41:13 +02:00
Carles Fernandez
9ba6f4d670
Make header file more readable. Remove unused private method interpolate_data() 2019-07-04 00:00:29 +02:00
Carles Fernandez
4de86b1f8a
Use std::array instead of pointers and memcpy 2019-07-03 23:47:42 +02:00
Javier Arribas
cf967be252 Consolidating unified dll pll veml tracking to synchronize symbols for GPS L1, L5, Galileo E1, E5 and Beidou B1, B3. Beidou bug fixes in acquisition. Adapting all telemetry decoders to use 1 sample per symbol 2019-07-03 18:57:26 +02:00
Javier Arribas
844b87d96f Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-07-03 11:32:39 +02: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
081439d6f8 Code cleaning 2019-07-02 17:48:00 +02:00
Carles Fernandez
da7ca482a8 Hide direct constructor as private member 2019-07-02 17:24:54 +02:00
Javier Arribas
21f00d5172 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-07-02 10:02:42 +02:00
Carles Fernandez
f0a92f1fb3
Make constructor public 2019-07-02 06:54:48 +02:00
Carles Fernandez
018cde8953
Write public interface first, then private members in class definitions 2019-07-01 23:44:42 +02:00
Carles Fernandez
f1022385b0 Improve memory management
In class definitions, first write the public interface, then private
2019-07-01 21:54:52 +02:00
Carles Fernandez
658b001acc Fix building 2019-07-01 11:44:04 +02:00
Carles Fernandez
587ec66e78 Remove wrong delete 2019-07-01 11:03:18 +02:00
Javier Arribas
e17472d986 Partial merge commit, to be fixed in next commit 2019-07-01 11:00:38 +02:00
Carles Fernandez
05c41d41e1
Remove deletes 2019-06-30 15:15:27 +02:00
Carles Fernandez
ce1e160f10
Remove deletes when using Matio 2019-06-30 14:32:40 +02:00
Carles Fernandez
d72542861f
Replace raw pointers by smart pointers. Remove delete 2019-06-30 12:51:23 +02:00
Carles Fernandez
2cc06c8b63
Remove delete in FPGA adapters 2019-06-30 12:10:14 +02:00
Carles Fernandez
5e42795677
Use auto 2019-06-30 12:09:11 +02:00
Carles Fernandez
17b1ef8b98
Do not use deletes. Improve memory management 2019-06-30 04:47:15 +02:00
Carles Fernandez
d5e5e5725d
Apply fixes by clang-tidy 2019-06-30 00:01:54 +02:00
Carles Fernandez
f821caea4a
Code cleaning 2019-06-29 22:47:21 +02:00
Carles Fernandez
b6e9ba5877
Improve const correctness 2019-06-29 22:04:03 +02:00
Carles Fernandez
dd3b2f11db
Fix wrong loop 2019-06-29 21:13:14 +02:00
Carles Fernandez
0b1683fa1e
Avoid pointer arithmetics 2019-06-29 17:29:51 +02:00
Carles Fernandez
81c79ad007
Fix termination 2019-06-29 16:49:53 +02:00
Carles Fernandez
c37b3e00b5
Use uppercase literal suffix 2019-06-29 14:22:15 +02:00
Carles Fernandez
f90d52a1e2
Improve const correctness 2019-06-29 13:57:00 +02:00
Carles Fernandez
d6714e35a1
Avoid pointer arithmetics 2019-06-29 12:55:39 +02:00
Carles Fernandez
dd53f81b1a
Replace memcpy by copy_n. Avoid pointer arithmetics 2019-06-29 11:58:08 +02:00
Carles Fernandez
c79b360fa7
Replace Guidelines Support Library implementation
Source: https://github.com/martinmoene/gsl-lite
If works with gcc 4.8 (Microsoft's doesn't)
2019-06-29 02:40:12 +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
Damian Miralles
450bdeda7f
rinex: Adding combined receiver types supporting BDS satellites
Adds support for RINEX v3.02 for BDS satellites by creating receiver types that
 combine GPS+BDS, BDS+GLO, and BDS+GAL.
2019-06-28 11:25:39 -05:00
Carles Fernandez
a2c6c8a630
Apply clang-tidy fixes 2019-06-28 12:26:46 +02:00
Carles Fernandez
1cd7ca301d
Use std::array for compile-time bound checking 2019-06-28 12:26:09 +02:00
Marc Majoral
2982961e49 currently making changes to be able to extend the FPGA coherent integration beyond 20 ms for GPS L1, 1 ms for Galileo E1, 10 ms for GPS L5 and 20 ms for Galileo E5a using SW. 2019-06-28 10:54:19 +02:00
Carles Fernandez
04a62b813f
Remove unused CMake modules
Move ENABLE_GNSS_SIM_INSTALL option to main CMakeLisis.txt file
Remove unused lines
Update Doxygen download website
2019-06-28 09:32:46 +02:00
Carles Fernandez
684944d523 Remove unused variable 2019-06-25 12:04:34 +02:00
Carles Fernandez
e3d3285cd9 Fix broken compilation when ENABLE_CUDA was ON 2019-06-25 11:40:10 +02:00
Carles Fernandez
0e5211dbf0
Modern CUDA usage 2019-06-24 20:02:19 +02:00
Carles Fernandez
e28062de87
Modernize OpenCL code 2019-06-24 19:25:51 +02:00
Carles Fernandez
de79147def
Fix OpenCL test if the OpenCL Platform is not ready 2019-06-24 14:33:08 +02:00
Carles Fernandez
9318fe540d
Fixes for modern OpenCL versions 2019-06-24 13:39:34 +02:00
Carles Fernandez
a2dcf223f0
Create OpenCL imported target 2019-06-24 11:25:18 +02:00
Javier Arribas
bfae31390f Adding TOW update consistency check in GPS L5 telemetry decoder 2019-06-21 18:06:48 +02:00
Marc Majoral
0bb38ce38b removed some not used variables + code optimization 2019-06-20 14:28:47 +02:00
Marc Majoral
b48a70b9dd enabled FPGA extended coherent integration by default 2019-06-18 19:36:02 +02:00
Marc Majoral
05d006d1f9 Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration 2019-06-18 18:25:24 +02:00
Marc Majoral
33d1115246 added support for extended coherent integration in the FPGA. The code still needs to be optimized and cleaned. 2019-06-18 18:22:01 +02:00
Carles Fernandez
31c8b7afff Fix building (add missing include) 2019-06-18 14:41:50 +02:00
Javier
2981e7f831 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-18 10:21:51 +02:00
Javier Arribas
ee530f0ed1 Fix wrong length in valve 2019-06-18 10:21:22 +02:00
Javier
b41369c397 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-18 10:13:59 +02:00
Carles Fernandez
3bc8091745
Fix comparisons (warning: -Wsign-compare) 2019-06-17 23:42:16 +02:00
Javier
bb8e7bc3a2 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-17 21:26:01 +02:00
Carles Fernandez
6757fe3e80
Fix file headers 2019-06-17 19:50:59 +02:00
Javier Arribas
7a5e7c4196 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-17 18:13:45 +02:00
Javier Arribas
81ee21f8cf Adding new a multichannel file source suitable for multifrequency captures stored in different files to avoid stream synchronization problems in post-processing 2019-06-17 18:13:06 +02:00
Javier Arribas
47e6e173cb Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-17 09:53:14 +02:00
Carles Fernandez
ee9e7493ae
Add annotation rate parameter for KML, GPX, GeoJSON and NMEA outputs (default: 1s) 2019-06-16 20:27:00 +02:00
Carles Fernandez
16f7c4b889
Pass vectors and matrices by reference, rename classes to CamelCase style 2019-06-16 14:54:41 +02:00
Carles Fernandez
c31236096d
Build volk_gnsssdr with C++20 with clang++ if available 2019-06-15 22:25:22 +02:00
Carles Fernandez
ec8f398e59
Set CMAKE_CXX_STANDARD to 20 when available 2019-06-15 10:55:49 +02:00
Carles Fernandez
7467f94164
Relax Armadillo version for nonlinear filters 2019-06-15 10:54:49 +02:00
Carles Fernandez
1d80f1ba9b
Fix building if Armadillo < 9.400 2019-06-14 18:22:07 +02:00
Javier Arribas
88f78a107c Improving unified tracking. Added Doppler frequency correction for false PLL lock 2019-06-14 12:52:46 +02:00
Javier Arribas
afc2a98089 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-14 12:39:25 +02:00
Carles Fernandez
7c23fb35b6
Apply clang-format 2019-06-14 10:21:26 +02:00
Gerald LaMountain
c1f4c2aef3 Merge branch 'next' into kf19-next 2019-06-13 15:47:54 -04:00
Gerald LaMountain
0e68befe7c Add unscented filter to nonlinear_filtering library and add associated unit test 2019-06-13 15:42:52 -04:00
Gerald LaMountain
49a8f9a22a Rename cubature_filter library to nonlinear_filtering 2019-06-13 15:41:56 -04:00
Javier Arribas
5a43e757dd Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-13 17:59:58 +02:00
Carles Fernandez
dd2198fd00 Apply code formatting 2019-06-13 17:37:32 +02:00
Carles Fernandez
ce3d018f67 Merge branch 'kf19-next' of https://github.com/glamountain/gnss-sdr into glamountain-kf19-next 2019-06-13 17:14:03 +02:00
Gerald LaMountain
83d77fabb0 Update cubature filter library to align with coding conventions 2019-06-13 11:07:10 -04:00
Carles Fernandez
e285da5899 Replace boost::filesystem by std::experimental::filesystem when the later is available 2019-06-13 15:33:01 +02:00
Gerald LaMountain
c567be407c Merge branch 'next' into kf19-next 2019-06-12 14:52:44 -04:00
Gerald LaMountain
6f5bca8188 Add cubature filter library to tracking and associated unit test to tests 2019-06-12 14:51:19 -04:00
Carles Fernandez
8d424a13b6
Replace boost::filesystem by std::experimental::filesystem when the later is available 2019-06-12 20:39:29 +02:00
Javier Arribas
ce71a1d89a Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-12 16:29:54 +02:00
Javier Arribas
e3be903b3c Fix RX time correction in Galileo-only or in mix GPS and Galileo configurations 2019-06-12 16:29:12 +02:00
Javier Arribas
92c6a5ebaf Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into tracking_debug 2019-06-12 09:58:00 +02:00
Carles Fernandez
c9822a435c
Allow volk-gnsssdr to be built with std::experimental::filesystem if found 2019-06-11 22:56:24 +02:00
Javier Arribas
559080b651 Improving tracking stability of carrier lock detector 2019-06-11 20:20:23 +02:00
Carles Fernandez
d89710e375 Reset existing mask (fix warning) 2019-06-11 10:42:58 +02:00
Javier Arribas
e7517dc86d Removing superseded GPS tracking block. Carrier Aiding is now included in unified tracking 2019-06-11 10:11:20 +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
94d9897cb5
Add CMake module for better detection and usage of std::filesystem in volk_gnsssdr 2019-06-09 19:25:04 +02:00
Carles Fernandez
30ee3dcb89
Build volk-gnssdr without Boost if std::filesystem is available 2019-06-09 02:33:17 +02:00
Carles Fernandez
ada51b3150
Fix data race detected by Coverity Scan 2019-06-07 12:00:47 +02:00
Carles Fernandez
95159ebb0f
Fix wrong comparison 2019-06-07 11:38:50 +02:00
Javier Arribas
8a94bca88b Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2019-06-06 18:16:47 +02:00
Javier Arribas
54487295a7 Fix bug in Galileo E1/E5 telemetry decoder 2019-06-06 18:16:27 +02:00
Carles Fernandez
e0d5c12b0b Remove unused includes 2019-06-05 15:43:54 +02:00
Carles Fernandez
fce4ce523a Fix typos in comments 2019-06-05 15:39:20 +02:00
Carles Fernandez
edbe7b4840
Fix volk_gnsssdr_profile if config file does not exist 2019-06-03 01:30:39 +02:00
Carles Fernandez
fb350e788b
Search for system-wide volk_gnsssdr_config file 2019-05-29 15:56:12 +02:00
Javier Arribas
80f6cf417b Adding extra info in log message 2019-05-27 10:51:08 +02:00
Carles Fernandez
f6838a2561
Improve detection of gr-iio 2019-05-26 20:28:53 +02:00
Carles Fernandez
7004606f00
Reuse random generator engine for speedup 2019-05-26 20:21:48 +02:00
Carles Fernandez
3157451d57
cmake: add back pre-"modern CMake targets" find variables 2019-05-26 10:43:36 +02:00
Carles Fernandez
59494034d8
Better fix for Boost Asio and string_view issue in macOS 2019-05-26 02:09:53 +02:00
Carles Fernandez
d13e00ba50 Fix documentation 2019-05-22 13:24:41 +02:00
Carles Fernandez
5c9bb66379 Revert "Adding missing factor in CN0 estimator"
This reverts commit 8b77576166.
2019-05-22 13:23:21 +02:00
Javier Arribas
8b77576166 Adding missing factor in CN0 estimator 2019-05-21 12:10:22 +02:00
Gerald LaMountain
dddf6dedb3 Add refs to tracking lib for bayesian estimation 2019-05-20 20:42:41 +02:00
Gerald LaMountain
8cc141341b Add tracking lib for cubature kalman filter 2019-05-20 12:47:42 -04:00