1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-30 00:43:15 +00:00
Commit Graph

1409 Commits

Author SHA1 Message Date
Carles Fernandez
3dbb632bf5
Fix CRC computation for Galileo E6B signals 2021-06-02 14:09:10 +02:00
lenhart
95baa5f1c4
Merge branch 'next' into fifo_source 2021-04-19 16:07:06 +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
Lenhart
cad8659116 added license to config file, applied clang-formatting rules to overlooked files 2021-04-17 19:32:10 +02:00
Lenhart
4f66603464 Implemented a custom FIFO reading gnu radio block + adapter.
Reads samples from unix fifo into gnss-sdr.

Use cases:
- multiplex signal streams outside of gnss-sdr
- another program holds access to the SDR
- the SDR is not supported by gnss-sdr but can dump the signal to a fifo
2021-04-17 18:55:20 +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
9417e713c3
Replace Receiver.sources_count configuration parameter name by GNSS-SDR.num_sources. The former parameter name is still read to ensure backward compatibility 2021-03-13 21:35:55 +01:00
iucgnaw
b721703339 Fixed wrong SignalSource.implementation check. 2021-03-10 20:51:00 +08:00
Carles Fernandez
2781f7fe57
Fix bug that made the Monitor block to always set to 0 the carrier_phase_rads parameter value (see #485) 2021-03-10 13:31:17 +01:00
Carles Fernandez
816bd94379
Improve messages if configuration fails 2021-02-27 11:05:39 +01:00
Carles Fernandez
c47fa0d895
Silence clang-tidy check 2021-02-24 15:51:05 +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
Carles Fernandez
89efa10236
Improve error messages 2021-02-24 10:41:26 +01:00
Carles Fernandez
07b401e3bc
Improve error messages in case of wrong configuration for the FPGA offloading flowgraph 2021-02-23 21:40:53 +01:00
Carles Fernandez
df8cdc678d
Allow a receiver compiled with -DENABLE_FPGA=ON to execute regular flowgraphs 2021-02-23 16:48:18 +01:00
Carles Fernandez
3ec9749852
Do not instantiate the Signal Conditioner when the software is compiled with ENABLE_FPGA=ON
so that part can be removed from the configuration file when using the FPGA offloading flowgraph
2021-02-23 13:37:17 +01:00
Carles Fernandez
b4d9a3a84b
Remove redundant parameter SignalSource.enable_FPGA 2021-02-23 12:24:21 +01:00
Carles Fernandez
c2223e3dad
Create a base class for Gnss almanacs, unify parameter names 2021-02-23 11:57:24 +01:00
Carles Fernandez
cc66a27740
Fix ignored value 2021-02-22 20:17:26 +01:00
Carles Fernandez
a0f10218fd
Fix ignored value 2021-02-22 20:13:46 +01:00
Carles Fernandez
927b91096d
Reorder members definition 2021-02-22 14:09:54 +01:00
Carles Fernandez
86d701b628
Remove more duplicated code 2021-02-22 10:02:21 +01:00
Carles Fernandez
b465f050f0
Apply clang-format 2021-02-21 12:15:38 +01:00
Carles Fernandez
2e53289653
Add more consistency in parameters name 2021-02-21 10:56:56 +01:00
Carles Fernandez
5a43a3cfce
Add missing include 2021-02-21 00:29:05 +01:00
Carles Fernandez
7971565a0d
Give more natural, consistent names to ephemeris / iono / utc parameters exposed outside the receiver via XML files
Create a base class for GPS, Galileo and BeiDou ephemeris, allowing to remove some duplicated code

Use BOOST_SERIALIZATION_NVP macro, less error prone than boost::serialization::make_nvp

Update .xsd files
2021-02-21 00:01:56 +01:00
Carles Fernandez
f703990a09
Fix building when using C++11
Update changelog
2021-02-17 09:43:05 +01:00
Jim Melton
e5bcf4700c
penultimate clang-tidy/clang-format complaint 2021-02-15 23:01:56 -07:00
Jim Melton
c67f23c913
fix clang-tidy complaints
some of these are ridiculous and so have been silenced. I'm a huge fan
of static code analysis but I have a hard time believing that writing
"0U" is a qualitative improvement over "0u".
2021-02-15 21:30:50 -07:00
Jim Melton
bba9edd68c
change invalid block implementation from FATAL to ERROR
I'm not sure that there is any value in continuing with a bad configuration
but be careful about changing the semantics of existing code. You never know
what else may depend upon it.
2021-02-15 16:31:35 -07:00
Jim Melton
fb6fef74e3
fix clang-tidy CI issues 2021-02-15 14:13:54 -07:00
Jim Melton
41c7a7ad7d
fix whitespace 2021-02-15 13:46:12 -07:00
Jim Melton
6d4ddc16e7 eliminate compile warning
Note this commit introduces a more appropriate pattern for exception
handling within loops, but did not change all occurrences.
2021-02-15 11:47:13 -07:00
Jim Melton
78362e7cba add signal_source_interface
also adds a base implementation that most signal sources should inherit from.
The gen_signal_source is inexplicably different (probably as a test fixture,
commonality was not valued).

Only the file_signal_source has been tested; all the sources are modified in the same
way, but we all know the only proof of correctness is testing.

The block factory was simplified a bit. Handling for legacy config files was pulled out
of the flowgraph; now when the "0" instance of a component (Foo0) is created, if there is
no config for it, then the legacy version (Foo) will be tried. This is different from
passing -1 for the item number (which is still supported). Theoretically, all existing
config files should still work.
2021-02-15 11:47:13 -07:00
Jim Melton
8407acb7a7 WIP: initial commit for collaboration 2021-02-15 11:47:13 -07:00
Carles Fernandez
d249a7efcf
Avoid segmentation faults if the SignalConditioner is not well defined in the configuration 2021-01-26 23:11:06 +01:00