1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-02-08 15:10:10 +00:00

9799 Commits

Author SHA1 Message Date
Carles Fernandez
b9e017e189
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-08-16 09:49:15 +02:00
Carles Fernandez
94d7635612
Small fixes (#26)
* 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

* Fix building in some environments and fix CI jobs

* Fix clang-tidy complain

---------

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>
2024-08-16 09:40:45 +02:00
cesaaargm
ea0684d640 [TAS-240][FEAT] Implement TESLA Chain Renewal and Revocation II
* revocation sucessfully tested.
* Diagram of step 1 is wrong in that KROOT with CID=0 also received after entering step 1.
* Duration of CREV=2.75h
* All tags verified succesffully.
2024-08-15 21:48:29 +02:00
Carles Fernandez
6267172ab6
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-08-15 14:41:21 +02:00
cesaaargm
092a78f580 [TAS-145][Feat][PVT] Implement PVT logic for osnma data
* Created a map with PRN-> set<IOD_nav>
* osnma transmits every 30 s the list of authenticated PRNs along with the IOD authenticated
* PVT takes this into account to consider the observable valid (only strict mode)
* ""successfully"" tested. Osnma first tag authenticated: 1:36, TTFAF 2:06
=> most of the time the PVT has authenticated solution, except two 30s gaps in which there is no PVT computed. (3-4' firs gap and second from 13:30-14:06)
* TODOs: find out reason and improve size management of the maps.
2024-08-15 13:10:04 +02:00
Carles Fernandez
e7f5f6de7e
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-08-14 17:12:53 +02:00
cesaaargm
2e867f2dac [TAS-240][FEAT] Implement TESLA Chain Renewal and Revocation I
* Implemented a new chain renewal mechanism for OSNMA data structure updates and key management.
* Added related flags and data fields.
* tested successfully with test vectors.
2024-08-14 13:14:23 +02:00
Carles Fernandez
ff2a9aacf0
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-08-14 08:29:39 +02:00
cesaaargm
e4f4c335bc [TAS-257][TEST] add osnma benchmarking
* Introduced new benchmarks to assess the performance of various OSNMA related functions, such as public key verification.
* Mostly recycled code from testing codebase.
* TODO: methods are private, could not find a MACRO like FRIEND_TEST to allow for it. Result of this, only one benchmark test is active.
2024-08-12 12:50:17 +02:00
cesaaargm
794bd61419 [TAS-249][Bug][Tag] new NavDataManager causes less tags to be verified
[TAS-234][Feature] Dummy tags verification

* Fixed the navData retrieval which caused many tags to be skipped
* Dummy tags verification added.
* Replaced direct field access with getters/setters for OSNMA navigation data.
2024-08-11 16:41:54 +02:00
Carles Fernandez
f69bb2185a
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-08-11 13:10:35 +02:00
Carles Fernandez
e9025246e4
Merge branch 'mmajoral-fpga_signal_sources' into next 2024-08-11 13:02:03 +02:00
Carles Fernandez
f370e33c26
Update changelog 2024-08-11 13:00:06 +02:00
Carles Fernandez
5a634f7332
More fixes (#25)
* Clang Tidy fixes

* Fix some potential defects and be more consistent in class name. Improve const correctness

* Fix formatting

---------

Co-authored-by: cesaaargm <cesare.martinez@proton.me>
2024-08-11 12:44:18 +02:00
Marc Majoral
0242f86088
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga_signal_sources 2024-08-10 15:29:40 +02:00
Carles Fernandez
275e5a3e44
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-08-10 11:46:26 +02:00
Carles Fernandez
79da7787ff
Move files (#24)
* 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

* Move receiver-related classes to src/core/libs

* Uniformize cmake module names

* Fix formatting

* Make clang-tidy happy

* Fix crypto benchmarks

* Fixes for old systems

* Instantiate sources only once

---------

Co-authored-by: cesaaargm <cesare.martinez@proton.me>
Co-authored-by: Xavier Guerrero-Pau <xguerrero@cttc.es>
2024-08-10 11:31:15 +02:00
Carles Fernandez
7ce4f62344
Instantiate sources only once 2024-08-10 07:37:46 +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
Marc Majoral
9b9f0fc438
Capitalize acronyms in FPGA-related class names 2024-08-09 15:17:19 +02:00
Carles Fernandez
8d8b118cae
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-08-09 08:45:49 +02:00
Marc Majoral
1502808f58
Capitalize FPGA in class implementation names 2024-08-08 22:30:45 +02:00
Carles Fernandez
621ee34048
Fix clang-tidy job 2024-08-08 17:53:59 +02:00
Carles Fernandez
8fea8e1729
Merge branch 'xguerreropau-decimation_factor_count' into next 2024-08-08 14:05:41 +02:00
Carles Fernandez
a19d260281
Fix formatting 2024-08-08 14:05:03 +02:00
Carles Fernandez
e4f807e210
Merge branch 'decimation_factor_count' of https://github.com/xguerreropau/gnss-sdr into xguerreropau-decimation_factor_count 2024-08-08 13:59:33 +02:00
Carles Fernandez
41dd928689
Avoid possible runtime error when PVT.enable_rx_clock_correction=true 2024-08-08 12:41:11 +02:00
Xavier Guerrero-Pau
c8c46bc3c5
Moved decimation factor count variable to the class 2024-08-08 12:03:46 +02:00
Carles Fernandez
9ffb7e2dc8
Merge branch 'better-concurrency' into next 2024-08-08 10:39:18 +02:00
Carles Fernandez
7ff1d9006e
Fix segmentation fault if the SignalSource implementation is not available 2024-08-08 10:38:52 +02:00
Carles Fernandez
98f1cdfb6b
More minor fixes (#23)
* Clang Tidy fixes

* Fix defects detected by Coverity Scan

* Fix for OpenSSL 1.0

---------

Co-authored-by: cesaaargm <cesare.martinez@proton.me>
2024-08-08 09:33:48 +02:00
Carles Fernandez
dd378e6f4c
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-08-07 18:16:19 +02:00
Carles Fernandez
158b7caeb4
Improve efficiency of Concurrent_Map and Concurrent_Queue classes 2024-08-07 09:34:09 +02:00
Carles Fernandez
5a6d19be70
Fix some defects detected by Coverity Scan (#22)
* Clang Tidy fixes

* Fix defects detected by Coverity Scan

---------

Co-authored-by: cesaaargm <cesare.martinez@proton.me>
2024-08-07 09:13:13 +02:00
Carles Fernandez
fb2cb56903
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-08-06 12:56:31 +02:00
Carles Fernandez
7367b56725
Improve test (#21)
* Clang Tidy fixes

* Improve GnssCryptoTest.VerifyPublicKeyStorage test

---------

Co-authored-by: cesaaargm <cesare.martinez@proton.me>
2024-08-06 12:28:01 +02:00
Carles Fernandez
45ad153c98
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-08-05 13:49:42 +02:00
Carles Fernandez
a1ef563988
Fix for OpenSSL 1.0 (#20)
* Clang Tidy fixes

* Fix for OpenSSL 1.0

---------

Co-authored-by: cesaaargm <cesare.martinez@proton.me>
2024-08-05 13:06:28 +02:00
Carles Fernandez
41eca41ea8
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-08-05 11:37:56 +02:00
Carles Fernandez
8a45df29a8
Some API improvements and a bug fix (#18)
* Clang Tidy fixes

* Fix reading of .crt files with GnuTLS

* Hide d_crypto pointer from public API

* Read public key type also from .pem files

---------

Co-authored-by: cesaaargm <cesare.martinez@proton.me>
2024-08-05 10:29:01 +02:00
Carles Fernandez
43bbb3d536
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-08-04 09:36:34 +02:00
Carles Fernandez
3457b8ed3b
Get time zone offset in a more standard way (#17)
* Clang Tidy fixes

* Get time zone offset in a more standard way

Account for leap seconds
Use GNSS-SDR.osnma_mode=strict to check for local time

* Fix for C++20

* Initialize tm in a more portable way

* Remove unnecessary data members in osnma_msg_receiver

---------

Co-authored-by: cesaaargm <cesare.martinez@proton.me>
2024-08-03 19:58:34 +02:00
Carles Fernandez
bdb14535f5
Merge branch 'osnma-cesare' of https://github.com/cesaaargm/osnma into osnma-cesare 2024-08-02 18:04:55 +02:00
Carles Fernandez
6beb92278f
Read type of public key (#16)
* Clang Tidy fixes

* Improve reading public key type

* Update osnma_nav_data_manager.cc

hotfix

---------

Co-authored-by: cesaaargm <cesare.martinez@proton.me>
2024-08-02 09:38:37 +02:00
cesaaargm
960e76e3a0 Clang Tidy fixes 2024-08-01 19:16:47 +02:00
cesaaargm
1dec33dbf5 Clang Tidy fixes 2024-08-01 18:45:23 +02:00
Carles Fernandez
eefa3b3aa7
Update CMake scripts (#15)
* Report GMP version if found

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

* Avoid code duplication in CMake modules

* Update CMake modules

* Update clang-tidy job
2024-08-01 12:46:14 +02:00
cesaaargm
fcea84d875 disable extra unit tests for the moment. 2024-08-01 11:53:02 +02:00
cesaaargm
a47cf1187c [TAS-255] [BUG] Assure time synch. is properly done
if d_flag_debug=false, now system clock is used to for the receiver synchronisation. It uses the UTC time and the GST epoch start time (adjusted for local time zone difference) to create a local estimation of GST, then compares with GST_SIS (coming from NavData Words 5 and 6)
2024-08-01 11:52:28 +02:00
Carles Fernandez
ef1cb81784
Update clang-tidy job 2024-07-31 22:31:01 +02:00