Commit Graph

1632 Commits

Author SHA1 Message Date
Carles Fernandez 3dbb632bf5
Fix CRC computation for Galileo E6B signals 2021-06-02 14:09:10 +02:00
Javier Arribas 9802ac8af0 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-04-28 11:05:10 +02:00
lenhart 95baa5f1c4
Merge branch 'next' into fifo_source 2021-04-19 16:07:06 +02:00
Javier Arribas 261a9ae264 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-04-19 15:23: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
Javier Arribas 5c3134dbde Move External TimeTag propagation to the time counter channel. PVT OBS timestamp comarison completed 2021-04-19 12:27:02 +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
Javier Arribas e7a8bf36c9 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-04-12 11:03:25 +02:00
Carles Fernandez 765d547e3b
Store RS data in a single buffer 2021-04-12 10:46:17 +02:00
Javier Arribas 7bf008c22c Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-04-12 10:18:19 +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
Javier Arribas c1880d1ece Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-04-07 14:52:59 +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
Javier Arribas 42bece2dd4 Added experimental FileTimestampSignalSource to generate timestamp information using stream tags 2021-03-11 16:31:02 +01:00
Javier Arribas 933d3b3228 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-03-11 10:07:05 +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
Javier Arribas ccc41b3851 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-02-24 11:41:34 +01:00
Javier Arribas 56943fc12d Merge with next and enabling KF VTL experimental tracking 2021-02-24 11:41:27 +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
Javier Arribas 5dd34b5e1b Merge with next 2021-01-27 10:21:16 +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
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 7f23b6d88b
Use C++ cast insted of C-style cast 2021-01-26 11:58:46 +01:00
Carles Fernandez ecf20d38d6
Merge branch 'clang-tidy-fgpa' into next 2021-01-25 22:17:08 +01:00
Carles Fernandez d6d1fff743
Apply clang-tidy fixes when -DENABLE_FPGA=ON 2021-01-25 22:07:59 +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
Javier Arribas b1fee5c9bc Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime 2021-01-22 17:34:46 +01:00
Carles Fernandez 268fc1215c
Refactor private implementation of flowgraph connection and disconnection 2021-01-22 17:32:37 +01:00
Carles Fernandez 3773f3c71a
Do not apply clang-tidy fixes to protobuf-generated headers 2021-01-18 16:00:33 +01:00
Carles Fernandez 1287e8fe79
Improve handling of the filesystem library 2021-01-16 14:37:19 +01:00
Carles Fernandez 4fea48f603
Improve handling of change in GNU Radio 3.9 FFT API
Fix compilation of some optional blocks when linking against GR 3.9

Fix warning -Wembedded-directive: embedding a directive within macro arguments has undefined behavior
2021-01-15 13:39:26 +01:00
Carles Fernandez ede02f91df
Update references to new GPS ICDs (add missing file) 2021-01-12 10:46:38 +01:00
Carles Fernandez ddc5bcff01
Update references to new GPS ICDs 2021-01-12 10:34:55 +01:00
Carles Fernandez 8b918b4f87
Update links to new Galileo ICD v2.0 in docs 2021-01-12 00:04:28 +01:00
Javier Arribas 7436b7df5e Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2021-01-11 10:36:52 +01:00
Carles Fernandez 25787deca7
Fix assert 2021-01-07 17:25:36 +01:00
Javier Arribas 738ab13535 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2021-01-01 14:22:43 +01:00
Carles Fernandez 89ec03ecbe
Apply clang-tidy ckecks readability-make-member-function-const and readability-qualified-auto 2020-12-30 22:04:10 +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 56fb6528b2
Add missing type conversion 2020-12-29 14:49:52 +01:00
Carles Fernandez 0cb64e86a5
Avoid using reserved identifiers in the SUPL library (clang-tidy check: bugprone-reserved-identifier) 2020-12-29 14:48:41 +01:00
Carles Fernandez 303de4c9cf
Save some static casts 2020-12-22 10:59:13 +01:00
Carles Fernandez 5855feb511
Merge branch 'fix-galileo2' into next 2020-12-21 23:48:40 +01:00
Carles Fernandez 94e488170a
Fix Galileo nav message decoding in some configurations 2020-12-21 15:13:02 +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
Javier Arribas bb256c0650 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2020-12-01 12:51:34 +01:00
Carles Fernandez 14147cce32
Add doxygen group 2020-11-29 13:41:30 +01:00
Carles Fernandez 821223aff0
Fix clang-format 2020-11-29 13:09:27 +01:00
Carles Fernandez 38cd7237dc
Improve computation of satellite position and velocity in ephemeris classes 2020-11-29 12:08:23 +01:00
Carles Fernandez c9dc767c96
Fix includes 2020-11-29 11:49:19 +01:00
Carles Fernandez 8b3a77cdb4
Fix building if ENABLE_AD9361=ON bu ENABLE_FPGA=OFF 2020-11-29 10:18:35 +01:00
Carles Fernandez 77d58e1630
Replace the use of dirent.h by C++ standard libraries 2020-11-28 12:14:21 +01:00
Marc Majoral 5114d91ffc replaced tabs with spaces 2020-11-27 13:49:14 +01:00
Marc Majoral 312e8c6c9c cleaned comments 2020-11-27 12:21:10 +01:00
Marc Majoral a53109c718 The sample counter, the Acquisition and the Switch determine the uio device file that is assigned to them using the hardware accelerator device name in the FPGA 2020-11-26 17:07:15 +01:00
Javier Arribas f78512462f Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2020-11-23 10:58:53 +01:00
Carles Fernandez 79d846d21a
Clang-format fixes 2020-11-21 20:26:43 +01:00
Carles Fernandez 0d1d89b8db
Do not shadow variable 2020-11-19 14:03:04 +01:00
Carles Fernandez 6b28ef9e7c
Apply clang-tidy fix (warning: use range-based for loop instead [modernize-loop-convert]) 2020-11-19 14:01:35 +01:00
Javier Arribas 8ae3d942d3 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2020-11-18 10:06:23 +01:00
Carles Fernandez 40e9d687dd
Add missing include 2020-11-17 21:55:32 +01:00
Carles Fernandez cf9c080169
Add logic for HAS message reading 2020-11-17 19:22:32 +01:00
Javier Arribas 426d3bcb14 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2020-11-16 10:14:53 +01:00
Carles Fernandez 02b0fbed2e
Merge branch 'fix-format' into next 2020-11-15 20:21:12 +01:00
Javier Arribas 4bfcdbfcf1 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2020-11-11 10:21:55 +01:00
Carles Fernandez d1b23ae3fd
Add logic for HAS message retrieval 2020-11-10 21:20:13 +01:00
Javier Arribas 85df05b96b Merge with next 2020-11-10 12:24:31 +01:00
Carles Fernandez 76bbd3c3bb
Add work on the Galileo E6 message decoding up to HAS page CRC check 2020-11-08 14:10:43 +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 f24064e245
Fixes for changed behavior of clang-format 2020-11-06 10:41:20 +01:00
Javier Arribas 3bd0b07965 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2020-11-04 09:35:31 +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
Javier Arribas 856859af01 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into vtl_experimental 2020-10-21 15:43:09 +02:00
Javier Arribas 1c09f6b8a5 First working version of a complete 5 state Kalman filter for both carrier and code tracking, tested with GPS L1 CA 1ms integration. 2020-09-21 21:34:39 +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 4877ffff80
Update GPS satellite blocks 2020-08-21 00:30:03 +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 5713d8b2ad
Make clang-tidy happy 2020-08-09 14:03:53 +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 47f6855610
Give more intuitive naming to asynchronous message handlers 2020-08-03 08:13:21 +02:00
Carles Fernandez 89c7598be4
Rename the Galileo_Navigation_Mesaage class to Galileo_Inav_Message for consistency 2020-07-28 21:27:46 +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
Carles Fernandez b33d7ba739
Improve wording 2020-07-28 10:51:45 +02:00
piyush0411 2c2f034abd Connected Telemetry Decoder to GNSS Block Factory 2020-07-26 03:42:48 +05:30
piyush0411 ea664c9fd2 Minor additions 2020-07-25 18:18:13 +05:30
piyush0411 fa9abed435 Added missing parameter 2020-07-25 02:56:14 +05:30
Carles Fernandez 945c86a4c4
Avoid code duplication 2020-07-21 13:56:01 +02:00
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
Carles Fernandez 6d510a62bf
Fix bugprone conversion warning 2020-07-19 14:49:12 +02:00
Carles Fernandez 4ab7690085
Fix bug in GLONASS year computation (Fixes: #347) 2020-07-19 14:44:18 +02:00
Carles Fernandez 52980978f5
Improve const correctness 2020-07-19 14:26:15 +02:00
Carles Fernandez c0f81dd9e2
Improve const correctness. Improve usage of typeid 2020-07-19 09:39:32 +02:00
Carles Fernandez 8666ff7706
Include what you use 2020-07-14 20:12:08 +02:00
piyush0411 e4cc3d4a2b Connected Tracking to GNSS Block Factory 2020-07-14 04:15:07 +05:30
Carles Fernandez 142fd8a3cb
Remove unused lines 2020-07-13 16:08:00 +02:00
Carles Fernandez 0178a394bb
Fix variable name 2020-07-13 15:44:07 +02:00
Carles Fernandez 9b7ec42e06
Sort optional blocks 2020-07-13 15:38:29 +02:00
Carles Fernandez 7a64f53ddf
Avoid redundancy, and possible errors, in block factory public API 2020-07-13 15:17:15 +02:00
Carles Fernandez 540e8efa55 Resolve conflicts 2020-07-13 12:24:27 +02:00
Carles Fernandez 6f01c0e71e
Merge branch 'piyush0411-Acquisition' of https://github.com/carlesfernandez/gnss-sdr into simple-factory 2020-07-13 11:02:44 +02:00
Carles Fernandez 7a07a45693
Merge branch 'Acquisition' of https://github.com/piyush0411/gnss-sdr into piyush0411-Acquisition 2020-07-13 10:19:23 +02:00
Carles Fernandez 97eacce237
Some minor edition 2020-07-13 10:18:24 +02:00
Carles Fernandez 7fc0cec60c
Simplify block factory
Avoid duplication of code
2020-07-12 23:08:58 +02:00
Carles Fernandez da9795c7a1
Update BeiDou satellite list 2020-07-12 13:56:36 +02:00
Carles Fernandez c178d9a8a6
Remove Armadillo from Pvt_Solution API
Some API cleaning. The user does not need to call cart2geo anymore. Armadillo stuff moved to old ls_pvt solution
2020-07-12 12:42:06 +02:00
Carles Fernandez 200a5b8cd4
Fixes for the new signature, fix bugprone-* warnings, fix typo in block factory 2020-07-11 13:06:32 +02:00
Carles Fernandez 0883e13a51
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into piyush0411-Acquisition 2020-07-11 12:11:10 +02:00
Carles Fernandez c097300106
Add missing constant 2020-07-11 12:10:34 +02:00
Carles Fernandez 8b841215b7
Fix conflicts 2020-07-11 12:09:19 +02:00
Carles Fernandez e13d0c2b76
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into piyush0411-Acquisition 2020-07-11 11:37:54 +02:00
Carles Fernandez 33cee4a759
Remove all warnings raised by bugprone-* clang-tidy checks in acquisition adapters 2020-07-10 13:35:15 +02:00
Carles Fernandez c04948fd02
Reduce number of warnings raised by bugprone-* clang-tidy checks 2020-07-10 00:37:55 +02:00
Carles Fernandez 09bcd1981c Replace std::endl by \n character. There is no need to always flush the stream. 2020-07-07 18:53:50 +02:00
Carles Fernandez 58853ace7d
Implement GNSS-SDR.GPS_banned_prns, GNSS-SDR.Galileo_banned_prns, GNSS-SDR.Glonass_banned_prns, and GNSS-SDR.Beidou_banned_prns configuration parameters. The user can specify lists of satellites that will not be processed (e.g. GNSS-SDR.Galileo_banned_prns=14,18 since Galileo E14 and E18 satellites are not usable for PVT). Documented at https://gnss-sdr.org/docs/sp-blocks/global-parameters/\#banned-satellites Inspired by #397 2020-07-07 00:05:31 +02:00
Carles Fernandez aca0330325
Include what you use 2020-07-05 23:07:41 +02:00
Carles Fernandez 996ff3ea4d
Fix gcc warning: type qualifiers ignored on cast result type 2020-07-05 20:51:25 +02:00
Carles Fernandez d3b7557dcf
Sort constants
no more GPS_L1_PI, GPS_L2_PI, etc. Values are written in a single point.
2020-07-05 20:20:02 +02:00
Carles Fernandez 1e742afbc4
Sort constants, avoid duplication of Galileo physical constants 2020-07-04 19:13:42 +02:00
Carles Fernandez bb540c7b48
Replace const std::string by constexpr char 2020-07-03 11:36:38 +02:00
Carles Fernandez 14d1152eda
Make constants constexpr, so they can be used at compile time 2020-07-01 19:39:25 +02:00
Carles Fernandez 98bea8292c
Do not stop the receiver if SysV message queues can't be created 2020-06-30 10:41:59 +02:00
Carles Fernandez eaf80314d7
Make use of std::make_unique 2020-06-30 10:29:39 +02:00
Carles Fernandez 2b3d4b321d
Make the adapters take the configuration pointer as const 2020-06-29 09:07:41 +02:00
Carles Fernandez a01dfa4052
Fix clang-format and clang-tidy jobs 2020-06-27 11:52:59 +02:00
Carles Fernandez c784dfe125
Fix a bug that could cause a crash on receiver stopping
If a channel event was happening after flowgraph stop and before flowgraph disconnection, it caused a crash. This was avoided by sleeping the control thread during 500 ms after disconnection and before the block destructors were called, so the event could be processed, but this was not a robust solution.
2020-06-27 09:52:59 +02:00
Carles Fernandez 9310bd8460
Sort private members in headers 2020-06-27 09:25:04 +02:00
Carles Fernandez 5a3db5a53d
Add debug internal logging for destructors. Sort destructor order 2020-06-25 02:50:07 +02:00
Carles Fernandez df7c466de0
Sort data members in headers 2020-06-24 22:27:51 +02:00
Carles Fernandez 3fcc7b7f85
Remove unused data member 2020-06-24 11:45:01 +02:00
Carles Fernandez ba022cc5f7
Improve consistency of CMake scripts 2020-06-24 11:42:45 +02:00
Carles Fernandez b5c2367788
Merge branch 'Acquisition' of https://github.com/piyush0411/gnss-sdr into piyush0411-Acquisition 2020-06-23 11:47:24 +02:00
Carles Fernandez bcd5bfa6ff
Indicate that the property method of configuration is a getter 2020-06-23 11:05:31 +02:00
piyush0411 8904eab576 Added unit-test 2020-06-23 14:24:51 +05:30
Carles Fernandez 037a1fcb5f
Improve headers, large data members first. Improve nav message interfaces 2020-06-23 09:47:58 +02:00
Carles Fernandez 92f013c6b9
Improve consistency of variable naming
block_factory_ is not a data member, replaced by block_factory
2020-06-21 23:07:31 +02:00
piyush0411 c05129574c Fixed an error 2020-06-21 01:55:44 +05:30
Carles Fernandez afa16c6769
Remove sleeps 2020-06-20 22:18:38 +02:00
Carles Fernandez 0d5b5894b4
Sort header files 2020-06-19 12:39:28 +02:00
Carles Fernandez eea1afea18
Merge branch 'next' into Acquisition 2020-06-18 19:48:53 +02:00
Carles Fernandez 81af1a531b
Redesign of pointer management
Avoid indirection caused by passing shared_ptr by reference

The block factory does not have responsability on the lifetime of their inputs

Define std::make_unique when using C++11 and make use of it

Printers are turned into unique_ptr to express ownership

Printers do not participate on the lifelime of the data, so they take const raw pointers

Modernize tests code
2020-06-18 11:49:28 +02:00
Carles Fernandez 3beb1e98af
Use lambdas if possible.
Fine tuning in CMake scripts
2020-06-15 19:23:59 +02:00
piyush0411 ff7affb666 Fixed some errors and typos 2020-06-15 18:26:07 +05:30
piyush0411 1935e46950 Updated GNSS Flowgraph 2020-06-14 21:18:36 +05:30
piyush0411 da3794dc67 Modified Galileo_E5b.h file 2020-06-14 21:15:53 +05:30
Carles Fernandez bd4a354f9a
Fix ENABLE_CLANG_TIDY option 2020-06-14 13:00:36 +02:00
Carles Fernandez ae50ebbaa5
Prefer use of CMAKE_SOURCE_DIR 2020-06-13 21:15:47 +02:00
Carles Fernandez ee84f60fb4
Simplify CMake scripts 2020-06-13 10:56:49 +02:00
Carles Fernandez 0df4277d36
Unify criteria in target definitions, more informative names 2020-06-13 00:32:40 +02:00
Carles Fernandez 226689c359
Use target_compile_options instead of CMAKE_C_FLAGS 2020-06-12 22:47:35 +02:00
Carles Fernandez c2c701d885
Fix warning in CMake < 3.13 2020-06-12 22:33:00 +02:00
piyush0411 2706c5bc5c Updated GNSS Block Factory 2020-06-12 17:37:36 +05:30
Carles Fernandez 034d25c8d3
Do not emit warnings due to Protocol Buffers generated code 2020-06-11 15:16:40 +02:00
Carles Fernandez 34a250246a
Simplify initializations in system_parameters library 2020-06-10 10:15:59 +02:00
Carles Fernandez 950006ddee
Fix warning in gcc 10: avoid undefined behavior in move assignment operator 2020-06-09 14:11:18 +02:00
Carles Fernandez 2a3d682f1f
Make use of target_sources(), make use of target propagation to reduce redundancy in dependencies, some fixes for Clang and CMake < 3.11. Use generic lambdas with auto 2020-06-08 20:04:01 +02:00
Carles Fernandez 4913756a05
Replace <boost/bind.hpp> by <boost/bind/bind.hpp> 2020-06-06 23:41:38 +02:00
Carles Fernandez 4635b307d8
Add Galileo_E5b.h to the headers list 2020-05-30 08:48:54 +02:00
Carles Fernandez dd725918de
Merge branch 'Galileo_E5b' of https://github.com/piyush0411/gnss-sdr into piyush0411-Galileo_E5b 2020-05-28 21:54:34 +02:00
piyush0411 f79a840ef7 Changed Copyright Information. 2020-05-27 20:08:04 +05:30
piyush0411 7fc426e20a Added System Parameters File 2020-05-27 09:21:59 +05:30
Carles Fernandez f731a7c0f1
Fix for Boost >= 1.73 in old compilers 2020-05-18 22:50:34 +02:00
Carles Fernandez 1077970962
Revert "Fix for Boost < 1.60"
This reverts commit 832c2558c6.
2020-05-18 21:36:22 +02:00
Carles Fernandez 832c2558c6
Fix for Boost < 1.60 2020-05-18 19:55:44 +02:00
Carles Fernandez b408a2ef29
Fix for Boost 1.73: qualify placeholders with their full namespace 2020-05-18 18:58:39 +02:00
Carles Fernandez 35ee34673a
Fix signature of copy and move operators 2020-05-16 14:39:34 +02:00
Carles Fernandez c27622a738
Fixes for old GCC 2020-04-26 12:28:24 +02:00
Carles Fernandez 6de4d28ab1
Ignore modernize-avoid-bind clang-tidy fix 2020-04-26 11:07:19 +02:00
Carles Fernandez 9c9a7b5bc6
Use lambda instead of boost::build when genenic lambdas are available in the compiler 2020-04-25 22:17:15 +02:00
Carles Fernandez b9c84a451e
Improve internal handling of Gnss_Synchro objects
Added noexcept move constructor and move assignment operator.
Small refactor of includes
2020-04-25 16:08:33 +02:00
Carles Fernandez ec3c868625
Fixes a bug in GLONASS GNAV CRC computation (Fixes: #349) 2020-04-10 13:44:45 +02:00
Carles Fernandez 865a54ddff
Apply clang-format 2020-04-03 00:17:22 +02:00
Carles Fernandez 3519107131
Add compatibility with the new GNU Radio 3.9 API that uses C++11 standard smart pointers instead of Boost smart pointers 2020-04-02 23:59:35 +02:00
Carles Fernandez 5f974a8f17
Replace boost::shared_ptr by std::shared_ptr 2020-04-02 13:23:20 +02:00
Carles Fernandez 299cb1a2ee
Remove usage of uninitialized variables in CMake scripts
Remove all warnings emitted by cmake --warn-uninitialized ..
2020-02-29 14:33:09 +01:00
Carles Fernandez c470d43432
Fix shadowed variables
See MISRA C++:2008, 2-10-2 - Identifiers declared in an inner scope shall not hide an identifier declared in an outer scope
and https://rules.sonarsource.com/cpp/RSPEC-1117\?search\=shadow
2020-02-26 22:40:00 +01:00
Carles Fernandez 538c1e6182 Fix shadowed variables 2020-02-26 18:16:04 +01:00
Carles Fernandez 2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez 955348b080
Remove trailing underscore in header guards 2020-02-08 10:10:46 +01:00
Carles Fernandez 4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/)
Update license headers to SPDX format (see https://spdx.org/)
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez fe9c7224f6 Initialize parameter 2020-02-06 12:11:22 +01:00
Carles Fernandez d6ec2a7b2c
Update links (mainly from http to https, fix broken links) 2020-02-05 21:24:46 +01:00
Carles Fernandez 6c5a5c7aee
Update broken links 2020-02-01 13:57:10 +01:00
Carles Fernandez 435f3641e0
clang-format fixes 2020-01-26 22:33:03 +01:00
Carles Fernandez 9023f19794
Use C++ comments for final #endif in headers 2020-01-26 22:23:22 +01:00
Carles Fernandez 664ad05bec
Update references and links to ICDs 2020-01-25 13:42:55 +01:00
Carles Fernandez dc3bf0172a
Update references and links to ICDs 2020-01-25 13:07:03 +01:00
Carles Fernandez 97c8c66755
Fix file name in header 2020-01-21 10:26:03 +01:00
Carles Fernandez 492a1185ff
Fix file name on header 2020-01-20 21:04:26 +01:00
Carles Fernandez bc9725c745
Simplify cmake scripts, fix volk_gnsssdr cross-compilation, update ProtocolBuffers to 3.11.2 2020-01-13 01:49:00 +01:00
Carles Fernandez 510a3a15ba Update BeiDou satellite names 2019-11-05 14:47:27 +01:00
Carles Fernandez 74f6c2e115 Fix reading of Delta_n parameter. Fixes #322 2019-10-23 13:20:14 +02:00
Carles Fernandez 9e79bb4b8f Fix bug in Beidou nav message. Fixes #320 2019-10-23 11:16:32 +02:00
Carles Fernandez 7126185515
Add and apply readability-braces-around-statements check 2019-10-11 19:24:20 +02:00