1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-10-30 14:53:03 +00:00
Commit Graph

734 Commits

Author SHA1 Message Date
Victor Castillo
174364af31 Implemented range check in IONGSMSSignalSource::get_right_block(int) 2024-08-19 15:56:29 +02:00
Victor Castillo
7cdda8e0dc Simplified disconnect() function
We can disconnect the sources directly instead of disconnecting each of their outputs.
2024-08-19 15:42:26 +02:00
Victor Castillo
3bdc7b9f21 Fixed includes and code style 2024-08-19 15:39:17 +02:00
Victor Castillo
f1957476b8 Use std::ifstream instead of FILE for reading sample data 2024-08-19 15:38:32 +02:00
Victor Castillo
4d1540181d Removed unused member fields and function parameters 2024-08-19 15:36:03 +02:00
Carles Fernandez
f3ba1822b1 Fix building 2024-08-19 10:24:48 +02:00
Carles Fernandez
614693ea0f Fix building error 2024-08-19 10:21:51 +02:00
Carles Fernandez
c212bac26d Fix CMake error 2024-08-19 09:58:33 +02:00
Carles Fernandez
e37855d43e Fixes for C++ standards older than 20. Avoid C++20-specific lambda templates 2024-08-19 09:27:29 +02:00
Carles Fernandez
da21ff4fd9 Improve formatting, add missing include 2024-08-19 09:26:21 +02:00
Carles Fernandez
62cb96ae03 Create a CMake target for the ION dependency for consistency 2024-08-19 09:25:05 +02:00
Victor Castillo
27465f6a70 Fix formatting 2024-08-18 01:24:25 +02:00
Victor Castillo
a99ceafe85 Fixed arithmetic operations on pointers 2024-08-17 23:09:30 +02:00
Victor Castillo
61a9e179b0 Linting fixes 2024-08-17 23:05:38 +02:00
Victor Castillo
cf01a2d37a Fixed conditional compilation issues
And added a comment
2024-08-17 20:40:13 +02:00
Victor Castillo
b368942463 Fix wrong buffer size 2024-08-17 20:22:39 +02:00
Victor Castillo
33067d631d Less callback shenanigans 2024-08-17 20:20:27 +02:00
Victor Castillo
01bbc39fa6 Simpler handling of simpler bit formats
If a sample is the same size as a word, it is much easier to read.
2024-08-17 20:14:31 +02:00
Victor Castillo
38a24f5250 Reset sample value before writing new one
Sample values are ORed into the output buffer because they may need a few read/write operations depending on alignment.
So, if we don't set the value to 0 before doing this, all samples quickly become 0xFF after a few cycles of the output buffer.
2024-08-16 15:51:24 +02:00
Victor Castillo
cd2614a4dc Bufferef IO & propagate configuration inside ION source 2024-08-16 13:56:10 +02:00
Victor Castillo
00fd1821b1 Fixed sample count error & refactored 2024-08-16 13:56:10 +02:00
Victor Castillo
469eaf76e5 Fixed decoding errors and refactored each class into its own file 2024-08-16 13:56:10 +02:00
Victor Castillo
598fa283b8 Treat data file paths as relative to the metadata file
The data file paths are actually not native paths but URLs, this covers most cases but not all of them.
2024-08-16 13:55:47 +02:00
Victor Castillo
5c442c8aae Fixed block iteration withing a file
The `File` object only holds a shallow reference to its `Lane` (without the list of blocks). So we must retrieve the full reference manually.
2024-08-16 13:55:47 +02:00
Victor Castillo
38d548ba50 Only specify outputs for the requested streams 2024-08-16 13:55:47 +02:00
Victor Castillo
1f3047c67a Added ION GNSS SDR Metadata Standard signal source 2024-08-16 13:55:47 +02:00
Victor Castillo
dbd94e005d Fix CMakeLists header file list in signal source libs
Header file paths were being appended to the source files list.

This is not that important since, in general, you don't need to add the header files to the cmake target.
2024-08-16 13:55:09 +02:00
Marc Majoral
d0caa64c5f Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga_signal_sources 2024-08-09 15:47:02 +02:00
Carles Fernandez
a19d260281 Fix formatting 2024-08-08 14:05:03 +02:00
Xavier Guerrero-Pau
c8c46bc3c5 Moved decimation factor count variable to the class 2024-08-08 12:03:46 +02:00
Marc Majoral
19a152c6ce Replaced the AD9361 FPGA signal source with the ADRV9361_Z7035 FPGA and the FMCOMMS5 FPGA signal sources. 2024-07-30 22:28:52 +02:00
Marc Majoral
40cc8de587 make clang-format happy 2024-07-25 09:44:21 +02:00
Marc Majoral
2df08c48fa make cpplint happy 2024-07-24 15:55:26 +02:00
Marc Majoral
ef3afccfbc make cpplint happy 2024-07-24 15:28:07 +02:00
Marc Majoral
468e840eb1 Fix FPGA-related CMakefile flags 2024-07-24 13:22:03 +02:00
Marc Majoral
f2acb7dc2f fix FPGA signal source names for consistency 2024-07-24 11:02:44 +02:00
Marc Majoral
5b06bc34bc Detect if the spidev driver is installed when the ENABLE_MAX2771 flag is set. Detect if the DMA proxy driver is installed when the ENABLE_DMA_PROXY flag is set. Check if ENABLE_FPGA is set when either ENABLE_MAX2771 or ENABLE_DMA_PROXY is set. 2024-07-23 17:03:06 +02:00
Marc Majoral
4b715866b5 fix signal source names for consistency 2024-07-19 12:06:53 +02:00
Marc Majoral
9567e95e33 Adjust cross-compilation flags to properly support FPGA signal sources 2024-07-19 10:11:44 +02:00
Marc Majoral
d24c35854a Add the MAX2771_EVKIT FPGA signal source and the ENABLE_FPGA_MAX2771_EVKIT flag to enable it. 2024-07-18 16:33:25 +02:00
Marc Majoral
ac7bdc919b Decouple the FPGA DMA signal source from the AD9361 FPGA signal source. 2024-07-15 19:10:00 +02:00
Carles Fernandez
079ef0f07d Improve error handling of UDP connections 2024-05-06 18:58:09 +02:00
Carles Fernandez
4515e67b3f Fixes for the embedded Abseil 2024-05-01 08:39:22 +02:00
Carles Fernandez
95596b8f91 Soft transition from Gflags and Glog to Abseil. Some CI fixes 2024-04-29 08:27:33 +02:00
Carles Fernandez
7e79945529 Update Flexiband_Signal_Source to admit modern GNU Radio versions 2024-04-05 13:37:45 +02:00
Carles Fernandez
f446bf3238 Add missing include
Fix compilation against glog-0.7.0
2024-02-19 17:54:18 +01:00
Carles Fernandez
fe5523c565 Fix spelling errors detected by lintian 2024-01-23 14:42:46 +01:00
Carles Fernandez
9618918aee Improve formatting consistency 2023-12-21 14:46:27 +01:00
Carles Fernandez
c498809bfb Better initialization for Fpga_dynamic_bit_selection constructor 2023-12-21 14:25:01 +01:00
Carles Fernandez
4916c6c8e8 Fix member initializations, potential data race conditions, and minor performance issues detected by Coverity Scan
Never throw from main
2023-12-21 13:57:41 +01:00