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

3899 Commits

Author SHA1 Message Date
Carles Fernandez
42be9f1a35
Fix C++ namespace in README 2021-05-21 22:48:27 +02:00
Carles Fernandez
dcb5daf9a8
Detect AVX512 on Darwin
See bc2846e78f
2021-05-21 22:47:33 +02:00
Carles Fernandez
08aea9aa5b
Detect Intel's Multi-Precision Add-Carry Instruction Extensions
See d35e2f38eb
2021-05-21 22:26:09 +02:00
Marc Majoral
12298ed931 fixed the Galileo E1 channel allocation when using the FPGA 2021-05-19 09:15:32 +02:00
Marc Majoral
8b21572331 code cleaning 2021-05-06 20:48:41 +02:00
Marc Majoral
a25ce40d54 added a signal in the FPGA to stop the receiver modules. 2021-05-06 20:38:22 +02:00
Carles Fernandez
e08a99e76f
Update gsl-lite to version 0.38.1 2021-04-23 15:38:23 +02:00
Carles Fernandez
16233d78cc
Apply minor cosmetic changes
Two blank lines within methods, for consistency with other files
2021-04-20 09:11:59 +02:00
Lenhart
8b6678ec98
removing c++14 digit seperator language feature 2021-04-19 21:21:34 +02:00
lenhart
95baa5f1c4
Merge branch 'next' into fifo_source 2021-04-19 16:07:06 +02:00
Lenhart
595733bf67
moved logging output from template fct in header to source file to not have to include logging in header. Added maybe_unused to constructor argument which is unused to fix warning 2021-04-19 16:05:53 +02:00
Carles Fernandez
f1d671ca8b
Merge branch 'rs-erasure' into next 2021-04-19 13:56:47 +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
dbc8ea18bf addressing feedback by @jwmelto
- documentation file name mismatch
- removed unnecc. headers
- changed std::cout to GLOG
- simlified read process for gr_complex data types
- seperated fifo end of file check from fail/other types (also added default case for unforseen events)
- changed vector to array for interleaved read fct

other changes:
- harmonized FIFO capitalization in docs
- changed gr_complex constructor. Real/Imaginary parts were swapped in upd source class used for reference. Not intuitive there though (swap= false will call constructor w/ (imag, real). Swapping should introduce just a phase shift, so it didn't break functionality for me either way.
2021-04-18 13:29:37 +02:00
Lenhart
2072197f0f header cleanup, added documentation comments 2021-04-17 22:51:34 +02:00
Lenhart
170e4666d1 overlooked one tab in a comment section which clang-tidy does not fix
this should fix the failing clang-tidy check
2021-04-17 19:40:57 +02:00
Lenhart
aaa0e09c1d added ishort support into custom_udp_signal_source. removed redundant switch block, made overflow events less confusing with number 0 and added explanation to startup 2021-04-17 18:55:20 +02:00
Lenhart
de57a26312 renamed is_complex to is_interleaved to better describe behavior, modernized c-style cast, fixed typo 2021-04-17 18:55:20 +02:00
Lenhart
f9da05c783 added missing std:: as suggested by clang-tidy 2021-04-17 18:55:20 +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
5f1268959e
Workaround for volk-gnsssdr-windows CI job 2021-04-17 14:10:14 +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
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
13a83092da
Fix warning -Wunused-private-field raised by clang 2021-04-04 11:01:14 +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
ac6d7feeab
Fix clang-format job 2021-03-14 22:17:22 +01:00
Carles Fernandez
9e1ee33cd2
Add multiple RF output capability to LabSat 3 Wideband format 2021-03-14 20:00:18 +01:00
Marc Majoral
4141164fac fixed FPGA dual-band post-processing mode. 2021-03-12 18:01:25 +01:00
Carles Fernandez
32c699befc
Add LabSat 3 Wideband format to Labsat_Signal_Source 2021-03-11 22:13:23 +01:00
Carles Fernandez
43a956a814
Merge branch 'fix_fpga_signal_source' of https://github.com/mmajoral/gnss-sdr into mmajoral-fix_fpga_signal_source 2021-03-05 19:14:38 +01:00
Marc Majoral
27470787a0 proper initialization of samples_to_skip_. Change samples_ from uint64_t to int64_t for the proper checking of the number of samples to process. 2021-03-05 19:02:40 +01:00
Carles Fernandez
3ee671b225
Detect Zen 3 (K19) CPUs 2021-03-03 19:56:05 +01:00
Carles Fernandez
a669ecbfa3
Include UHD path in the public interface of signal_source_adapters (fixes: #481) 2021-02-27 11:12:33 +01:00
Carles Fernandez
2e1e3b6308
Silence clang-tidy check 2021-02-24 12:09:13 +01:00
Carles Fernandez
5d78b87dbb
Apply clang tidy checks: readability-isolate-declaration, readability-inconsistent-declaration-parameter-name 2021-02-24 12:08:10 +01:00
Carles Fernandez
dd60bcf986
Replace usage of BOOST_FOREACH macro by a C++ range for 2021-02-24 11:54:57 +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
c2223e3dad
Create a base class for Gnss almanacs, unify parameter names 2021-02-23 11:57:24 +01:00
Carles Fernandez
489da500a1
Merge branch 'fix_FPGA_post_processing_mode' of https://github.com/mmajoral/gnss-sdr into mmajoral-fix_FPGA_post_processing_mode 2021-02-22 18:52:37 +01:00
Carles Fernandez
146e1d7a63
Update .proto files for GPS and Galileo ephemeris data 2021-02-22 13:42:54 +01:00
Carles Fernandez
2e53289653
Add more consistency in parameters name 2021-02-21 10:56:56 +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
Marc Majoral
79c968f279 modified some comments 2021-02-19 16:34:49 +01:00
Marc Majoral
f85a653285 stop the receiver in a controlled way on EOF or error condition.
+ add support for the following signal source configuration options: samples, repeat, seconds_to_skip, header_size
+ remove unused header files
2021-02-19 13:03:22 +01:00
Marc Majoral
b06722062d removed unused header files 2021-02-18 18:46:59 +01:00
Carles Fernandez
8e23c60fca
Do not warn users twice about the overflow
clang-tidy checks applied: modernize-redundant-void-arg, performance-unnecessary-value-param
2021-02-18 13:17:46 +01:00
Carles Fernandez
29e3e120be
Merge branch 'mmajoral-fix_fpga_buff_mon' into next 2021-02-18 13:01:53 +01:00
Carles Fernandez
6c5f26fcf7
Avoid no symbols warning in MacOS 2021-02-18 13:01:48 +01:00
Marc Majoral
e4de9c54de do not stop the receiver when buffer overflow is detected. 2021-02-18 12:32:44 +01:00
Carles Fernandez
73a728b3f6
Merge branch 'feature/signal_source_interface' of https://github.com/jwmelto/gnss-sdr into jwmelto-feature/signal_source_interface 2021-02-18 09:03:03 +01:00
Carles Fernandez
9403560427
Return back init() to connect() 2021-02-17 22:13:20 +01:00
Carles Fernandez
03e53477c7
Apply some mostly cosmetic changes
This is not so cosmetic: Moved init() chores from connect() to the constructor for consistency with other implementations. Not relevant here since files are not processed in real-time, but is it common practice in other blocks to set everything needed (and get all the resources) in the constructor, before connect()

Moved the constructor code to the top of the file, also for consistency with other files. This is an opinionated practice, I know, since one could expect the same order than in the header file.

Improved comment formatting for Doxygen

Added and removed some blank lines to match the style of other files (two blank lines within method implementations, no two consecutive blank lines inside the method. Again opinionated, but for the sake of consistency.

Included the <tuple> library (include what you use)
2021-02-17 22:07:22 +01:00
Jim Melton
704b99e633
another MacOS property ambiguity ... ARRRGGGHHH 2021-02-17 13:40:04 -07:00
Jim Melton
c221fd1c87
update copyright and move risky initializer into ctor body 2021-02-17 12:54:10 -07:00
Carles Fernandez
6d41fc8fb2
Fix Multichannel_File_Signal_Source
The constructor was not getting right the SignalSource.RF_channels value (role was moved before, so it was unusable)
2021-02-17 13:50:45 +01:00
Carles Fernandez
f703990a09
Fix building when using C++11
Update changelog
2021-02-17 09:43:05 +01:00
Carles Fernandez
0f735814df
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2021-02-16 18:34:31 +01:00
Javier Arribas
8ba3cfa86f Send monitor ephemeris even in the case that it is not enabled the RINEX writter 2021-02-16 17:54:38 +01:00
Carles Fernandez
a7699c2050
Fix file headers 2021-02-16 17:15:48 +01:00
Carles Fernandez
3b3beb099a
Fix clang-tidy job, update headers 2021-02-16 17:00:22 +01:00
Carles Fernandez
19c03edf1f
Update file header 2021-02-16 16:42:10 +01:00
Carles Fernandez
060e276414
Merge branch 'buffer_monitor' of https://github.com/mmajoral/gnss-sdr into mmajoral-buffer_monitor 2021-02-16 16:11:15 +01:00
Jim Melton
ec7b4cc537
clang-tidy : change '1u' to '1U' 2021-02-16 00:34:49 -07:00
Jim Melton
a8959bdd87
more clang-tidy cleanup/suppression 2021-02-15 22:56:30 -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
35f07b76a0
the Mac compiler is really annoying (and not that arguably correct...) 2021-02-15 18:37:38 -07:00
Jim Melton
957a13e6ef
fix MacOS ambiguity error 2021-02-15 17:51:42 -07:00
Jim Melton
6e04a42c8a
clang-format
This was much worse than I thought. I had run clang-format at some point, but
apparently I subsequently made some non-compliant changes in pretty much every
file I touched.
2021-02-15 15:34:48 -07:00
Marc Majoral
440e8f1b3c log FPGA buffer overflow with severity level ERROR + add some comments. 2021-02-15 22:27:03 +01:00
Jim Melton
41c7a7ad7d
fix whitespace 2021-02-15 13:46:12 -07:00
Marc Majoral
b279c3bcbd replace exception by receiver stop command 2021-02-15 21:44:05 +01:00
Jim Melton
75483e1d2d
refactor two_bit_packed_file_signal_source
(signed for DCO)
2021-02-15 13:15:50 -07:00
Jim Melton
353680bc99 add 2bit_cpx file source 2021-02-15 11:47:13 -07:00
Jim Melton
4399aa5d10 next round of abstraction. Add nsr_file_signal_source 2021-02-15 11:47:13 -07:00
Jim Melton
c8ecc907c9 save before checkin 2021-02-15 11:47:13 -07:00
Jim Melton
1854cec106 first subclass of file_source_base
Refactored the base implementation to add appropriate virtual hooks so subclasses
can easily extend without duplicating a lot of code.
2021-02-15 11:47:13 -07:00
Jim Melton
a3c9dd4325 remove commented code 2021-02-15 11:47:13 -07:00
Jim Melton
4282386a30 simplify get_right_block() 2021-02-15 11:47:13 -07:00
Jim Melton
e0eb4bd769 initial implementation of common file source base class
Only the file_signal_source uses it at this time; changing multi-channel
to use it can be done with a little work
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
Javier Arribas
39031b24ac Completing UDP GPS and Galileo ephemeris server 2021-02-15 15:58:38 +01:00
Marc Majoral
c0e4b2aee5 dump the buffer monitor results to a file 2021-02-15 11:53:16 +01:00
Javier Arribas
1721431010 Adding GPS and Galileo protobuf serdes 2021-02-15 10:56:30 +01:00
Marc Majoral
d8c41a7171 removed whitespace 2021-02-14 13:40:52 +01:00
Marc Majoral
a3d2763970 removed header file 2021-02-13 17:29:30 +01:00
Marc Majoral
03e8f97d2e real-time FPGA receiver buffer monitoring 2021-02-13 17:10:43 +01:00
Carles Fernandez
10fc0eb62e
Fix -Wsign-compare warning 2021-02-11 13:45:55 +01:00
Carles Fernandez
16dd5ec241
Apply clang-tidy check: readability-string-compare 2021-02-11 13:37:32 +01:00
Marc Majoral
915c2859f2 Use the Galileo E1 FPGA tracking multicorrelators for the GPS L1 C/A channels if not enough GPS L1 C/A tracking multicorrelators are present in the FPGA. This selection is done automatically only if the GPS L1 C/A channels are assigned to the GPS L1 C/A FPGA tracking multicorrelators (this may not be the case when testing).
+ renamed the device name variables.
2021-02-10 18:43:11 +01:00
Carles Fernandez
ba89685ce6
Remove wrong error message 2021-02-09 11:34:07 +01:00
Carles Fernandez
2a82c27954
Fix linking for std::filesystem in GCC 8 2021-01-31 14:13:25 +01:00
Carles Fernandez
3c17f0a9a7
Fix defect detected by Coverity Scan (uninitialized scalar variables) 2021-01-29 14:01:21 +01:00
Carles Fernandez
c7887a03e5
Fix defects detected by Coverity Scan 2021-01-28 20:14:00 +01:00
Carles Fernandez
bd87e4e9b7
Fix warning -Wstringop-truncation raised by GCC 11 2021-01-28 14:09:33 +01:00
Carles Fernandez
c5916d05c3
Fix warning Wstringop-overread raised by GCC 11 2021-01-28 13:56:30 +01:00
Carles Fernandez
5d42f1e14c
Extend segfault fix when RINEX output is disabled for other signals than GPS L1 2021-01-27 12:47:13 +01:00
Stefan van der Linden
a07217d34f Fixed segfault when rinex output is disabled 2021-01-27 11:12:45 +01: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