Commit Graph

69 Commits

Author SHA1 Message Date
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 0ddb063784
Modernize code
Automatize memory management
De-clutter clan-tidy warnings by fixing obvious issues
2019-07-19 18:23:36 +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 4adb05570a Fix typos detected by codespell 2019-07-09 11:52:53 +02:00
Carles Fernandez f1022385b0 Improve memory management
In class definitions, first write the public interface, then private
2019-07-01 21:54:52 +02:00
Carles Fernandez d72542861f
Replace raw pointers by smart pointers. Remove delete 2019-06-30 12:51:23 +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 8d424a13b6
Replace boost::filesystem by std::experimental::filesystem when the later is available 2019-06-12 20:39:29 +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 dd7a52c93b
Fix headers 2019-03-06 21:54:39 +01:00
Carles Fernandez e7ea5c1fdd
Remove superfluous 'using google::LogMessage' 2019-03-03 13:39:35 +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 a63d7834f4
Remove unused include 2019-02-10 00:12:19 +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 2709dc5ec7 clang-tidy: apply performance-faster-string-find (see https://clang.llvm.org/extra/clang-tidy/checks/performance-faster-string-find.html) 2018-12-03 18:17:21 +01: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 0a46cb1fe1
Use nullptr 2018-12-03 10:05:47 +01:00
Carles Fernandez 1269be3a72 Allow to save Acq dump anywhere 2018-10-30 12:04:59 +01:00
Carles Fernandez a833abbb8a Merge branch 'kf' of https://github.com/gnss-sdr/gnss-sdr into next 2018-08-21 11:50:39 +02:00
Carles Fernandez 4a2ba1cff0
Improve handling of data types 2018-08-13 00:54:23 +02:00
Javier Arribas 89c00560f2 Fix Acquisition fine Doppler implementation 2018-07-07 15:39:09 +02:00
Carles Fernandez 5ef6157fc1 Store acquisition results only when there is a decision 2018-07-05 21:31:38 +02:00
Javier Arribas 6055200440 Code cleaning 2018-07-05 20:26:37 +02:00
Javier Arribas d9f6d41eed Fix crash of PCPS acquisition fine doppler on some systems 2018-07-05 20:19:29 +02:00
Javier Arribas adcc04c3b6 Fix GPS L1 CA fine Doppler acquisition implementation and migrate the configuration interface 2018-07-04 16:56:47 +02:00
Carles Fernandez ebd8b46e51 Remove if parameter from Acquisition and Tracking blocks 2018-06-06 17:25:03 +02:00
Carles Fernandez 0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +02:00
Carles Fernandez 34f24562cf Apply automated code formatting
Documented at .clang-format
See http://clang.llvm.org/docs/ClangFormat.html and http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2018-03-03 02:03:39 +01:00
Carles Fernandez 658e677fc3 Reorder includes: local headers first, then 3rd-party library headers, and finally standard headers 2018-02-26 03:15:53 +01:00
Carles Fernandez 5c77a394d7 Replace memset by std::fill_n 2018-02-25 13:34:13 +01:00
Carles Fernandez 946d3dae9f Replace memset by std::fill_n. This fix warnings in GCC 8.0.1 (Fedora
Rawhide). The warnings were:

 warning: 'void* memset(void*, int, size_t)' clearing an object of
non-trivial type 'struct std::complex<float>'; use assignment or
value-initialization instead [-Wclass-memaccess]
2018-02-25 13:27:27 +01:00
Carles Fernandez e7246d4565 Replace C-style casts by C++ casts 2017-08-19 11:27:22 +02:00
Carles Fernandez 0a42fe8ab5 Replace some C-style casts by C++ casts 2017-08-19 09:16:10 +02:00
Carles Fernandez 7ac3f282fa Replace C-style cast by C++ casts 2017-08-19 02:33:54 +02:00
Javier Arribas d42696bfd3 Consolidation of all the observables and PVT algorithms in hybrid observables and hybrid PVT supporting multi-signals and multi-system operations 2017-03-24 15:25:17 +01:00
Carles Fernandez 438ba45c16 Fix acquisition with rata rates higher than 16 Msps in 4ms code periods
while not requiring a very recent version of VOLK
2016-09-19 09:06:40 +02:00
Cillian O'Driscoll 8d8249247f Alternative fix for issue #31
Rather than changing the index type to uint16_t, I think it would be
better to use the volk_32f_index_max32* functions instead of the 16 bit
counterparts. This ensures backwards compatibility (the index was
previously 32 bit, even if the function name indicated that it was 16
bit) and also, for FFT acquisition we may encounter large FFTs with more
than 65 535 points
2016-09-18 19:00:57 +02:00
Carles Fernandez 24e62c4e4e Make use of volk_gnsssdr_malloc, volk_gnsssdr_free
instead of volk_malloc, volk_free (which are missing from the volk
version distributed by ubuntu 14.04). Fix the include guard in
volk_gnsssdr_malloc.h 
Thanks to @hoernchen
2016-08-18 14:17:02 +02:00
Carles Fernandez a826215778 Fix issue about the change in the VOLK API 2016-05-29 21:18:41 +02:00
Michael Dickens 99abf76dd4 Fix usage of volk_32f_index_max*, first argument, to be uint16_t* as required by the Volk API. 2016-05-27 22:51:34 -04:00
Carles Fernandez 3bd59ec83e Remove unused queue from acquisition blocks
Now replaced by GNU Radio's message passing system
2016-05-09 16:44:54 +02:00
Carles Fernandez 50c16c9129 Remove unused variables 2016-05-08 08:31:38 +02:00
Carles Fernandez 831cc75153 Remove tabs from the source code 2016-05-02 23:46:30 +02:00
Javier Arribas 0a5573f666 several receiver configuration mechanism simplifications and several bug fixes. Work in progress 2016-04-21 18:54:08 +02:00
Javier Arribas 0f80ce0159 Channel internal message queue is replaced by the asynchronous GNURadio
message system. Removing the deprecated channel internal queue and its
references. Some tests that are using the old channel queue are disabled
in this version
2016-04-15 16:33:41 +02:00
Carles Fernandez ad5d509250 deleting unrequired include 2016-04-08 18:26:53 +02:00
Carles Fernandez 045d384061 small fixes and cleaning 2016-04-08 15:10:46 +02:00
Javier Arribas 1c2f897655 Refactoring the gnss_synchro member initializations and minor bug fixes. 2016-04-07 18:25:45 +02:00
Javier Arribas 98bfb7d801 Removing more unused parameters warnings using
the __attribute__((unused)) pre-compiler directive
2016-04-06 16:27:47 +02:00
Carles Fernandez 1983562496 The sincos kernel now accepts an initial phase 2016-03-21 00:38:08 +01:00