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
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
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
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
695f3a9456
Added item type helpers
2019-11-08 13:44:07 +00: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
Cillian O'Driscoll
828d3cd525
[WIP] Adding velocity and clock drift
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
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
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
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
054a20b5bf
Apply clang-format to the whole code tree
2019-10-11 11:57:33 +02:00
Carles Fernandez
c9e03557b7
Remove tabs
2019-10-05 03:16:31 +02:00
Carles Fernandez
677711a238
Move Q components to imaginary part
2019-09-28 13:41:24 +02:00
Carles Fernandez
7f65e726f5
Cleaner call to function
2019-09-19 21:51:29 +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
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
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
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
5f7f6366b6
Get elements of the circular deque without expensive bound checking
2019-09-09 12:10:40 +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
d652903cb6
Apply formatting
2019-09-07 09:38:05 +02:00
Carles Fernandez
02318c0382
Give to global parameters more meaningful name
2019-08-31 11:37:29 +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
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
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
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
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
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
4eb8f2c14e
Avoid C99 extensions in initializations
2019-08-14 11:10:51 +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
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
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
487010346f
Apply readability-isolate-declaration clang-tidy check
2019-08-13 00:19:31 +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
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
d2539d66ef
Merge branch 'next' into release0011
2019-08-02 10:40:37 +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
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
a4d6800e22
Update copyright year
...
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +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
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
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
Javier Arribas
0035cd06dd
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into newsatdispatcher
2019-07-19 12:01:51 +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
Javier Arribas
1313edd716
Partial implementation of the new event queue and its dependencies. Still NOT usable
2019-07-16 17:41:12 +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
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
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
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
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
Damian Miralles
00805d4b2f
Updating branch contents
2019-07-10 13:13:01 -05:00
Damian Miralles
81ad7484bd
Merge branch 'next' into bds_b3i_bug_fix
2019-07-10 09:21:54 -05:00
Carles Fernandez
4adb05570a
Fix typos detected by codespell
2019-07-09 11:52:53 +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
Damian Miralles
6ba57f0e12
bds_b3i: fixing pvt computation for bds b3i single freq solution
2019-07-02 18:57:44 -05: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
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
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
Carles Fernandez
a2c6c8a630
Apply clang-tidy fixes
2019-06-28 12:26:46 +02:00
Carles Fernandez
e28062de87
Modernize OpenCL code
2019-06-24 19:25:51 +02:00
Carles Fernandez
a2dcf223f0
Create OpenCL imported target
2019-06-24 11:25:18 +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
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
Javier Arribas
88f78a107c
Improving unified tracking. Added Doppler frequency correction for false PLL lock
2019-06-14 12:52:46 +02: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
e285da5899
Replace boost::filesystem by std::experimental::filesystem when the later is available
2019-06-13 15:33:01 +02: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
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
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