Commit Graph

673 Commits

Author SHA1 Message Date
Carles Fernandez 2c7bead089
Prefer initialization to assignment in constructors 2021-12-14 17:03:29 +01:00
Carles Fernandez fdc378c04b
Fix error computing the Galileo week 2021-12-14 13:04:55 +01:00
Carles Fernandez f6ff0bbe89
Add two new Galileo satellites 2021-12-07 13:42:31 +01:00
Carles Fernandez 2fc172c0f0
Fix clang-format and cpplint CI jobs 2021-10-29 15:26:51 +02:00
Carles Fernandez f9911cbc3f
Fix lintian warning very-long-line-length-in-source-file (raised by Lintian v2.110.0)
Rationale:
The source file includes a line length that is well beyond the normally human made code line length.
This very long line length does not allow Lintian to do correctly some source file checks.
This line could also be the result of some text injected by a computer program, and thus could lead to FTBFS bugs.
Last but not least, long line in source code could be used to obfuscate the source code and to hide stuff like backdoors or security problems.
2021-10-29 14:26:55 +02:00
Carles Fernandez 5bed35471a
Add getters for easier access to HAS data 2021-10-18 14:30:57 +02:00
Carles Fernandez 05e7da7a87
Fix clang-format 2021-10-10 21:01:06 +02:00
Carles Fernandez c087c63d42
Reduce excessive padding 2021-10-10 20:24:16 +02:00
Carles Fernandez aab8ef3b34
Fix readability-avoid-const-params-in-decls 2021-10-10 18:59:56 +02:00
Carles Fernandez 188d34ba14
Fix bugprone-reserved-identifier 2021-10-10 18:58:04 +02:00
Carles Fernandez 13b5d80ab6
Remove unused variables 2021-10-07 10:12:14 +02:00
Carles Fernandez 9982e18f6b
Retrieve reduced CED only once, don't do it if we already have the full ephemeris set
Update changelog
2021-10-04 22:02:47 +02:00
iucgnaw dfe793799b Fixed bit order when regenerate ephemeris pages from FEC2 RS pages.
Signed-off-by: iucgnaw <iucgnaw@msn.com>
2021-10-04 20:01:50 +08:00
Carles Fernandez ae78462e1a
Merge branch 'flag_PLL_180_deg_phase_locked' of https://github.com/mmajoral/gnss-sdr into mmajoral-flag_PLL_180_deg_phase_locked 2021-09-29 09:06:03 +02:00
Javier Arribas d6ed2698e6 Optimizing GPS L1 CA bit transitiion detection by using a bit transition slope pattern 2021-09-27 16:11:17 +02:00
Carles Fernandez 010069b86a
Improve memory allocation, allow running when compiled in ASAN mode
Control if GNSS ID have no definition when reading the orbit correction block
2021-09-25 16:44:07 +02:00
Carles Fernandez 8d3548cae9
Move back constructor to .cc file. Fix Orbital Correction block reading 2021-09-24 19:37:38 +02:00
Carles Fernandez a7210933b4
Fix clang-tidy warning. Was: performance-inefficient-string-concatenation 2021-09-24 16:56:04 +02:00
Carles Fernandez 38cffe480b
Make ASAN compilation mode happy: fill d_genpoly_index vector in constructor 2021-09-23 18:08:12 +02:00
Carles Fernandez a42c66ec29
Add utilities to galileo_has_data class, improve HAS message printer 2021-09-23 10:20:10 +02:00
Marc Majoral 03566b1fbf added 180 deg. inverted carrier phase PLL lock flag in gnss_synchro 2021-09-21 17:25:16 +02:00
Carles Fernandez b648571b6d
Print HAS status and message ID in HAS message printer
and other formatting improvements
2021-09-21 16:35:09 +02:00
Carles Fernandez e8cc23276f
Read clock subset corrections in HAS message 2021-09-21 11:52:38 +02:00
Carles Fernandez bd62e33dc6
Improve HAS message printer 2021-09-20 20:23:52 +02:00
Carles Fernandez 271c59f475
Add a simple HAS message printer to inspect data 2021-09-20 15:09:33 +02:00
Carles Fernandez 7a0cbd2503
Implement HAS message reading 2021-09-20 08:53:23 +02:00
Carles Fernandez 531ca63398
Make the code more portable
Avoid arrays with variable length, replace them by std::vector
2021-09-17 13:55:09 +02:00
Javier Arribas 23a2d3ef89 TTFF reduction in GPS L1 and Galileo E1 2021-08-03 14:03:27 +02:00
Carles Fernandez 0c3ac1127b
Update references to latest GPS ICDs 2021-07-24 13:47:52 +02:00
Carles Fernandez 6289d920cc
Update block for GPS satellites PRN 11 and 14 2021-07-12 13:37:12 +02:00
Carles Fernandez 99d8f75e47
Improve log formatting 2021-06-08 11:20:25 +02:00
Carles Fernandez dde6f8f44a
Move HAS decoding out from CNAV page content retrieval 2021-06-02 16:30:26 +02:00
Carles Fernandez 3dbb632bf5
Fix CRC computation for Galileo E6B signals 2021-06-02 14:09:10 +02:00
Carles Fernandez 3bc2c738c8
Implement FEC2 Erasure Correction in Galileo E1B INAV message
This feature is configurable, disabled by default.

Added a benchmark for the Reed Solomon decoder.

Make the RS decoder to accept both shortened or unshortened codes
2021-04-19 13:26:46 +02:00
Carles Fernandez 765d547e3b
Store RS data in a single buffer 2021-04-12 10:46:17 +02:00
Carles Fernandez 077990faa8
Pass bits by reference 2021-04-11 14:47:36 +02:00
Carles Fernandez 24af4b228e
Implement reading of INAV Reed-Solomon information and parity vectors 2021-04-11 14:46:50 +02:00
Carles Fernandez ddecd37c04
Add missing include 2021-04-09 15:30:51 +02:00
Carles Fernandez d4a9b6f316
Implement reading of reduced CED data in Galileo E1B INAV message. Used if found 2021-04-09 15:00:58 +02:00
Carles Fernandez a209bcc979 Clean the constructor 2021-04-01 14:29:46 +02:00
Carles Fernandez 5cd1955dc0 Add check of number of erasures, remove unused parameter in private method 2021-04-01 13:21:11 +02:00
Carles Fernandez a32ea2ab9c Remove redundant check 2021-04-01 12:53:28 +02:00
Carles Fernandez 149c26b971 Expand ReedSolomon class to shortened codes. Add conf parameters for Galileo E1B RS encoding/decoding and the corresponding unit tests 2021-04-01 10:22:24 +02:00
Carles Fernandez 455178954d Fix loop variable size 2021-03-28 19:18:05 +02:00
Carles Fernandez 846fc0b15a Always initialize members 2021-03-28 19:16:11 +02:00
Carles Fernandez e262dfc315 Implement HAS message page decoding
Signed-off-by: Carles Fernandez <carles.fernandez@gmail.com>
2021-03-28 13:07:50 +02:00
Carles Fernandez c67ac1247f
Add optional erasure positions to RS decoder 2021-03-26 12:40:35 +01:00
Carles Fernandez aeb6a0cd84
Add Reed Solomon encoder and decoder class 2021-03-25 14:53:18 +01:00
Carles Fernandez 783047aeb6
Avoid implementation-defined type conversions 2021-02-24 12:12:50 +01:00
Carles Fernandez 38a7db4740
Silence clang-tidy check 2021-02-24 11:59:42 +01:00