1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-18 11:09:56 +00:00
Commit Graph

742 Commits

Author SHA1 Message Date
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
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
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
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
Carles Fernandez
d249a7efcf
Avoid segmentation faults if the SignalConditioner is not well defined in the configuration 2021-01-26 23:11:06 +01:00
Carles Fernandez
24041058a6
Improve reported output in case of configuration error 2021-01-26 16:11:41 +01:00
Carles Fernandez
720215af30
Avoid segmentation fault if the item_type for the signal source is mismatched with the input item size of the Signal Conditioner 2021-01-26 15:20:37 +01:00
Carles Fernandez
862bdeea5c
Avoid segmentation fault if the Tracking item_type is not defined for the given implementation 2021-01-26 14:01:28 +01:00
Carles Fernandez
ed5975d968
Merge branch 'coverity-fix' into improve-flowgraph 2021-01-25 13:37:05 +01:00
Carles Fernandez
2f627581ef
Fix error handling issues detected by Coverity Scan 2020.09 2021-01-25 13:35:47 +01:00
Carles Fernandez
cd1c9e46ba
Add some basic configuration checks
Avoid some segmentation faults caused by ill-formatted configuration files
2021-01-25 00:49:36 +01:00
Carles Fernandez
a21c60ecb2
Improve error handling when the flow graph fails to start
Avoid segmentation faults due to some common inconsistencies in the configuration file
E.g.: non-existing names for blocks implementation, some mismatched input/output item sizes

Provide hints to the user on how to fix the configuration in case of failure when starting the flow graph
2021-01-24 01:49:16 +01:00
Carles Fernandez
268fc1215c
Refactor private implementation of flowgraph connection and disconnection 2021-01-22 17:32:37 +01:00
Carles Fernandez
21352a80d1
Apply and add clang-tidy ckecks readability-make-member-function-const and readability-qualified-auto 2020-12-30 21:49:29 +01:00
Carles Fernandez
7308745f05
Apply more concise file header format
Re-license CMake scripts with BSD-3-Clause
2020-12-30 13:35:06 +01:00
Carles Fernandez
42efb68310
Fix building with new GNU Radio firdes API. No functional change, since WIN_HAMMING is the default 2020-12-19 12:40:57 +01:00
Carles Fernandez
bcd7c25cd1
Add Galileo E6 signal structure based on E6-B/C Codes Technical Note, Issue 1, Jan 2019.
Add Acquisition, Tracking and TLM blocks for Galileo E6 B/C. The decoder does nothing
2020-11-07 21:33:26 +01:00
Carles Fernandez
f0e1ef6f9a
Add a common shared pointer definition
Makes transition to GNU Radio 3.9 API less verbose
2020-11-03 20:51:57 +01:00
Carles Fernandez
287284261c
Make use of Doxygen grouping feature
Improve Modules page in generated HTML documentation
2020-11-01 13:37:19 +01:00
Josh Schindehette
a8b536b367 Fixed issues for cpplint, clang-format, and REUSE-compliance 2020-10-21 16:26:56 +02:00
Josh Schindehette
ed93af11ac Added acquisition and tracking monitors
Added acquisition and tracking monitors to view intermediate outputs of
GNSS-SDR from monitoring clients. Each monitor (acquisition, tracking,
original monitor, and pvt) pushes its data to a different UDP port.
2020-10-21 16:26:56 +02:00
Marc Majoral
6fcae1a917 start the DMA only when then the receiver is in post-processing mode 2020-09-10 12:23:53 +02:00
Marc Majoral
933873c265 When using the FPGA in post-processing mode, start the DMA after instantiating the complete flowgraph, not before. 2020-09-10 10:08:25 +02:00
Carles Fernandez
15428a47cc
Fix building with -DENABLE_CUDA=ON 2020-08-27 14:57:44 +02:00
Carles Fernandez
05b4575a5c
Fix acquisition resampler for other bands than L1 2020-08-14 11:13:43 +02:00
Carles Fernandez
11b499535e
Fix FPGA termination 2020-08-13 21:19:17 +02:00
Carles Fernandez
adcbacafb5
Make clang-tidy happy 2020-08-09 14:14:04 +02:00
Carles Fernandez
fd41eef1e0
Fix receiver termination when using the Osmosdr_Signal_Source implementation for the SignalSource block 2020-08-06 11:45:27 +02:00
Carles Fernandez
9e272da007
Set a unique Pass_Through block to the SignalConditioner if its implementation is set to Pass_Through, instead of three chained Pass_Through blocks. In that case, configuration for the DataTypeAdapter, Input filter and Resampler are ignored, but the user is still warned 2020-08-05 12:58:10 +02:00
Carles Fernandez
a144d52c74
Make declarations more readable
Remove unused parameters
2020-08-03 10:46:07 +02:00
Carles Fernandez
fccac672d8
Merge branch 'Telemetry_Decoder' of https://github.com/piyush0411/gnss-sdr into piyush0411-Telemetry_Decoder 2020-07-28 20:10:33 +02:00
Carles Fernandez
499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
piyush0411
2c2f034abd Connected Telemetry Decoder to GNSS Block Factory 2020-07-26 03:42:48 +05:30
Carles Fernandez
e53d1dcfd2
Merge branch 'Tracking' of https://github.com/piyush0411/gnss-sdr into piyush0411-Tracking 2020-07-21 08:21:09 +02:00
Carles Fernandez
8a06981c16
Improve const correctness 2020-07-20 01:20:15 +02:00