Commit Graph

726 Commits

Author SHA1 Message Date
Carles Fernandez 538e7c039f
Merge branch 'fix_acq_non_blocking_mode' of https://github.com/mmajoral/gnss-sdr into mmajoral-fix_acq_non_blocking_mode 2023-01-11 23:26:46 +01:00
Carles Fernandez 945a7729fd
Add missing include 2023-01-11 17:06:42 +01:00
Marc Majoral 764ab08d1e fix two-step acquisition when using non-blocking mode: make sure acquisition state 0 does not clear Acq_doppler_hz before Acq_doppler_hz is used for the initialization of the second-step acquisition. 2023-01-11 16:01:51 +01:00
Carles Fernandez f09da3ded6
Make clang-tidy happy 2022-12-10 08:55:17 +01:00
Carles Fernandez aadc9e6a26
Improve acquisition adapters constructors: prefer member initializers of the constructor instead of in the constructor body 2022-12-09 12:00:28 +01:00
Carles Fernandez 31b7a01c51
Fix building 2022-12-05 23:18:33 +01:00
Carles Fernandez 1aeaddaeab
Fix building 2022-12-05 23:03:16 +01:00
Carles Fernandez 82f1d8b991
Fix building 2022-12-05 22:50:01 +01:00
Carles Fernandez dde0667c6b
Fix building 2022-12-05 22:37:49 +01:00
Carles Fernandez 6b614958ca
Fix formatting 2022-12-05 21:51:55 +01:00
Carles Fernandez 41c0bce514
Apply clang-tidy fix cppcoreguidelines-prefer-member-initializer 2022-12-05 21:44:39 +01:00
Carles Fernandez 843fb7a58a
Remove unused private member 2022-12-05 20:44:52 +01:00
Jim Melton 615b214b55
fix typo 2022-09-20 15:31:57 -06:00
Jim Melton cf28f95f70
add missing include dependency 2022-09-20 11:46:55 -06:00
Carles Fernandez 6ec452a7c0
Allow the CMake project to be a sub-project 2022-07-28 10:37:36 +02:00
Marc Majoral 5c99385ba3 do not consume samples while performing a non-coherent integration 2022-07-14 16:54:47 +02:00
Marc Majoral 39d5608cd6 replace FPGA acq configuration struct by a class 2022-07-12 12:40:56 +02:00
Carles Fernandez e8fb655fad
Fixes binary on ArchLinux (Fixes: #616)
Replace some memcpy by std:::copy or std::copy_n
2022-06-13 21:05:29 +02:00
Marc Majoral efbbdc6987 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fix_FPGA_IP_address_ranges 2022-04-28 18:43:43 +02:00
Will Silberman 5163d89bcb Remove unused 'using' statements
Signed-off-by: Will Silberman <wsilberm@google.com>
2022-04-21 10:06:19 -07:00
Marc Majoral d3bd4ed626 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fix_FPGA_IP_address_ranges 2022-04-19 15:55:30 +02:00
Marc Majoral 337c9c7d1f set the FPGA page size to 0x1000 for compatibility with the FPGA IP cores compiled for the ZynqMP 2022-04-19 15:53:00 +02:00
Carles Fernandez dae76fa70e
Fix defects detected by Coverity Scan 2021.12.1: Unintentional integer overflow
overflow_before_widen: Potentially overflowing expression this->d_fft_size * ninput_items[0UL] with type unsigned int (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type uint64_t (64 bits, unsigned)
2022-02-16 15:02:27 +01:00
Carles Fernandez 48b5538269
Fix defects detected by Coverity Scan 2021.12.1: Unintentional integer overflow
overflow_before_widen: Potentially overflowing expression this->d_fft_size * ninput_items[0UL] with type unsigned int (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type uint64_t (64 bits, unsigned)
2022-02-16 11:34:12 +01:00
Marc Majoral bfe6b1a2a8 Do not take into account max_dwells when bit_transition_flag is true 2021-12-21 18:03:02 +01:00
Carles Fernandez d9a516e0b8
CI: make clang-tidy happy 2021-12-17 19:01:41 +01:00
Carles Fernandez 76805e5fe9
Prefer initialization to assignment in constructors 2021-12-15 02:48:18 +01:00
Carles Fernandez d66f5ef955
Prefer initialization to assignment in constructors 2021-12-14 21:58:03 +01:00
Carles Fernandez ccbfc2a8ef
Prefer initialization to assignment in constructors 2021-12-14 17:22:05 +01:00
Carles Fernandez a805940bd7
Fixes for clang-format 13 2021-10-18 18:18:57 +02:00
Carles Fernandez bf3b838c6a
Initialize all data members 2021-10-12 08:32:33 +02:00
Carles Fernandez 693ea1b372
Fix clang-format 2021-10-11 18:42:37 +02:00
Carles Fernandez ff72204400
Use aligned memory in acquisition adapters 2021-10-11 18:31:16 +02:00
Carles Fernandez 1b6b8ee268
Change PUBLIC by INTERFACE since we only need headers 2021-10-11 16:10:58 +02:00
Carles Fernandez 3d6cfdbcbe
Improve constructors: prefer member initializers to member initializations in the constructor body 2021-10-11 15:02:43 +02:00
Carles Fernandez 3800ac4c21
Update gsl-lite to v0.39.0 2021-10-02 02:32:18 +02:00
Carles Fernandez 2287564752
Make the address sanitizer happy 2021-10-01 12:52:29 +02:00
Marc Majoral 8b21572331 code cleaning 2021-05-06 20:48:41 +02:00
Marc Majoral a25ce40d54 added a signal in the FPGA to stop the receiver modules. 2021-05-06 20:38:22 +02:00
Carles Fernandez 7971565a0d
Give more natural, consistent names to ephemeris / iono / utc parameters exposed outside the receiver via XML files
Create a base class for GPS, Galileo and BeiDou ephemeris, allowing to remove some duplicated code

Use BOOST_SERIALIZATION_NVP macro, less error prone than boost::serialization::make_nvp

Update .xsd files
2021-02-21 00:01:56 +01:00
Carles Fernandez c5916d05c3
Fix warning Wstringop-overread raised by GCC 11 2021-01-28 13:56:30 +01:00
Carles Fernandez 1287e8fe79
Improve handling of the filesystem library 2021-01-16 14:37:19 +01:00
Carles Fernandez 4fea48f603
Improve handling of change in GNU Radio 3.9 FFT API
Fix compilation of some optional blocks when linking against GR 3.9

Fix warning -Wembedded-directive: embedding a directive within macro arguments has undefined behavior
2021-01-15 13:39:26 +01:00
Carles Fernandez 21352a80d1
Apply and add clang-tidy ckecks readability-make-member-function-const and readability-qualified-auto 2020-12-30 21:49:29 +01:00
Carles Fernandez 7308745f05
Apply more concise file header format
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +01:00
Carles Fernandez abd1032ca2
Avoid using reserved identifiers 2020-12-29 14:47:28 +01:00
Carles Fernandez 3bcac95964
Fix occasional segfault when exiting with enter+q if Acquisition_XX.blocking=false 2020-12-22 00:40:36 +01:00
Carles Fernandez 2b5b1d10ad
Revert change of std::thread, since it is not working well in some configurations 2020-12-09 14:44:25 +01:00
Carles Fernandez 015d111c2f
Simplify script 2020-11-28 12:10:17 +01:00
Marc Majoral 44fa6c6851 fixed the link to core_libs 2020-11-27 16:45:14 +01:00