1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-16 05:00:35 +00:00
Commit Graph

6559 Commits

Author SHA1 Message Date
Carles Fernandez
c8c6325535
Add flags for logging configuration 2024-05-01 12:14:06 +02:00
Carles Fernandez
33a38f4ec6
Fix ENABLE_LOG=OFF option 2024-05-01 09:52:48 +02:00
Carles Fernandez
3e2c0f2e6a
Fixes for the embedded Abseil 2024-05-01 09:00:46 +02:00
Carles Fernandez
4515e67b3f
Fixes for the embedded Abseil 2024-05-01 08:39:22 +02:00
Carles Fernandez
606454f7d3
Fix for Xcode 2024-04-30 10:35:37 +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
1ad631128f
cpu_features: Update AArch64 features to Linux 6.6 2024-04-22 13:03:31 +02:00
Carles Fernandez
78295866e6
Find dependencies in the loongarch64 architecture 2024-04-22 12:41:11 +02:00
Carles Fernandez
c91c31bd35
Fix wrong order of arguments in calloc 2024-04-22 09:48:28 +02:00
cesaaargm
e13fc39214 [TAS-177] implement OsnmaTestVectorsSimulation
This commit introduces two new unit tests for the osnma_msg_receiver class: 'TeslaKeyVerification' and 'OsnmaTestVectorsSimulation'. The first test verifies the Tesla key handling within the class. The second test uses real-world test vectors to simulate osnma message receiving and verifies correct parsing and processing of messages.
2024-04-19 17:50:57 +02:00
Carles Fernandez
f1fb4abec0
Bump CMake max policy to 3.29 2024-04-13 09:17:18 +02:00
Carles Fernandez
fd5174e7ec
Remove duplicate libraries warning emitted by Xcode 15 2024-04-13 09:03:46 +02:00
Carles Fernandez
fc695cb6f6
CI: make cmakelint happy 2024-04-12 19:51:37 +02:00
Carles Fernandez
6fc04b34f2
Fix duplicate warning from Xcode 2024-04-12 18:15:33 +02:00
cesaaargm
881bb5c58a
Merge branch 'carlesfernandez:next' into osnma-cesare 2024-04-12 15:24:51 +02:00
cesaaargm
ff5118db54 [TAS-156] debug verify_tesla_key various bugfixes plus refactor recursive hash computation 2024-04-10 17:51:43 +02:00
cesaaargm
a17b04cb22 [TAS-159 ] d_tesla_key_verified => do not hash until Kroot(every time) - improve efficiency of verify_tesla_key by computing only the needed hashes until chronologically closest key, instead of going back to Kroot. Aditional chanches are:
* rename unused variable d_old_GST_SISto d_last_verified_key_GST and use it for tesla key verification
* fix bug on verify_tesla_key during the comparison of computed and received key
* deleted d_old_OSNMA_buffer
* fill PRNa and TOW for MACK message when parsing it
* fix parameter bug for verify_macseq()
* immplement tag_has_key_available
* delete old verify_tag implementation
2024-04-07 14:27:14 +02:00
Carles Fernandez
7e79945529
Update Flexiband_Signal_Source to admit modern GNU Radio versions 2024-04-05 13:37:45 +02:00
Marc Majoral
3f014b4a64
Fixed a deadlock issue in the FPGA-based tracking loops 2024-04-04 19:13:55 +02:00
cesaaargm
8fa1a86f24 Refactor tag verification logic - solve build errors 2024-04-02 18:04:19 +02:00
Cesare G. Martínez
a4d9b720dc Merge remote-tracking branch 'origin/osnma-cesare' into osnma-cesare
# Conflicts:
#	src/core/libs/osnma_msg_receiver.cc
#	src/core/libs/osnma_msg_receiver.h
#	src/core/system_parameters/osnma_data.cc
#	src/core/system_parameters/osnma_data.h
2024-04-02 07:37:36 +02:00
cesaaargm
a57d285e91
Merge branch 'carlesfernandez:next' into osnma-cesare 2024-04-02 07:34:04 +02:00
cesaaargm
9120f5e59a Refactor tag verification logic WIP 2024-04-02 07:31:42 +02:00
Carles Fernandez
f03608ac82
Update links 2024-03-29 14:39:32 +01:00
cesaaargm
37b343391c Refactor tag verification logic WIP 2024-03-22 05:03:05 +01:00
cesaaargm
b5765048de [TAS-160] bugfix readMack for tag size 20. Subframe filter if TOW repeated. Unit test for HMAC 256. Update OSNMA tables. 2024-03-16 18:40:02 +01:00
cesaaargm
950c7310f9 [TAS-154] signature verification with ossl 3
Several changes were made on gnss_crypto to ensure that the unit test passes. Public key copying and hex printing features were added. The OpenSSL header includes were updated.
2024-03-11 20:08:28 +01:00
cesaaargm
816c20b77b Force use of OpenSSL library 2024-03-11 17:03:20 +01:00
cesaaargm
4a13e446b6 [TAS-153] Re-design time check requirement
[TAS-140] Tag verification: accumulation tags of PRNd and ADKD for T_COP

This update introduces updated time verification functions and DSM block processes. TAS-140 introduces work (in progress) for taking into account the COP when validating tags. This accounts for significant structural changes in process_mack_message(). The update also resolves several TODO comments and includes minor adjustments to unit tests and system parameters.
2024-03-10 16:38:24 +01:00
cesaaargm
aca6c21944 Revert "[TAS-111] time synch check: first draft"
This reverts commit 50fbc3e9
2024-02-27 21:13:23 +01:00
cesaaargm
35cfbd7f05 gitignore 2024-02-27 19:18:39 +01:00
cesaaargm
9488008b89 [TAS-153] Re-design time check requirement and how time is computed
The OSNMA message receiver has been refactored to correct errors. It introduces new functions to process local time verification as well as DSM blocks. Flow of information between these functions is also changed, to improve readabilty and responsibility. Several TODO comments have been addressed as part of the changes. This commit also includes minor changes to the unit tests and system parameters classes.
2024-02-27 19:06:36 +01:00
cesaaargm
88a6d8e968
Merge branch 'carlesfernandez:next' into osnma-cesare 2024-02-20 15:58:26 +01:00
cesaaargm
11b3a4a817 Fix unknown command line flag 'gtest_color'
Command line parameters are now parsed after initializing gtest.
2024-02-20 15:52:30 +01:00
cesaaargm
80e6d8df18 Add unit tests for GNSS_crypto
Introduced unit tests in `gnss_crypto_test.cc` to verify the functionality set_public_key and verify_signature. The added tests check the correctness of signature verification and public key import processes. Further minor changes
2024-02-20 15:52:19 +01:00
Carles Fernandez
f446bf3238
Add missing include
Fix compilation against glog-0.7.0
2024-02-19 17:54:18 +01:00
cesaaargm
ce6036e431 Increase time difference limit and refactor key length retrieval
The time difference limit between local time and OSNMA subframe time has been increased from 15 to 120. Additionally, key length retrieval condensed. Minor adjustments in tesla key, padding of bits, and success messaging during data verification.
2024-02-16 14:51:59 +01:00
cesaaargm
b32d512972
Merge branch 'carlesfernandez:next' into osnma-cesare 2024-02-06 20:51:37 +01:00
cesaaargm
aa45386cdf [TAS-135] Tag verification: L_T should exist when out of scope
* Aditionally documentation was written for some important methods and compilation warnings were eliminated.
2024-02-06 20:47:50 +01:00
cesaaargm
a688ad984d [TAS-111] time synch check: GST-UTC conversion before comparison
Refactored the code to use Galileo_Utc_Model's GST_to_UTC_time function.
Last two reverts are because I wrongly made the class static plus other brilliant ideas  that turned out to be garbage.
2024-02-01 06:41:52 +01:00
cesaaargm
a32bdae396 Revert "[TAS-111] time synch check"
This reverts commit ba2e392a5d.
2024-02-01 06:12:26 +01:00
cesaaargm
dafa7403dc Revert "[TAS-111] Refactor Galileo_Utc_Model and time synchronization in osnma_msg_receiver"
This reverts commit 51b4209535.
2024-02-01 06:12:25 +01:00
Cesare G. Martínez
51b4209535 [TAS-111] Refactor Galileo_Utc_Model and time synchronization in osnma_msg_receiver
In osnma_msg_receiver, the time synchronization between OSNMA subframes and local time has been updated. To facilitate this, the Galileo_Utc_Model has been refactored to be used statically, instead of being passed through the osnma_msg_receiver constructor. Additional changes include: adjusting variable declarations, adding an initialization method, altering the function GST_to_UTC_time to be static, and removing an unused instantiation of the model in osnma_msg_receiver.
2024-01-31 13:05:55 +01:00
Cesare G. Martínez
ba2e392a5d [TAS-111] time synch check 2024-01-29 17:07:39 +01:00
Carles Fernandez
ec180d8525
Fix clang-format job 2024-01-26 10:28:10 +01:00
cesaaargm
1263af9ec1
Merge branch 'carlesfernandez:next' into osnma-cesare 2024-01-25 16:19:15 +01:00
Cesare G. Martínez
620249f9f2 [TAS-126] [TAS-125] NavData storage of last 10 SFs / NavData retrieval: store needed NavData within osnma_data::NavData for the last 10 subframes
* In osnma_msg_receiver: d_old_navdata_buffer to store last 10 NavData.
		* In osnma_msg_receiver::process_mack_message: pass needed data to the newly created structure osnma_data::NavData, generate needed vectors for tag verification.
		* In osnma_data.h/cc: Create NavData structure, Create osnma_data.cc source file, add to CMakeLists source file.
2024-01-25 17:11:28 +01:00
Carles Fernandez
9880fdd57c
Bump version to 0.0.19 2024-01-23 14:49:19 +01:00
Carles Fernandez
fe5523c565
Fix spelling errors detected by lintian 2024-01-23 14:42:46 +01:00
Carles Fernandez
95e6111a46
Better tuning of position KF for moving receivers 2024-01-23 11:07:31 +01:00
Carles Fernandez
84ce3ebc2f
Fix Wshorten-64-to-32 warning 2024-01-23 11:05:27 +01:00
Carles Fernandez
a50a59fe1b
Remove RemoveDuplicates.cmake 2024-01-23 11:03:03 +01:00
Cesare G. Martínez
08bd1992af [TAS-125] NavData retrieval.
* set osnma flags to true when new data
		* send them to osnma block if filled.
2024-01-22 17:58:39 +01:00
cesaaargm
27a7274e1a
Merge branch 'carlesfernandez:next' into osnma-cesare 2024-01-20 22:05:02 +01:00
Cesare G. Martínez
50fbc3e9e5 [TAS-111] time synch check: first draft 2024-01-20 10:21:22 +01:00
Cesare G. Martínez
13cc59c5fa [TAS-117] implement first test 2024-01-20 10:18:18 +01:00
Carles Fernandez
e9cea61b87
Fix building of benchmarks with Xcode 2024-01-14 08:41:03 +01:00
Carles Fernandez
3697bc1dce
Improve value reading in navigation message decoding
More concise code, less branching, fix some Wshorten-64-to-32 warnings
2024-01-13 12:07:06 +01:00
Carles Fernandez
5d5cbc05eb
Fix Wshorten-64-to-32 warning 2024-01-12 10:47:14 +01:00
Cesare G. Martínez
f7d7f5a784 [TAS-116] tag verification for ADKD=0 2024-01-08 19:11:13 +01:00
Cesare G. Martínez
fdbd99ce6b [TAS-109] ADKD-MCLT check - changed GST mask, implement FLX tags 2024-01-06 20:59:53 +01:00
cesaaargm
451bae4a3b
Merge branch 'carlesfernandez:next' into osnma-cesare 2024-01-06 16:42:09 +01:00
Carles Fernandez
61d7573eb6
Remove duplicate dependencies when linking 2024-01-02 14:04:53 +01:00
Carles Fernandez
76f2cc411a
Enable building using macOS Sonoma 2024-01-01 17:33:15 +01:00
Carles Fernandez
7d6d62dbc6
Fix data race condition 2024-01-01 14:23:42 +01:00
Carles Fernandez
6b9ad0332b
Fix data race condition 2023-12-22 10:34:35 +01:00
Carles Fernandez
a2f8758ac7
Do not use __VOLK_VOLATILE in neon tests
and other minor chores
2023-12-21 17:56:32 +01:00
Carles Fernandez
5d1057227d
Revert "Remove leftovers from building in the source directory"
This reverts commit acf80198af.
2023-12-21 15:33:30 +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
acf80198af
Remove leftovers from building in the source directory 2023-12-21 13:58:31 +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
Carles Fernandez
d8fabdb4ac
Add [[maybe_unused]] to silence warnings 2023-12-21 10:18:12 +01:00
Marc Majoral
dfbdd4bc76 fix comment 2023-12-20 18:56:04 +01:00
Marc Majoral
3df8b9e83f remove EZDMA files 2023-12-20 18:56:04 +01:00
Marc Majoral
8b512d997b Remove the EZDMA driver, fix time reporting when using the FPGA, and include minor fixes for the dynamic bit selection, the AD9361 FPGA signal source, and the FPGA acquisition sampling factor parameter 2023-12-20 18:56:04 +01:00
Cesare G. Martínez
656684e396 DSM-PKR getter setter structure 2023-12-17 21:01:01 +01:00
cesaaargm
7f3202be8e WIP 2023-12-17 14:16:47 +01:00
cesaaargm
efbb3e0cbf
Merge branch 'carlesfernandez:next' into osnma-cesare 2023-12-14 21:07:07 +01:00
Carles Fernandez
9c95aeb07f
Avoid deprecation warnings when VOLK >= 3.1
Bump CMake max version to 3.28
Do not leak build system paths when cross-compiling. Fixes OpenEmbedded QA warning
volk_gnsssdr: Fix 64-bit integer testing
CI: Fix for Python 3.12
2023-12-13 22:12:29 +01:00
cesaaargm
33f6bacd9b [TAS-110] tesla key verification first implementation
* read_mack_block =>  computation of d_GST_Sf and  d_GST_0
	* read_mack_header => verify_tesla_key logic
2023-12-12 22:07:30 +01:00
cesaaargm
1356a3e87b [TAS-110] verify_tesla_key-> implement retrieval tesla key 2023-12-07 05:39:09 +01:00
cesaaargm
55e624e9f8
Merge branch 'carlesfernandez:next' into osnma-cesare 2023-12-07 04:05:52 +01:00
cesaaargm
51061f18eb [TAS-106] process_mack_message: tags ADKD-MCLT check (first draft) 2023-12-05 20:16:03 +01:00
cesaaargm
d01ea978c6 [TAS-108] first implementation of verify_dsm_pkr()
* osnma_msg_receiver : leafs computation without loop and root comparison
	* gnss_crypto : getMerkleRoot() to return d_x_4_0
2023-12-03 17:45:15 +01:00
cesaaargm
ba357ebd9c Comments and questions | verify_dsm_pkr() structure 2023-12-03 15:50:16 +01:00
Carles Fernandez
e286a0d807
Fix more defects detected by Coverity Scan 2023-12-03 14:33:23 +01:00
Carles Fernandez
906d717381
Fix more defects detected by Coverity Scan 2023-12-03 11:42:30 +01:00
Carles Fernandez
e836d8f471
Fix more defects detected by Coverity Scan 2023-12-03 10:10:40 +01:00
Carles Fernandez
3ad02f6dc1
Update volk_gnsssdr_option_helpers 2023-12-02 13:31:29 +01:00
Carles Fernandez
15ddddf7c5
Fix potenctial data race condition 2023-12-02 13:01:08 +01:00
Carles Fernandez
a152226f50
Fix potenctial data race condition 2023-12-02 12:54:28 +01:00
Carles Fernandez
4afee8b7be
Avoid memory illegal access detected by Coverity Scan 2023-12-02 12:51:33 +01:00
Carles Fernandez
1685c896ea
Fix annotation rate for KML, GPX, GeoJSON, and NMEA 2023-12-01 13:35:31 +01:00
Carles Fernandez
1a4e5f43af
Fix warnings 2023-12-01 11:53:54 +01:00
Carles Fernandez
4f36210536
Fix warnings 2023-12-01 10:20:52 +01:00
Carles Fernandez
4b60f8a7f2
Fix performance inefficiencies detected by Coverity Scan 2023-12-01 10:19:39 +01:00
Carles Fernandez
bd1f9e5ad9
Fix performance inefficiencies detected by Coverity Scan 2023-11-30 09:48:04 +01:00
Carles Fernandez
9c4090f71a
Fix use of auto that caused a copy 2023-11-30 08:57:30 +01:00
Carles Fernandez
699050baaf
Fix performance inefficiencies detected by Coverity Scan 2023-11-29 23:45:38 +01:00
Carles Fernandez
1a270281c0
Add missing include 2023-11-29 21:51:14 +01:00
Carles Fernandez
0fd604db63
Fix performance inefficiencies detected by Coverity Scan 2023-11-29 21:35:12 +01:00
Carles Fernandez
4a8c58f6ba
Fix performance inefficiencies detected by Coverity Scan 2023-11-29 21:34:59 +01:00
Carles Fernandez
1818c88983
Fix data race conditions and performance inefficiencies, update CHANGELOG 2023-11-28 18:06:41 +01:00
Carles Fernandez
346cd8f9ac
Fix data race condition 2023-11-28 12:26:13 +01:00
Carles Fernandez
73100a7b64
Fix data race condition 2023-11-28 12:01:16 +01:00
Carles Fernandez
3c24b564c9
Better variable names 2023-11-28 11:05:18 +01:00
Carles Fernandez
2b708c2e4a
Fix wrong API usage 2023-11-28 09:50:11 +01:00
Carles Fernandez
9034ce44cb
Fix data race conditions detected by Coverity Scan 2023-11-28 09:48:59 +01:00
Carles Fernandez
15c6108fe4
Fix data race condition detected by Coverity Scan 2023-11-27 15:47:59 +01:00
Carles Fernandez
f28ed4f45f
Fix data race condition detected by Coverity Scan 2023-11-27 15:28:02 +01:00
Carles Fernandez
1690563acd
Fix: bugprone-use-after-move 2023-11-27 14:44:45 +01:00
Carles Fernandez
cfb6f283d4
Fix some performance inefficiencies detected by Coverity Scan 2023-11-27 13:41:55 +01:00
Carles Fernandez
132f85079a
Pass msg by reference isntead of by value 2023-11-26 08:57:35 +01:00
Carles Fernandez
caef6acdd4
Adjust number of decimal places displayed in terminal 2023-11-24 22:05:52 +01:00
Carles Fernandez
49eb161d90
Add -fsanitize=undefined to ASAN build 2023-11-24 22:05:10 +01:00
Carles Fernandez
ab81fdaca9
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into osnma 2023-11-20 16:59:22 +01:00
Carles Fernandez
0a438ec726 Avoid shadowed variables 2023-11-15 16:08:56 +01:00
Carles Fernandez
b751b4b8a1 Remove useless casts 2023-11-15 14:23:30 +01:00
Carles Fernandez
dd4478135a Remove useless casts 2023-11-15 14:21:07 +01:00
Carles Fernandez
5842f72f52
This cast is required in some environments 2023-11-14 15:12:16 +01:00
Carles Fernandez
c732ed053e
Merge branch 'next' into osnma 2023-11-14 14:33:16 +01:00
Carles Fernandez
ce14845bbb
Fix validation of GPS navigation data (fix due to @tractoan). Closes: #737 2023-11-14 14:32:19 +01:00
Carles Fernandez
7cfdcd3ae1
Fix compiler warning, avoid using std::strncat 2023-11-14 14:29:41 +01:00
Carles Fernandez
f739eb698c
Reset color when printing GPS CNAV messages in the terminal 2023-11-14 13:44:41 +01:00
Carles Fernandez
7132ee720a
Remove useless casts 2023-11-14 13:42:44 +01:00
Carles Fernandez
44c7bcce80
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into osnma 2023-11-09 11:52:50 +01:00
Carles Fernandez
fcfc851aa5
Write HAS data file at PVT.output_path 2023-11-09 08:53:29 +01:00
Carles Fernandez
f0c6a7184a
Generate RINEX and HAS outputs for GPS L1 C/A + Galileo E1B + GPS L5 + Galileo E5a + Galileo E6B receiver 2023-11-08 16:33:26 +01:00
Carles Fernandez
fe3d704c9d
Fix defects detected by Coverity Scan 2023-11-08 11:57:15 +01:00
Carles Fernandez
bf84a659a8
Rinex_Printer: fixes after last change, some improvements 2023-11-07 13:21:51 +01:00
Carles Fernandez
79b6312e3c
Fix API usage error reported by Coverity Scan 2023-11-07 13:19:57 +01:00
Carles Fernandez
b7378e4fd8
Add guard to avoid division by zero 2023-11-07 11:58:42 +01:00
Carles Fernandez
419172ae3b
Rinex_Printer: Better usage of unordered_map 2023-11-07 11:40:47 +01:00
Carles Fernandez
ab4cc295e8
volk_gnsssdr: Fix syntax for Python 3.12
Without breaking older versions, including 2.7
2023-11-06 14:01:42 +01:00
Carles Fernandez
7d9d090a21
Make clang-tidy happy 2023-11-05 17:59:55 +01:00
Carles Fernandez
4ec232fe2d
Fix defects detected by Coverity Scan 2023-11-05 12:53:47 +01:00
Carles Fernandez
f6a1777a21
Fix defect detected by Coverity Scan 2023-11-05 10:16:26 +01:00
Carles Fernandez
2dfd79d45c
Avoid potential undefined behaviour detected by Coverity Scan 2023-11-05 10:14:36 +01:00
Carles Fernandez
955770eb11
Fix performance inefficiency detected by Coverity Scan 2023-11-05 10:13:11 +01:00
Carles Fernandez
392b557a0a
four_bit_cpx_file_signal_source: initialize all variables 2023-11-04 15:42:05 +01:00
Carles Fernandez
db5d218f06
pvt_conf.h: initialize all variables 2023-11-04 15:41:21 +01:00
Carles Fernandez
1d295e0d51
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into osnma 2023-11-04 15:21:29 +01:00
Carles Fernandez
710f85dc03
Update local version of cpu_features to 0.9.0 2023-11-04 11:54:16 +01:00
Carles Fernandez
c004232518 Do not search for Python six if not required 2023-11-02 14:53:38 +01:00
Carles Fernandez
bcc1bb7b39
Merge branch 'next' into osnma 2023-11-01 23:06:01 +01:00
Carles Fernandez
a4ea1f5571
Galileo telemetry: restore default precision as soon as possible 2023-11-01 23:04:04 +01:00
Carles Fernandez
3ecf1c4ef4
volk_gnsssdr: improve random integer generation 2023-11-01 09:17:11 +01:00
Carles Fernandez
4b68641daf
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into osnma 2023-10-27 18:58:17 +02:00
Carles Fernandez
b116c17937
Print estimated CN0 on the terminal when navigation data is decoded 2023-10-26 18:57:24 +02:00