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
Carles Fernandez
30ee3dcb89
Build volk-gnssdr without Boost if std::filesystem is available
2019-06-09 02:33:17 +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
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
Javier Arribas
33636758f1
Moving TOW crossover GPS time adjustment to convenient location
2019-05-13 12:13:35 +02:00
Javier Arribas
87e30c2fcb
Fix TOW week crossover in PVT time prints and rinex obs prints
2019-05-09 18:05:46 +02:00
Javier Arribas
7ed88c26b6
Fix the TOW weel crossover situation in observables and PVT
2019-05-08 14:55:14 +02:00
Carles Fernandez
e0da44f606
Fix detection of python mako if installed with Macports
2019-04-09 02:27:50 +02:00
Carles Fernandez
77851e5589
BeiDou B3I bug fixes (credits to dmiralles2019)
2019-03-26 22:34:08 +01:00
Damian Miralles
1a2d90a8f1
bds_b3i: fixing bugs in pvt computation
2019-03-26 22:15:31 +01:00
Carles Fernandez
41036c1538
Fix kernel
2019-03-24 19:53:51 +01:00
Carles Fernandez
d8f1e4b437
Increase required accuracy in 32-bit rotator_dot_prod test results
2019-03-24 19:35:53 +01:00
Carles Fernandez
441ff637eb
Fix AVX implementation
...
Samples that are remanent from num_points / 16 were not adecuately integrated
2019-03-24 13:50:12 +01:00
Carles Fernandez
cb59c1cc83
Fix bug in MacOS when BeiDou was enabled in rtklib.h
...
The BLAS and LAPACK implementations that come with the Accelerate Framework (soft-linked in /usr/bin) caused a random crash when exiting the program, only if the variable ENABDS was set. This bug disappears when linking to the libraries that Homebrew or Macports install, or when manually downloaded, built and installed by the user
2019-03-22 11:00:13 +01:00
Carles Fernandez
33403dedea
Fix high_dynamics correlator
2019-03-21 21:10:56 +01:00
Carles Fernandez
620f0ab77e
Remove clang-format label
2019-03-18 22:23:51 +01:00
Carles Fernandez
597ef26092
Minor fixes
2019-03-18 19:28:35 +01:00
Carles Fernandez
04bbfd3203
Improve readability
2019-03-18 19:21:33 +01:00
Carles Fernandez
52c69073ac
Apply clang-tidy fixes
2019-03-18 09:10:00 +01:00