1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-02 09:53:15 +00:00
Commit Graph

1241 Commits

Author SHA1 Message Date
Carles Fernandez
4e5149a69e
Use lambda instead of boost::build in tests 2020-04-26 08:41:49 +02:00
Carles Fernandez
a75526d780
Use lambda instead of boost::build when genenic lambdas are available in the compiler 2020-04-25 23:03:44 +02:00
Carles Fernandez
ec3c868625
Fixes a bug in GLONASS GNAV CRC computation (Fixes: #349) 2020-04-10 13:44:45 +02:00
Carles Fernandez
a49df87704
Robustify cross-compilation 2020-04-08 10:51:46 +02:00
Carles Fernandez
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
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
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
2a3786b0a5
cpplint: fix whitespace/blank_line 2020-02-23 02:43:17 +01:00
Carles Fernandez
0a8c8d18a2 Fix building of GPSTk in OpenSUSE 2020-02-19 15:44:40 +01:00
Carles Fernandez
3fd648e659
Update GPSTk to v3.0.0 2020-02-19 07:55:57 +01:00
Carles Fernandez
054ca06917
Fix for Armadillo older than 9.800 2020-02-18 21:21:46 +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
2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez
d65daac971
Code formatting (cpplint.py --filter=-,+whitespace/tab,+whitespace/comments) 2020-02-11 21:47:13 +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
bdc8c71e31
Add SPDX license id in header 2020-02-08 18:39:21 +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
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
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
3e0752a88b
Improve OS reporting 2020-02-03 22:11:04 +01:00
Carles Fernandez
2b3958dccb
Replace MacOS by macOS 2020-02-01 11:18:08 +01:00
Carles Fernandez
d4884ed440
Improve script readability 2020-01-20 00:35:00 +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
087cea32b4
Simplify script 2020-01-19 11:30:44 +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
1d5ff14619 used clang-format 2019-12-30 18:43:46 +01:00
Marc Majoral
9bfe37877e added scaling_factor. Removed unnecessary code. 2019-12-30 17:50:41 +01:00
Marc Majoral
c05fbe293b removd unused variables
fixed file headers
2019-12-21 17:49:01 +01:00
Marc Majoral
7bc0ce35c4 cleaned source code 2019-12-21 13:25:17 +01:00
Marc Majoral
431739a767 added Galileo E1 FPGA acuisition unit test 2019-12-18 16:23:17 +01:00
Marc Majoral
cf8e327414 removed unused variables 2019-12-18 16:22:17 +01:00
Marc Majoral
b41973065b fixed gps l1 FPGA acquisition test variable names 2019-12-18 13:02:29 +01:00
Marc Majoral
71a0f4fcdc The FPGA acquisition test source file uses floating point format. 2019-12-18 12:46:17 +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
24c48c1700
Fix building gtest when sources are found 2019-12-06 18:00:06 +01:00
Carles Fernandez
3673091a18
Improve support for multi-configuration generators 2019-12-06 14:23:12 +01:00
Carles Fernandez
50f4c2004c
Fix random error in trk_test 2019-11-29 16:40:50 +01:00
Carles Fernandez
df6d8eacb5
Do not have two files with the same name 2019-11-24 22:24:46 +01:00
Carles Fernandez
6ea7ae582c
Add more parameters in the default config 2019-11-24 13:07:26 +01:00
Carles Fernandez
134ddd8561
Fix existing conf files using threshold instead of pfa 2019-11-17 12:24:03 +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
Cillian O'Driscoll
03ee350dd2 Added unit tests for item_type_helpers 2019-11-15 11:39:32 +00:00
Carles Fernandez
b8ae6434cc Add more parameters to Observables test 2019-11-14 12:15:41 +01:00
Carles Fernandez
a00ec7b4cd
Allow more error 2019-11-12 23:18:41 +01:00
Carles Fernandez
eeaecee3b0
Fix for old systems having gflags but not glog 2019-11-12 23:17:22 +01:00
Javier Arribas
4c6fa48615 typo fix 2019-11-12 18:35:55 +01:00
Carles Fernandez
48a8369b6e Fix test 2019-11-12 17:49:18 +01:00
Carles Fernandez
4cf60d79ae
Remove superfluous lines 2019-11-11 00:25:34 +01:00
Carles Fernandez
8adcf7cf0a
Fix building with Debug configurations when gflags or glog are not present 2019-11-10 23:26:03 +01:00
Carles Fernandez
08e913c4e3
More fixes for Xcode 2019-11-09 19:56:28 +01:00
Carles Fernandez
76b6b4d22e
More fixes for Xcode 2019-11-09 10:38:38 +01: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
Carles Fernandez
d3d2817dcb
Fix finding of gnss-sim executable when building with Xcode 2019-11-08 14:25:43 +01:00
Carles Fernandez
4816ae64f7
Add toolchain files for ARM processors 2019-11-01 19:29:28 +01:00
Carles Fernandez
8df7d82ba2
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into volk-alloc 2019-10-27 13:13:51 +01:00
Carles Fernandez
b40fc39aaf
Add receiver runtime to position_test report 2019-10-27 13:12:06 +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
Carles Fernandez
7126185515
Add and apply readability-braces-around-statements check 2019-10-11 19:24:20 +02:00
Carles Fernandez
c9e03557b7
Remove tabs 2019-10-05 03:16:31 +02:00
Carles Fernandez
933211dcc3
Update Googletest to v1.10.0 2019-10-04 14:46:46 +02:00
Carles Fernandez
3fbc239a03
Apply clang-tidy: performance-move-const-arg check 2019-10-03 01:45:23 +02:00
Carles Fernandez
3bf42ff14e
Apply clang format 2019-09-18 22:00:26 +02:00
Carles Fernandez
f3d502dc45
Add noise to position_test, expose -extend_correlation_symbols flag 2019-09-17 00:16:48 +02:00
Carles Fernandez
e80122f4ff
Apply clang tidy checks and clang-format 2019-09-13 08:56:37 +02:00
Carles Fernandez
0520d400b3 Apply clang-tidy 2019-09-11 22:31:34 +00:00
Carles Fernandez
38a987607e
Make use of the new Boost::headers target introduced in CMake 3.15 2019-09-07 12:36:19 +02:00
Carles Fernandez
589788d2e3
Modernize code for Viterbi decoder 2019-09-06 17:31:31 +02:00
Carles Fernandez
02318c0382
Give to global parameters more meaningful name 2019-08-31 11:37:29 +02:00
Carles Fernandez
57de35d92e
Add missing move assignment operator 2019-08-25 02:20:51 +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
95f688dcb0
Mark all constructors callable with one argument as explicit 2019-08-23 21:25:44 +02:00
Carles Fernandez
05ec821998
Update GPSTK version to 2.12
Fix ENABLE_OWN_GPSTK option if GPSTK was already found
2019-08-20 23:02:48 +02:00
Carles Fernandez
9d0c00132d
Always have a space between // and comment 2019-08-19 01:29:04 +02:00
Carles Fernandez
4dd8aa12b4
Replace C style casts by C++ casts 2019-08-18 12:54:16 +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
be912aeccf
Remove blank lines 2019-08-17 14:59:20 +02:00
Carles Fernandez
c5b3e7597a
Remove tabs 2019-08-17 14:41:32 +02:00
Carles Fernandez
c31d9dea40
Fix errors risen by include_what_you_use 2019-08-17 13:56:54 +02:00
Carles Fernandez
668869ee85
Avoid usage of variable length arrays, which is a C99 feature 2019-08-14 11:13:06 +02:00
Carles Fernandez
3d146019dd
Apply modernize-redundant-void-arg clang-tidy fix 2019-08-14 02:14:29 +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
e6700907b4
Detect the Hurd 2019-08-11 14:43:26 +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
8ce0358de6
Clang-tidy fixes 2019-07-30 19:00:23 +02:00
Carles Fernandez
449afd7029
Fix typo 2019-07-29 22:03:57 +02:00
Carles Fernandez
2ec6ed6ec6
Clean usage of Guidelines Support Library 2019-07-29 21:47: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
Carles Fernandez
471428f867
Fix typos detected by codespell 2019-07-20 12:55:46 +02:00
Carles Fernandez
ef9c02bac2
Miscellaneous changes: fix typos, warnings 2019-07-20 02:53:31 +02:00
Javier Arribas
601230ce37 Completing the migration to the new receiver channels and commands events queue. Fix unit test execution 2019-07-18 19:29:14 +02:00
Javier Arribas
5b1f541a74 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher 2019-07-18 19:00:54 +02:00
Javier Arribas
b43c055ba4 Deadlock fix in acquisition performance test 2019-07-18 18:59:16 +02:00
Javier Arribas
aeabfb7c3c Replacing the old gnuradio message queue with the new ConcurrentQueue 2019-07-17 15:56:30 +02:00
Javier Arribas
1313edd716 Partial implementation of the new event queue and its dependencies. Still NOT usable 2019-07-16 17:41:12 +02:00
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
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
f73e66d376
Fix building of matio_test when building with c++17 2019-07-14 09:31:03 +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
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
Carles Fernandez
620191f818
Fix warning (unused variable) 2019-07-04 08:52:06 +02:00
Carles Fernandez
4de86b1f8a
Use std::array instead of pointers and memcpy 2019-07-03 23:47:42 +02:00
Carles Fernandez
da7ca482a8 Hide direct constructor as private member 2019-07-02 17:24:54 +02:00
Carles Fernandez
173361f89f Fix test 2019-07-02 11:31:43 +02:00
Carles Fernandez
d5e5e5725d
Apply fixes by clang-tidy 2019-06-30 00:01:54 +02:00
Carles Fernandez
d75abe6758
Add inline keyword 2019-06-29 22:48:00 +02:00
Carles Fernandez
7264888487
Add explicit keyword
See https://google.github.io/styleguide/cppguide.html#Explicit_Constructors
2019-06-29 22:32:29 +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
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
0e5211dbf0
Modern CUDA usage 2019-06-24 20:02:19 +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
12e26fe318
Move package DESCRIPTION and URL data to CMake modules 2019-06-21 02:49:41 +02:00
Carles Fernandez
25154ec066
Add more package version identifications 2019-06-19 23:42:46 +02:00
Carles Fernandez
c30975064e
Get GPSTK version if found
This can be important in the future since current version is a c++17 blocker
2019-06-19 20:54:45 +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
d6887488f3
Avoid usage of std::rand() 2019-06-16 11:40:58 +02:00
Carles Fernandez
7467f94164
Relax Armadillo version for nonlinear filters 2019-06-15 10:54:49 +02:00
Carles Fernandez
61f7ea2922
Fix for Armadillo < 8.400 2019-06-14 21:16:40 +02:00
Carles Fernandez
a22f79891b
Fix building if Armadillo < 8.400 2019-06-14 19:16:37 +02:00
Carles Fernandez
1d80f1ba9b
Fix building if Armadillo < 9.400 2019-06-14 18:22:07 +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
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
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
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
40b7377c31
Fix test 2019-05-17 00:57:40 +02:00
Carles Fernandez
c1b48d675a
Improve GNU Radio 3.7 / 3.8 handling 2019-04-27 17:28:49 +02:00
Carles Fernandez
f5f255b28d Fix building with new version of GNU Radio 3.7.13.5 maint 2019-04-25 10:41:57 +02:00
Carles Fernandez
2cba1c5e0a
Add test for the serdes_monitor_pvt class 2019-04-21 11:46:33 +02:00
Carles Fernandez
2b45256ff1
Reorder files 2019-04-20 22:07:35 +02:00
Carles Fernandez
811cdc9693
Use Protocol Buffers for data serialization 2019-04-20 11:52:00 +02:00
Carles Fernandez
ae7686d4ad
Fix reading of environment variables 2019-04-02 03:31:46 +02:00
Carles Fernandez
8bce979242
Clean scripts. Prevent in-tree build 2019-04-02 02:41:20 +02:00
Carles Fernandez
b6cb3c6a08
Move Beidou acq tests to extra, since they need binary files. Make those files downloadable from Sourceforge 2019-03-26 23:04:08 +01:00