1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-15 14:25:00 +00:00
Commit Graph

9753 Commits

Author SHA1 Message Date
Carles Fernandez
58ded939ad
Fix end of line format 2024-10-04 11:55:42 +02:00
Carles Fernandez
825037592a
Remove build and data folders, move tests and utils to the base of the source tree 2024-10-04 11:55:09 +02:00
Carles Fernandez
5be2971c9b
Do not write empty files if downloading fails while running CMake 2024-10-01 10:09:24 +02:00
Carles Fernandez
7e01abe0c9
Merge branch 'cshort' into next 2024-09-30 15:57:20 +02:00
Carles Fernandez
98ee81f3ac
Add Cshort_To_Gr_Complex Data Type Adapter implementation 2024-09-30 15:34:50 +02:00
Carles Fernandez
cdcbc4d03d
Bump local version of Protocol Buffers to 28.2 2024-09-26 07:32:56 +02:00
Carles Fernandez
c45909f091
Merge branch 'ism' into next 2024-09-26 07:12:35 +02:00
Carles Fernandez
d74bceee6e
Make clang-tidy job happy 2024-09-25 21:17:45 +02:00
Carles Fernandez
f91f37261d
Fix merging conflict 2024-09-25 20:49:44 +02:00
Carles Fernandez
12a095920f
Fix merge conflict 2024-09-25 20:34:26 +02:00
Carles Fernandez
f81bd57961
Update changelog 2024-09-25 20:22:37 +02:00
Carles Fernandez
98705b3ff7
Merge branch 'next' of github.com:carlesfernandez/gnss-sdr into ism 2024-09-25 20:12:45 +02:00
Carles Fernandez
d0a6264754
Make clang-tidy CI job happy 2024-09-25 20:08:02 +02:00
Carles Fernandez
89d7931564
Merge branch 'cesaaargm-osnma-cesare' into next 2024-09-25 18:31:28 +02:00
Carles Fernandez
2e1a96a7c4
Fix merge conflict 2024-09-25 18:29:21 +02:00
Carles Fernandez
67cc301408
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into cesaaargm-osnma-cesare 2024-09-25 18:21:19 +02:00
Carles Fernandez
44344e1371
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-09-23 09:21:53 +02:00
Carles Fernandez
84b86107a7
Improve GalileoISMTest 2024-09-21 13:26:27 +02:00
Carles Fernandez
311b0ea6f2
Improve ISM handling and add PRN applicability check 2024-09-21 13:12:48 +02:00
Carles Fernandez
abc07e414b
Merging next, solving conflicts (#28)
* Decouple the FPGA DMA signal source from the AD9361 FPGA signal source.

* Add the MAX2771_EVKIT FPGA signal source and the ENABLE_FPGA_MAX2771_EVKIT flag to enable it.

* Adjust cross-compilation flags to properly support FPGA signal sources

* fix signal source names for consistency

* 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.

* fix FPGA signal source names for consistency

* Fix FPGA-related CMakefile flags

* make cpplint happy

* make cpplint happy

* make cmakelint happy

* make clang-format happy

* Replaced the AD9361 FPGA signal source with the ADRV9361_Z7035 FPGA and the FMCOMMS5 FPGA signal sources.

* Bump local version of GoogleTest to 1.15.2 and Protocol Buffers to 27.3

* Avoid code duplication in CMake modules

* Update clang-tidy job

* Clang Tidy fixes

* Improve efficiency of Concurrent_Map and Concurrent_Queue classes

* Fix segmentation fault if the SignalSource implementation is not available

* Moved decimation factor count variable to the class

* Avoid possible runtime error when PVT.enable_rx_clock_correction=true

* Fix formatting

* Fix clang-tidy job

* Capitalize FPGA in class implementation names

* Capitalize acronyms in FPGA-related class names

* Instantiate sources only once

* Update changelog

* Bump version of google benchmark to 1.9.0

* 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.

* Added ION GNSS SDR Metadata Standard signal source

* Only specify outputs for the requested streams

* 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.

* 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.

* Fixed decoding errors and refactored each class into its own file

* Fixed sample count error & refactored

* Bufferef IO & propagate configuration inside ION source

* 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.

* Simpler handling of simpler bit formats

If a sample is the same size as a word, it is much easier to read.

* Less callback shenanigans

* Fix wrong buffer size

* Fixed conditional compilation issues

And added a comment

* Linting fixes

* Fixed arithmetic operations on pointers

* Fix formatting

* Use lock_guard instead of unique_lock

* Create a CMake target for the ION dependency for consistency

* Improve formatting, add missing include

* Fixes for C++ standards older than 20. Avoid C++20-specific lambda templates

* Update changelog

* Add Victor to the list of authors

* Fix CMake error

* Fix building error

* Fix building

* Add -DENABLE_ION=ON to CI jobs

* Fix CMake lists

* Catch all exceptions

* Fix building for -DENABLE_PLUTOSDR=ON

* Removed unused member fields and function parameters

* Use std::ifstream instead of FILE for reading sample data

* Fixed includes and code style

* Simplified disconnect() function

We can disconnect the sources directly instead of disconnecting each of their outputs.

* Implemented range check in `IONGSMSSignalSource::get_right_block(int)`

* Moved ION GSMS file source to `gnuradio_blocks/` directory

Also fixed some header guards.

* Fixed ION GNSS Metadata Standard dependency version

* Simplified by removing a very shallow class

`ion_gnss_metadata_handler` was only reading the metadata file, which can easily be done in `ion_gsms_signal_source`.

* Added valves to properly handle end of samples

* Cleaner exit if the data file is not found

* Fix uninitialized warning

* Remove unused configuration parameter. Uniformize guard names

* Fix for CMake < 3.14

* fix configuration options for the FPGA-based AD9361-based boards

* Put the global function into an anonymous namespace

Use emplace_back instead of push_back

* Make private member metadata_ a std::shared_pointer

* Simplify code

* Remove ION source from CI

* Apply clang-tidy fixes

* Initialize the receiver local oscillator frequency to GPS_L5_FREQ_HZ by default in the ADRV9361Z7035 FPGA signal source and remove unnecessary include files.

* Sort out building flags and improve their reporting

* Allow building Ad936x_Custom_Signal_Source when gnuradio-iio is not available

* Bump local version of Protocol Buffers to v28.0

* Update AArch64 features to Linux 6.10.6

* Update AArch64 features to Linux 6.10.6

* Fix: Windows does not define __ARM_NEON

* Improve detection of the dma_proxy module and the spidev driver

* Add missing include (fixes building with modern GCC)

* Adapted udp_port to multiple ports

* Fixed typo

* Fixed clang format

* Update changelog

* Add Xavier Guerrero to the authors list

* Update changelog

* Bump local version of Protocol Buffers to 28.1

* Add install and uninstall targets to nav_msg_listener

* Add Cesare to the authors list

* Add OSNMA to changelog

* Leave OSNMA files in the same folder for consistency

* Fix conflict

---------

Co-authored-by: Marc Majoral <majoralmarc@gmail.com>
Co-authored-by: cesaaargm <cesare.martinez@proton.me>
Co-authored-by: Xavier Guerrero-Pau <xguerrero@cttc.es>
Co-authored-by: Victor Castillo <victorcastilloaguero@gmail.com>
2024-09-21 11:40:17 +02:00
Carles Fernandez
bc800dea28
Improve CRC computation of ISM 2024-09-21 10:22:32 +02:00
Carles Fernandez
e23d171b22
Fix formatting 2024-09-21 08:42:59 +02:00
Carles Fernandez
f6f58fd45e
Log ISM data 2024-09-21 07:39:24 +02:00
Carles Fernandez
de6f991811
Improve CRC computation of ISM 2024-09-20 18:54:18 +02:00
Carles Fernandez
db78d104bf
Merge branch 'ism' of github.com:carlesfernandez/gnss-sdr into ism 2024-09-20 17:06:22 +02:00
Carles Fernandez
660770f9fb
Merge branch 'next' of github.com:carlesfernandez/gnss-sdr into ism 2024-09-20 17:05:03 +02:00
Carles Fernandez
583ae6df0d
Fix CRC computation in ISM 2024-09-20 14:50:31 +02:00
Carles Fernandez
d40e3427d4
Add install and uninstall targets to nav_msg_listener 2024-09-16 18:13:12 +02:00
Carles Fernandez
c61d69b627
Bump local version of Protocol Buffers to 28.1 2024-09-12 21:24:01 +02:00
Carles Fernandez
fe58ba563c
Update changelog 2024-09-12 21:22:54 +02:00
Carles Fernandez
3bd38a1ca0
Add Xavier Guerrero to the authors list 2024-09-09 17:12:27 +02:00
Carles Fernandez
d449465a25
Update changelog 2024-09-09 17:10:24 +02:00
Xavier Guerrero-Pau
c9277539ff Fixed clang format 2024-09-09 16:44:37 +02:00
Xavier Guerrero-Pau
fdc4e4078e Fixed typo 2024-09-09 16:44:37 +02:00
Xavier Guerrero-Pau
94ab8a7006 Adapted udp_port to multiple ports 2024-09-09 16:44:37 +02:00
Carles Fernandez
34ddbb80f1
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-09-08 10:39:51 +02:00
Carles Fernandez
b981f8065e
Add missing include (fixes building with modern GCC) 2024-09-08 09:41:36 +02:00
Carles Fernandez
85f935afe9
Improve detection of the dma_proxy module and the spidev driver 2024-09-06 15:46:23 +02:00
Carles Fernandez
951520f581
Fix: Windows does not define __ARM_NEON 2024-09-05 16:38:04 +02:00
Carles Fernandez
3ec25f2347
Merge from upstream next (#27)
* Decouple the FPGA DMA signal source from the AD9361 FPGA signal source.

* Add the MAX2771_EVKIT FPGA signal source and the ENABLE_FPGA_MAX2771_EVKIT flag to enable it.

* Adjust cross-compilation flags to properly support FPGA signal sources

* fix signal source names for consistency

* 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.

* fix FPGA signal source names for consistency

* Fix FPGA-related CMakefile flags

* make cpplint happy

* make cpplint happy

* make cmakelint happy

* make clang-format happy

* Replaced the AD9361 FPGA signal source with the ADRV9361_Z7035 FPGA and the FMCOMMS5 FPGA signal sources.

* Bump local version of GoogleTest to 1.15.2 and Protocol Buffers to 27.3

* Avoid code duplication in CMake modules

* Update clang-tidy job

* Clang Tidy fixes

* Improve efficiency of Concurrent_Map and Concurrent_Queue classes

* Fix segmentation fault if the SignalSource implementation is not available

* Moved decimation factor count variable to the class

* Avoid possible runtime error when PVT.enable_rx_clock_correction=true

* Fix formatting

* Fix clang-tidy job

* Capitalize FPGA in class implementation names

* Capitalize acronyms in FPGA-related class names

* Instantiate sources only once

* Update changelog

* Bump version of google benchmark to 1.9.0

* 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.

* Added ION GNSS SDR Metadata Standard signal source

* Only specify outputs for the requested streams

* 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.

* 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.

* Fixed decoding errors and refactored each class into its own file

* Fixed sample count error & refactored

* Bufferef IO & propagate configuration inside ION source

* 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.

* Simpler handling of simpler bit formats

If a sample is the same size as a word, it is much easier to read.

* Less callback shenanigans

* Fix wrong buffer size

* Fixed conditional compilation issues

And added a comment

* Linting fixes

* Fixed arithmetic operations on pointers

* Fix formatting

* Use lock_guard instead of unique_lock

* Create a CMake target for the ION dependency for consistency

* Improve formatting, add missing include

* Fixes for C++ standards older than 20. Avoid C++20-specific lambda templates

* Update changelog

* Add Victor to the list of authors

* Fix CMake error

* Fix building error

* Fix building

* Add -DENABLE_ION=ON to CI jobs

* Fix CMake lists

* Catch all exceptions

* Fix building for -DENABLE_PLUTOSDR=ON

* Removed unused member fields and function parameters

* Use std::ifstream instead of FILE for reading sample data

* Fixed includes and code style

* Simplified disconnect() function

We can disconnect the sources directly instead of disconnecting each of their outputs.

* Implemented range check in `IONGSMSSignalSource::get_right_block(int)`

* Moved ION GSMS file source to `gnuradio_blocks/` directory

Also fixed some header guards.

* Fixed ION GNSS Metadata Standard dependency version

* Simplified by removing a very shallow class

`ion_gnss_metadata_handler` was only reading the metadata file, which can easily be done in `ion_gsms_signal_source`.

* Added valves to properly handle end of samples

* Cleaner exit if the data file is not found

* Fix uninitialized warning

* Remove unused configuration parameter. Uniformize guard names

* Fix for CMake < 3.14

* fix configuration options for the FPGA-based AD9361-based boards

* Put the global function into an anonymous namespace

Use emplace_back instead of push_back

* Make private member metadata_ a std::shared_pointer

* Simplify code

* Remove ION source from CI

* Apply clang-tidy fixes

* Initialize the receiver local oscillator frequency to GPS_L5_FREQ_HZ by default in the ADRV9361Z7035 FPGA signal source and remove unnecessary include files.

* Sort out building flags and improve their reporting

* Allow building Ad936x_Custom_Signal_Source when gnuradio-iio is not available

* Bump local version of Protocol Buffers to v28.0

* Update AArch64 features to Linux 6.10.6

* Update AArch64 features to Linux 6.10.6

* Fix merging

---------

Co-authored-by: Marc Majoral <majoralmarc@gmail.com>
Co-authored-by: cesaaargm <cesare.martinez@proton.me>
Co-authored-by: Xavier Guerrero-Pau <xguerrero@cttc.es>
Co-authored-by: Victor Castillo <victorcastilloaguero@gmail.com>
2024-08-31 10:07:44 +02:00
Carles Fernandez
1088387f75
Update AArch64 features to Linux 6.10.6 2024-08-30 07:52:37 +02:00
Carles Fernandez
792ec38989
Update AArch64 features to Linux 6.10.6 2024-08-29 20:30:54 +02:00
Carles Fernandez
89dfadb535
Bump local version of Protocol Buffers to v28.0 2024-08-29 08:53:39 +02:00
Carles Fernandez
557a7f7265
Add work on ISM 2024-08-28 11:13:54 +02:00
Carles Fernandez
310685cd20
Allow building Ad936x_Custom_Signal_Source when gnuradio-iio is not available 2024-08-28 11:09:56 +02:00
Carles Fernandez
3f3321f5a7
Sort out building flags and improve their reporting 2024-08-27 15:14:01 +02:00
Carles Fernandez
98a8a0ac64
Merge branch 'mmajoral-init_freq_config_param' into next 2024-08-26 10:19:23 +02:00
Marc Majoral
1384ebef55
Initialize the receiver local oscillator frequency to GPS_L5_FREQ_HZ by default in the ADRV9361Z7035 FPGA signal source and remove unnecessary include files. 2024-08-26 09:03:56 +02:00
Carles Fernandez
c4e84ffcfc
Apply clang-tidy fixes 2024-08-23 07:02:56 +02:00
Carles Fernandez
4dee92ddf5
Remove ION source from CI 2024-08-22 15:44:10 +02:00