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
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
Carles Fernandez
ed9aaf86ce
Fix building, apply formatting
2019-03-18 08:43:38 +01:00
Damian Miralles
10910269f4
Merge branch 'next' into bds_b3i. Keep code up to date
2019-03-17 18:58:44 -05:00
Carles Fernandez
e6931eb86d
Add header, minor cleaning
2019-03-17 02:26:34 +01:00
Carles Fernandez
ba73da0081
Clean includes
2019-03-16 13:44:53 +01:00
Damian Miralles
90f8c2fe33
bds_b3i: working on bug for D1 and D2 messages
2019-03-13 17:25:37 -05:00
Damian Miralles
dc65760122
bds_b3i: Updating branch with new changes from upstream repo
2019-03-12 10:54:17 -05:00
Carles Fernandez
5940187019
Fix Doxygen annotations
2019-03-10 19:19:07 +01:00
Carles Fernandez
b10aaafb86
Improve Python detection
2019-03-10 13:53:51 +01:00
Carles Fernandez
6a24b65d64
Fix for VS
2019-03-08 10:28:04 +01:00
Damian Miralles
2b4a395dc8
bds_b3i: merging new changes, fixing D2 decoding bug
2019-03-07 09:38:49 -06:00
Carles Fernandez
f0424617bd
IWYU
2019-03-07 00:15:28 +01:00
Carles Fernandez
cf108a46c8
Break dependency by moving files
2019-03-06 23:59:35 +01:00
Carles Fernandez
dd7a52c93b
Fix headers
2019-03-06 21:54:39 +01:00
Carles Fernandez
5b8ab9f591
Improve includes (IWYU)
2019-03-06 13:49:14 +01:00
Carles Fernandez
6eb81f52ee
Improve includes with IWYU
...
Rtcm class moved to PVT/libs
2019-03-05 12:33:54 +01:00
Carles Fernandez
c82c7225dd
Improve includes with the aid of include-what-you-use (IWYU)
...
See rationale at https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/WhyIWYU.md
2019-03-05 08:59:04 +01:00
Carles Fernandez
e7ea5c1fdd
Remove superfluous 'using google::LogMessage'
2019-03-03 13:39:35 +01:00
Carles Fernandez
5635d6a012
Fix RTCM printer for L5
2019-03-03 10:58:08 +01:00
Carles Fernandez
8525782c52
Fix memory deallocation
2019-03-02 02:48:26 +01:00
Damian Miralles
9ccb86dac6
Merge branch 'next' into bds_b3i
2019-03-01 13:29:10 -06:00
Damian Miralles
8782fcba69
bds_b3i: merging new changes, fixing small bugs
2019-03-01 13:28:21 -06:00
Carles Fernandez
e43b8f5284
Fix defects detected by Coverity Scan
2019-03-01 15:29:43 +01:00
Carles Fernandez
df0a77ee0d
Fix warnings
...
more protection on read/write failures and some code cleaning
2019-03-01 10:11:36 +01:00
Carles Fernandez
7c71ed9404
Merge branch 'fpga' of https://github.com/gnss-sdr/gnss-sdr into merge-fpga
...
Applied checks and formatting
2019-02-28 21:45:30 +01:00
Marc Majoral
c32e0b427a
coding style + removed some unnecessary memory arrays in the FPGA E5A tracking adapter class.
2019-02-27 17:27:31 +01:00
Marc Majoral
8d770d9be9
more code cleaning
...
removed some non used variables
2019-02-27 13:30:09 +01:00
Marc Majoral
a8e425c814
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-02-26 10:23:59 +01:00
Carles Fernandez
8e66577ee9
Reorder PVT
...
Add includes
Reorder CMake scripts
Put work at the end of the file
2019-02-26 01:38:48 +01:00
Marc Majoral
cf0a37300a
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-02-25 19:21:00 +01:00
Carles Fernandez
07259159af
Apply clang-tidy checks
2019-02-22 21:34:15 +00:00
Carles Fernandez
f01f90695e
Apply clang-format
2019-02-22 13:30:18 +01:00
Carles Fernandez
62a7e54359
Introduce readability-identifier-naming check
...
This commit enforces naming style for Classes and global constants:
Camel_Snake_Case for Classes
UPPER_CASE for global constants
CamelCase for abstract classes
2019-02-22 10:47:24 +01:00
Carles Fernandez
5d427df585
clang-tidy: apply performance-type-promotion-in-math-fn check
2019-02-21 12:09:18 +01:00
Carles Fernandez
b3ae2c969a
clang-tidy: apply fixes
2019-02-21 10:33:20 +01:00
Carles Fernandez
9bc771bed6
Deploy a new option -DENABLE_CLANG_TIDY to integrate clang-tidy checks and fixes into the compilation process, if found. It defaults to OFF
2019-02-21 09:59:06 +01:00
Carles Fernandez
88147d4956
Fix build with Clang (not AppleClang) on macOS
2019-02-20 22:21:53 +01:00
Carles Fernandez
b5e5277662
Fix random crashes when program ended in macOS
...
The program randomly crashed when destroying the pvt block (EXC_BAD_ACCESS). This didn’t happen on Linux.
Beidou PVT fixes not available in macOS until finding the root cause.
2019-02-18 22:29:50 +01:00
Carles Fernandez
0a1df17cca
Fix building in debug mode
...
Fixes for macOS
2019-02-17 13:36:13 +01:00
Carles Fernandez
890752601d
Fix defects detected by Coverity Scan
2019-02-14 23:44:38 +01:00
Carles Fernandez
b5c59ee6f7
Fix defects detected by Coverity Scan
2019-02-14 22:49:36 +01:00
Carles Fernandez
004dd4a38a
Replace the deprecated branch_path() by parent_path()
2019-02-12 12:57:37 +01:00
Carles Fernandez
5b50e74ca8
clang-tidy: apply performance-for-range-copy check
...
See https://clang.llvm.org/extra/clang-tidy/checks/performance-for-range-copy.html
2019-02-12 01:25:27 +01:00
Carles Fernandez
73b7341904
clang-tidy: apply readability-braces-around-statements plus code formatting
...
See http://releases.llvm.org/7.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability-braces-around-statements.html
Code formatting applied with:
find ../src/ -iname *.h -o -iname *.cc | xargs clang-format -i
2019-02-11 21:13:02 +01:00
Carles Fernandez
45b4478047
clang-tidy fixes
2019-02-11 17:15:48 +01:00
Carles Fernandez
dfc963ad86
clang-tidy: apply readability-else-after-return check
...
See https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html
2019-02-11 15:53:50 +01:00
Carles Fernandez
b9c115bdf8
clang-tidy: apply modernize-use-using check
2019-02-11 13:13:06 +01:00
Carles Fernandez
75bd492d96
Change CMake target names to more meaningful ones, reflecting the code tree
2019-02-10 18:34:28 +01:00
Carles Fernandez
35a6ecb404
Fix bug, better string comparison
2019-02-10 13:22:49 +01:00
Carles Fernandez
21b5aeee9d
Make use of cstdint type names
2019-02-10 12:45:23 +01:00
Carles Fernandez
ce051e040f
Improve target design
2019-02-10 01:13:02 +01:00
Carles Fernandez
60637c6125
Reorder dependencies
2019-02-07 21:31:40 +01:00
Damian Miralles
1b7d4edf51
bds_b31: Getting new changes from upstream
2019-02-05 17:25:16 -06:00
Carles Fernandez
74950e9856
Set some compile definitions to private
2019-02-05 02:21:56 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts
2019-02-04 22:44:45 +01:00
Carles Fernandez
9b94a4dec0
Add more imported targets to CMake scripts
2019-02-04 16:07:29 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage
2019-02-03 19:24:44 +01:00
Carles Fernandez
f3eef2f513
Add modern CMake targets for volk_gnsssdr
2019-01-31 12:12:04 +01:00
Marc Majoral
bb0fae98c7
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-01-30 10:28:52 +01:00
Carles Fernandez
928c545c84
Do not overwrite CMAKE_ASM_FLAGS
2019-01-29 14:58:01 +01:00
Carles Fernandez
3d2f10dae7
Make sure that regexp are raw strings
2019-01-29 14:52:01 +01:00
Carles Fernandez
2cf690d88e
Add clang support
2019-01-29 14:48:43 +01:00
Carles Fernandez
c561d7e799
Applying code formatting rules
2019-01-28 02:29:43 +01:00
Damian Miralles
7f1619483f
bds_b3i: bug fix in code generation
...
Moved code generation logic to use bool type to keep same notation
as the previous implementations. More testing in code is required
2019-01-27 19:05:41 -06:00
Damian Miralles
e78ba653e6
bds b3i: Adding code to process BeiDou B3I signals
...
Adds code to perform acq and trk in BeiDou B3I signals. Stages of
telemetry decoding, observables computation and pvt use existing
code on the platform. Some further testing is required
2019-01-25 15:43:00 -06:00
Marc Majoral
f127729eb0
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-01-25 18:02:07 +01:00
Damian Miralles
2865e97b84
bds_b1i: Adding pvt computation with BeiDou B1I satellites
2018-12-28 19:01:22 -06:00
Damian Miralles
0c4b8b25f1
bds_b1i: Adding new tel dec block structure
2018-12-23 12:51:28 -06:00
Damian Miralles
42b506d0bb
bds b1i: Merging latest changes from upstream/next
2018-12-18 15:55:36 -06:00
Carles Fernandez
8a7e35ea97
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010
2018-12-14 12:07:15 +01:00
Carles Fernandez
432c6b9c70
Miscelaneous clang-tidy fixes
2018-12-14 02:14:43 +01:00
Damian Miralles
0d94f9e1b7
bds b1i: some bug corrections in the code
2018-12-13 07:57:42 -07:00
Carles Fernandez
79e4a170a9
Update date in manpages
2018-12-12 01:50:29 +01:00
Carles Fernandez
9fc9357a08
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010
2018-12-12 01:34:23 +01:00
Carles Fernandez
38858dece6
Apply clang-tidy fix readability-non-const-parameter
2018-12-11 12:38:38 +01:00
Carles Fernandez
f351615ef9
Apply clang-tidy fix modernize-use-bool-literals
2018-12-11 12:08:54 +01:00
Carles Fernandez
d920aa4d92
Apply fixes by clang-tidy
2018-12-11 01:56:25 +01:00
Carles Fernandez
3dce8934fd
Apply fixes by clang-tidy
2018-12-10 19:05:12 +01:00
Carles Fernandez
5f79053d65
Sort includes automatically with clang-format
...
Order:
1.- Main header
2.- Local headers
3.- Third-party library headers
4.- System headers
each category sorted lexicographically
2018-12-09 22:00:09 +01:00
Carles Fernandez
4f8bda4d39
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into release_0010
2018-12-09 01:09:52 +01:00
Carles Fernandez
8925ca7066
Fix building in Mac OS
2018-12-08 19:08:53 +01:00
Carles Fernandez
17260bbcea
Miscelaneous code improvements by clang-tidy
2018-12-08 18:49:31 +01:00
Carles Fernandez
81a4d24ae9
Use nullptr
2018-12-07 21:00:30 +01:00
Damian Miralles
352c82827e
bds_b1i: enabling bds processing in rtklib processing
2018-12-05 15:08:22 -07:00
Carles Fernandez
7261bec2ad
Miscelaneous code improvements
2018-12-04 13:20:49 +01:00
Carles Fernandez
327fec627c
clang-tidy: apply readability-else-after-return fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html )
2018-12-03 22:08:19 +01:00
Carles Fernandez
1743a773b5
Improve performance by using const and std::move() to avoid unnecessary copies
2018-12-03 19:01:47 +01:00
Carles Fernandez
b994f466a7
clang-tidy: apply modernize-loop-convert fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html )
2018-12-03 18:03:25 +01:00
Carles Fernandez
b5c0cc04e5
clang-tidy: apply modernize-raw-string-literal fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-raw-string-literal.html )
2018-12-03 17:04:16 +01:00
Damian Miralles
e40999572f
bds b1i: Bug fixes in navigation code
...
Fixes bugs with the conversion to rtklib standard from gnss-sdr.
2018-12-03 09:39:39 -06:00
Carles Fernandez
0d408a6024
clang-tidy: apply modernize-use-auto fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html )
2018-12-03 16:25:11 +01:00
Carles Fernandez
395f93aeff
clang-tidy: apply modernize-pass-by-value fix. See http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html#modernize-pass-by-value
2018-12-03 15:43:43 +01:00
Carles Fernandez
8eec75c8ae
clang-tidy: apply readability-string-compare fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-string-compare.html )
2018-12-03 12:52:17 +01:00
Carles Fernandez
96f34cabb1
clang-tidy: apply modernize-use-equals-default fix. See https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html
2018-12-03 11:12:10 +01:00
Carles Fernandez
9d94910e1b
Fix building
2018-12-03 10:12:38 +01:00
Carles Fernandez
8e79786218
Fix building
2018-12-03 10:12:03 +01:00
Carles Fernandez
0a46cb1fe1
Use nullptr
2018-12-03 10:05:47 +01:00
Marc Majoral
bd90563925
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2018-11-30 11:10:38 +01:00
Damian Miralles
8db3f21070
bds b11: Get latest changes and add bds functions in rtk module
...
Merge branch 'next' into bds_b1i. Also fixes multiple bugs with the
addition of bds b1i signals into code. Major changes where fixed and
code to support RINEX and RTCM is needed
2018-11-29 09:56:54 -06:00
Damian Miralles
0507febd7f
bds b1i: quick fixes to b1i code, preparing for merge
2018-11-28 14:18:35 -06:00
Carles Fernandez
ef45548e87
Add style improvements to CMake scripts
2018-11-25 10:32:21 +01:00
Carles Fernandez
87d1413447
Make cmakelint happier
2018-11-24 18:40:34 +01:00
Carles Fernandez
a8fe18f435
Fix defects detected by XCode
2018-11-23 16:28:28 +01:00
Carles Fernandez
4bdb8c3bc4
Fix computation of satellite elevation when using the GPS Almanac
2018-11-22 15:19:36 +01:00
Carles Fernandez
a59ffca8a1
Fix Galileo sats position computation from Almanac data
2018-11-22 11:59:49 +01:00