piyush0411
9437eae591
Modified Unit-Test
2020-07-09 00:30:11 +05:30
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
999ee6c623
Enable gperftools in position_test, if found and enabled with ENABLE_GPERFTOOLS
2020-07-06 10:25:54 +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
c46cd87d37
Experiment with transform_reduce
2020-07-01 23:05:33 +02:00
Carles Fernandez
c4652c4593
Do not capture by reference in inner_product lambda
2020-06-30 15:29:30 +02:00
Carles Fernandez
e652b2335d
Add missing line
2020-06-30 13:52:20 +02:00
Carles Fernandez
b2fd68fe67
Improve std::plus void detection
2020-06-30 13:41:20 +02:00
Carles Fernandez
f8656ca9d8
Fix for compilers using C++11: the std::plus template without class T specified is only available since C++14
2020-06-29 12:32:35 +02:00
Carles Fernandez
3bc8595dfe
Add inner_product to detector benchmark
2020-06-29 10:13:07 +02:00
piyush0411
40556f7ac1
Modified unit-test
2020-06-28 23:14:16 +05:30
Carles Fernandez
c784dfe125
Fix a bug that could cause a crash on receiver stopping
...
If a channel event was happening after flowgraph stop and before flowgraph disconnection, it caused a crash. This was avoided by sleeping the control thread during 500 ms after disconnection and before the block destructors were called, so the event could be processed, but this was not a robust solution.
2020-06-27 09:52:59 +02:00
Carles Fernandez
c222552bff
Make it easier to add new benchmarks
2020-06-24 14:05:05 +02:00
Carles Fernandez
300279bc30
Better naming for benchmarks
2020-06-24 13:59:50 +02:00
Carles Fernandez
b5c2367788
Merge branch 'Acquisition' of https://github.com/piyush0411/gnss-sdr into piyush0411-Acquisition
2020-06-23 11:47:24 +02:00
piyush0411
8904eab576
Added unit-test
2020-06-23 14:24:51 +05:30
Carles Fernandez
037a1fcb5f
Improve headers, large data members first. Improve nav message interfaces
2020-06-23 09:47:58 +02:00
Carles Fernandez
753e67bcac
Fix parallel builds
2020-06-21 21:59:05 +02:00
Carles Fernandez
8856f4a5a1
Merge branch 'benchmark' into next
2020-06-21 21:10:46 +02:00
Carles Fernandez
a1b06f747b
Add benchmarks of small code snippets
2020-06-21 21:10:22 +02:00
Carles Fernandez
4f4ccccf9b
Improve lamdba usage
2020-06-21 11:57:59 +02:00
Carles Fernandez
633d27b5fa
Improve lambda usage
2020-06-18 22:36:58 +02:00
Carles Fernandez
ac3c96afcf
Fix serdes_monitor_pvt_test
2020-06-18 20:41:56 +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
ae50ebbaa5
Prefer use of CMAKE_SOURCE_DIR
2020-06-13 21:15:47 +02:00
Carles Fernandez
34ebf384a5
Use parallel building for GPSTk and Protobuf
2020-06-13 14:01:35 +02:00
Carles Fernandez
ee84f60fb4
Simplify CMake scripts
2020-06-13 10:56:49 +02:00
Carles Fernandez
d029bf405b
Improve CMake scripts
...
Replace CMAKE_CURRENT_BINARY by CMAKE_BINARY_DIR
Remove include_directories() instance
Put the GPSTk install folder in its building folder instead of in its source folder
2020-06-13 10:25:28 +02:00
Carles Fernandez
0df4277d36
Unify criteria in target definitions, more informative names
2020-06-13 00:32:40 +02:00
Carles Fernandez
d14e69ef5a
Do not pollute the source directory if the software is built from an out-of-source-tree directory
...
External sources and data are now always stored in a ./thirdparty folder under the building directory.
A copy of the generated binaries will be stored under gnss-sdr/install, if the building directory is inside the source tree, or in an ./install folder under the building directory if it is outside the source tree.
Fix a bug that broke compilation if the user configured the building without extra testing in a first instance, and then switched the testing buiding options to ON in a later build.
Fix extra test building if GPSTk was already installed and Boost >= 1.71
2020-06-12 20:51:26 +02:00
Carles Fernandez
d847d3fdcf
Add test about preamble correlation implementations
2020-06-11 12:09:55 +02:00
Carles Fernandez
836e074f98
Add building option ENABLE_STRIP to enable the generation of stripped binaries (without debgging information). Set to OFF by default
2020-06-10 17:22:03 +02:00
Carles Fernandez
fe8f186380
Merge branch 'sysheaders' into next
2020-06-10 11:59:31 +02:00
Carles Fernandez
85286f8a7e
Initialize members to a valid state
2020-06-10 11:54:23 +02:00
Carles Fernandez
34a250246a
Simplify initializations in system_parameters library
2020-06-10 10:15:59 +02:00
Carles Fernandez
5755e6ae8b
Fix FPGA test
2020-06-10 05:30:23 +02:00
Carles Fernandez
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
447d8a5625
Fix warning in GCC 10
2020-05-28 23:05:09 +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
35ee34673a
Fix signature of copy and move operators
2020-05-16 14:39:34 +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
552b438245
Fixes for old GCC
2020-04-26 12:38:01 +02:00
Carles Fernandez
0164d8b37c
Fixes for old GCC
2020-04-26 12:35:08 +02:00
Carles Fernandez
c27622a738
Fixes for old GCC
2020-04-26 12:28:24 +02:00
Carles Fernandez
f5fc4d4119
Use lambda instead of boost::bind
2020-04-26 09:10:53 +02:00
Carles Fernandez
4e5149a69e
Use lambda instead of boost::build in tests
2020-04-26 08:41:49 +02:00
Carles Fernandez
a75526d780
Use lambda instead of boost::build when genenic lambdas are available in the compiler
2020-04-25 23:03:44 +02:00
Carles Fernandez
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