1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-26 15:03:14 +00:00
Commit Graph

1239 Commits

Author SHA1 Message Date
Carles Fernandez
b56ed9187c
Check for lib64 versus lib and set LIB_SUFFIX accordingly 2020-11-30 12:05:45 +01:00
Javier Arribas
f78512462f Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2020-11-23 10:58:53 +01:00
Carles Fernandez
e6d802d3e8
Fixes for new clang-format behavior 2020-11-22 11:05:16 +01:00
Carles Fernandez
7e1f0176f4
Make SIMD instructions work on MS Windows 2020-11-20 16:44:06 +01:00
Javier Arribas
426d3bcb14 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2020-11-16 10:14:53 +01:00
Carles Fernandez
02b0fbed2e
Merge branch 'fix-format' into next 2020-11-15 20:21:12 +01:00
Javier Arribas
85df05b96b Merge with next 2020-11-10 12:24:31 +01:00
Carles Fernandez
b8862f8d7d
Give more intuitive names to files with functions for local signal replica generation 2020-11-07 22:43:19 +01:00
Carles Fernandez
bcd7c25cd1
Add Galileo E6 signal structure based on E6-B/C Codes Technical Note, Issue 1, Jan 2019.
Add Acquisition, Tracking and TLM blocks for Galileo E6 B/C. The decoder does nothing
2020-11-07 21:33:26 +01:00
Carles Fernandez
f24064e245
Fixes for changed behavior of clang-format 2020-11-06 10:41:20 +01:00
Javier Arribas
3bd0b07965 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2020-11-04 09:35:31 +01:00
Carles Fernandez
f0e1ef6f9a
Add a common shared pointer definition
Makes transition to GNU Radio 3.9 API less verbose
2020-11-03 20:51:57 +01:00
Carles Fernandez
287284261c
Make use of Doxygen grouping feature
Improve Modules page in generated HTML documentation
2020-11-01 13:37:19 +01:00
Carles Fernandez
0c03ac4568
More robust solution for archs not supported by cpu_features 2020-10-28 18:42:17 +01:00
Carles Fernandez
d7e2f82dab
Fix for s390x arch, since cpu_features does not support it 2020-10-27 09:13:49 +01:00
Carles Fernandez
14e588a6af
Remove old CMake support, not used anymore 2020-10-25 11:33:45 +01:00
Carles Fernandez
6509656c79
Fix copyright name 2020-10-24 14:52:05 +02:00
Carles Fernandez
30fbe8eb1a
Fix deprecation of operator << for matrices in Armadillo 10.1 2020-10-24 13:22:22 +02:00
Carles Fernandez
97a51c511d
Remove unused line 2020-10-24 13:20:55 +02:00
Carles Fernandez
33cee471f1
Find cpu_features.a file in more distributions. Update Google benchmark to 1.5.2 2020-10-24 10:48:48 +02:00
Carles Fernandez
3bc4cf2637
Fixes for old CMake 2020-10-23 22:27:45 +02:00
Carles Fernandez
7c2954c08f
Fix warning 2020-10-23 21:54:18 +02:00
Carles Fernandez
2f58c4aef1
Make cmakelint happy 2020-10-23 21:47:30 +02:00
Carles Fernandez
97224e60d2
Update cpu_features, fix integration 2020-10-23 21:36:12 +02:00
Carles Fernandez
292d084478
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into cpu-features 2020-10-23 19:50:42 +02:00
Javier Arribas
856859af01 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2020-10-21 15:43:09 +02:00
Carles Fernandez
c1ecd1d1be
Fix python detection when cross-compiling 2020-10-16 20:06:11 +02:00
Javier Arribas
1c09f6b8a5 First working version of a complete 5 state Kalman filter for both carrier and code tracking, tested with GPS L1 CA 1ms integration. 2020-09-21 21:34:39 +02:00
Carles Fernandez
8aae7b6ce1
Fix for CMake 3.0 2020-08-23 09:42:35 +02:00
Carles Fernandez
c6aec7a105
Fix for CMake < 3.12 2020-08-22 12:43:02 +02:00
Carles Fernandez
8054f3bbe9
Fix for Windows 2020-08-22 12:34:03 +02:00
Carles Fernandez
d50e901caf
Fix for Windows 2020-08-22 12:27:40 +02:00
Carles Fernandez
929b9b43ad
Fix for Windows 2020-08-22 12:06:12 +02:00
Carles Fernandez
2a21ee6a54
Fix dll linkage in windows 2020-08-22 11:01:49 +02:00
Carles Fernandez
d1085af3ac
Activate usage of cpu_features 2020-08-21 16:31:57 +02:00
Carles Fernandez
cda2c998b8
Add work towards using cpu_features. Keep compatibility with old systems 2020-08-21 14:43:04 +02:00
Carles Fernandez
ec4c4b7ee4
Mark method as const, fix typo in doc 2020-08-21 00:31:46 +02:00
Carles Fernandez
191e26ee17
Do not stop volk_gnsssdr building with unknown build type, just set it to None 2020-07-29 19:03:57 +02:00
Carles Fernandez
2a7731135f
Bump version number to 0.0.13 2020-07-29 08:59:47 +02:00
Carles Fernandez
499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
Carles Fernandez
5d4dbf3ce7
Minor, misc. fixes 2020-07-21 14:31:45 +02:00
Carles Fernandez
8a06981c16
Improve const correctness 2020-07-20 01:20:15 +02:00
Carles Fernandez
733ed54a98
Add more const, fix a bug in Galileo E5b generation 2020-07-11 11:13:53 +02:00
Carles Fernandez
1e3d545034
Remove all warnings raised by bugprone-* clang-tidy checks in algorithm_libs 2020-07-10 22:06:29 +02:00
Carles Fernandez
c04948fd02
Reduce number of warnings raised by bugprone-* clang-tidy checks 2020-07-10 00:37:55 +02:00
Carles Fernandez
09bcd1981c Replace std::endl by \n character. There is no need to always flush the stream. 2020-07-07 18:53:50 +02:00
Carles Fernandez
06aeae4da3
Fix clang-format CI job 2020-07-05 20:22:34 +02:00
Carles Fernandez
d3b7557dcf
Sort constants
no more GPS_L1_PI, GPS_L2_PI, etc. Values are written in a single point.
2020-07-05 20:20:02 +02:00
Carles Fernandez
bb540c7b48
Replace const std::string by constexpr char 2020-07-03 11:36:38 +02:00
Carles Fernandez
2b3d4b321d
Make the adapters take the configuration pointer as const 2020-06-29 09:07:41 +02:00
Carles Fernandez
0c4bdfac48
Use INT8_MIN/MAX instead of SCHAR_MIN/MAX for consistency and portability 2020-06-28 13:25:23 +02:00
Carles Fernandez
03d350551f
Sort private members in headers 2020-06-26 22:07:41 +02:00
Carles Fernandez
63b7c00b16
Sort private members in headers 2020-06-25 11:58:01 +02:00
Carles Fernandez
75aaf409cd
Remove unused variable 2020-06-24 11:28:35 +02:00
Carles Fernandez
70b823609a
Sort private members 2020-06-24 11:27:31 +02:00
Carles Fernandez
81af1a531b
Redesign of pointer management
Avoid indirection caused by passing shared_ptr by reference

The block factory does not have responsability on the lifetime of their inputs

Define std::make_unique when using C++11 and make use of it

Printers are turned into unique_ptr to express ownership

Printers do not participate on the lifelime of the data, so they take const raw pointers

Modernize tests code
2020-06-18 11:49:28 +02:00
Carles Fernandez
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
0df4277d36
Unify criteria in target definitions, more informative names 2020-06-13 00:32:40 +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
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
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
a73e08c017
Improve README files 2020-05-16 16:11:50 +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
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
1a2f7c7d9d
Bump version to 0.0.12
Add REUSE badge to README file
2020-03-12 20:13:49 +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
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
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
3c4ec48d43
cpplint: fix whitespace/semicolon 2020-02-23 02:45:51 +01:00
Carles Fernandez
39c4b85abf Apply clang-format 2020-02-20 16:32:59 +01:00
Carles Fernandez
1b093794c9 More consistent data types 2020-02-20 11:25:29 +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
0f4bd21805
Use Use C11 aligned_alloc
See https://github.com/gnuradio/volk/pull/334
2020-02-13 19:44:24 +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
207b01a6c0
Make the carrier smoothing parameter an integer 2020-02-11 19:34:21 +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
aeaf68fe47
Fix detection of Volk version if pkg-config is not present 2020-02-10 01:16:58 +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
0f0c3e7e1d Update links 2020-02-06 17:33:29 +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
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
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
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
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