1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-15 14:25:00 +00:00
Commit Graph

5326 Commits

Author SHA1 Message Date
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
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
0e9046c956
Raise an error if GPSTK is to be built but the patch command is not found 2021-01-16 10:51:38 +01:00
Carles Fernandez
11f13ebcab
Fix building in modern environments 2021-01-15 15:03:36 +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
Carles Fernandez
603cab1ead
Fix clash of the cpu_features library when volk_gnsssdr is built as a standalone library, and cpu_features was already installed by VOLK
Added new building option ENABLE_OWN_CPUFEATURES, set to ON when building gnss-sdr but set to OFF when building volk_gnsssdr standalone.
The default does no change old behavior when buiding gnss-sdr without volk_gnsssdr already installed
2021-01-11 13:57:29 +01:00
Carles Fernandez
7102677358
Bump version number 2021-01-07 19:16:54 +01:00
Carles Fernandez
25787deca7
Fix assert 2021-01-07 17:25:36 +01:00
Carles Fernandez
ea86fb74b3
Fix for Ubuntu 19.04 2021-01-06 13:42:48 +01:00
Carles Fernandez
6b1ab274b1
Fix for GCC < 5.0 2021-01-05 10:53:32 +01:00
Carles Fernandez
68fdedb224
Remove _mm256_zeroupper() calls
Manual usage of _mm256_zeroupper() is not required and leads to miscompilation with GCC 10.2 and optimization level -O3
2021-01-04 14:07:56 +01:00
Carles Fernandez
cbdb2ad2e9
Enforce consistent function prototypes 2021-01-04 13:55:18 +01:00
Carles Fernandez
0b1602a5a8
Fix clang-format job 2020-12-31 01:15:16 +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
3a2b76d61a
Warn about undefined Galileo frame type 2020-12-29 15:13:42 +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
abd1032ca2
Avoid using reserved identifiers 2020-12-29 14:47:28 +01:00
Carles Fernandez
36e98856d5
Update AArch64 features to Linux 5.10 2020-12-23 12:26:08 +01:00
Carles Fernandez
303de4c9cf
Save some static casts 2020-12-22 10:59:13 +01:00
Carles Fernandez
3bcac95964
Fix occasional segfault when exiting with enter+q if Acquisition_XX.blocking=false 2020-12-22 00:40:36 +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
Carles Fernandez
a9de3d4244
Fix detection of python when using Macports 2020-12-18 13:11:26 +01:00
Carles Fernandez
8f3e60091b
Avoid patching GPSTk twice when rebuilding 2020-12-18 12:51:45 +01:00
Carles Fernandez
882216aa55
Merge branch 'liu000888-bdgsv' into next 2020-12-09 14:47:16 +01:00
Carles Fernandez
d70aca5fc0
Initialize all members 2020-12-09 14:44:57 +01:00
Carles Fernandez
2b5b1d10ad
Revert change of std::thread, since it is not working well in some configurations 2020-12-09 14:44:25 +01:00
Carles Fernandez
711de48d7f
Merge branch 'bdgsv' of https://github.com/liu000888/gnss-sdr into liu000888-bdgsv 2020-12-07 19:01:43 +01:00
TurbineEngine
777e8aa0e1 add BDGSA and BDGSV nmea messages 2020-12-07 19:35:17 +08:00
Carles Fernandez
e981b1ea89
Merge branch 'orc' into next 2020-12-02 16:20:32 +01:00
Carles Fernandez
fdda4edffb
Improve handling of the ORC library 2020-12-02 16:19:56 +01:00
Carles Fernandez
c49a0a2e16
Remove tab 2020-12-02 14:33:43 +01:00
Carles Fernandez
a538c8c4ee
Update local GPSTk version to v8.0.0, keep compatibilty if v3.0.0 is installed 2020-12-02 14:27:59 +01:00
Carles Fernandez
b56ed9187c
Check for lib64 versus lib and set LIB_SUFFIX accordingly 2020-11-30 12:05:45 +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
9523ebdffd
Add override keyword 2020-11-29 10:15:28 +01:00
Carles Fernandez
77d58e1630
Replace the use of dirent.h by C++ standard libraries 2020-11-28 12:14:21 +01:00
Carles Fernandez
015d111c2f
Simplify script 2020-11-28 12:10:17 +01:00
Marc Majoral
44fa6c6851 fixed the link to core_libs 2020-11-27 16:45:14 +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
9e552b9cda The acquisition device name is not configurable. 2020-11-27 12:04:27 +01:00
Marc Majoral
3047051835 The dynamic bit selector modules determine the uio device file that is assigned to them using the hardware accelerator device name in the FPGA. The Switch device name is not configurable. 2020-11-27 11:24:44 +01:00
Marc Majoral
630f1932f2 The tracking modules determine the uio device file that is assigned to them using the hardware accelerator device name in the FPGA 2020-11-27 10:51:06 +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
Carles Fernandez
15c1f907bf
Make clang-tidy happy 2020-11-23 16:14:28 +01:00
Carles Fernandez
e289e3f6b3
Add new conf parameter TelemetryDecoder_XX.remove_dat
By default set to false. If dump=true and dump_mat=true, if this parameter is set to true, the .dat file is removed after conversion to .mat, leaving a cleaner output if the user is not interested in the .dat file
2020-11-23 16:09:27 +01:00
Carles Fernandez
abcd16e166
Fix description in header 2020-11-23 14:48:57 +01:00
Carles Fernandez
7b89c0525b
Remove duplicated code 2020-11-23 14:42:13 +01:00
Carles Fernandez
e133834fb9
Fix test termination 2020-11-22 20:08:42 +01:00
Carles Fernandez
5c1f5bf315
Merge branch 'blocking-false' into next 2020-11-22 14:10:03 +01:00
Carles Fernandez
a091b18062
Fix occasional segfault when exiting with enter+q if Acquisition_XX.blocking=false 2020-11-22 14:08:48 +01:00
Carles Fernandez
ef7ad1c492
Fix for new clang-format behavior 2020-11-22 11:08:47 +01:00
Carles Fernandez
e6d802d3e8
Fixes for new clang-format behavior 2020-11-22 11:05:16 +01:00
Carles Fernandez
79d846d21a
Clang-format fixes 2020-11-21 20:26:43 +01:00
Carles Fernandez
b04d77f402
Fix dump_filename parameter in TelemetryDecoder blocks.
New parameter dump_mat, by default set equal to dump. If set to false, dump files are not converted to .mat
New class to configure Telemetry blocks more easily
2020-11-21 19:37:22 +01:00
Carles Fernandez
6bdd4305eb
Delete Telemetry dump files if empty 2020-11-21 13:14:55 +01:00
Carles Fernandez
7e1f0176f4
Make SIMD instructions work on MS Windows 2020-11-20 16:44:06 +01:00
Carles Fernandez
94337c159f
Merge branch 'tlm-dump' into next 2020-11-19 14:07:12 +01:00
Carles Fernandez
54bde524cf
Fix clang format 2020-11-19 14:06:07 +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
Carles Fernandez
dd60970f32
Improve dump of Telemetry blocks 2020-11-19 09:55:08 +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
Carles Fernandez
708c696a69
Build GPSTk with the same visibility settings 2020-11-15 21:26:55 +01:00
Carles Fernandez
02b0fbed2e
Merge branch 'fix-format' into next 2020-11-15 20:21:12 +01:00
Carles Fernandez
15e1a9da83
Add remaining rinex printer tests with new API 2020-11-15 18:13:22 +01:00
Carles Fernandez
f2b05e686b
Simpler API for the Rinex_Printer 2020-11-15 14:17:58 +01:00
Carles Fernandez
54dfb9bbe9
Simplify public Rinex_Printer interface 2020-11-14 14:44:43 +01:00
Carles Fernandez
a0ef5a5f31
Move RINEX and RTCM work to the printer classes 2020-11-14 01:57:29 +01:00
Carles Fernandez
ad5690c52f
Fix exit with enter+q when Acquisition_XX.blocking=false 2020-11-12 15:24:15 +01:00
Carles Fernandez
d1b23ae3fd
Add logic for HAS message retrieval 2020-11-10 21:20:13 +01:00
Carles Fernandez
d81ff696b8
Fix warning 2020-11-10 13:16:25 +01:00
Carles Fernandez
1568c52000
Make clang-tidy happy 2020-11-08 20:55:19 +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
b8862f8d7d
Give more intuitive names to files with functions for local signal replica generation 2020-11-07 22:43:19 +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
Carles Fernandez
30b52cd68e
Make clang-format job happy 2020-11-04 10:16:45 +01:00
Carles Fernandez
0880b04649
Handle change in GNU Radio FFT API 2020-11-04 09:32:00 +01:00
Carles Fernandez
e192feba3a
Fix building of OpenCL block 2020-11-03 22:33:12 +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
Carles Fernandez
7b68335226
Fix filter tests 2020-10-29 11:49:54 +01:00
Carles Fernandez
8b508618d6
Mark private members 2020-10-29 11:49:09 +01:00
Carles Fernandez
58269aac2a
Fix Notch_Filter and Notch_Filter_Lite input filters 2020-10-28 23:49:55 +01:00
Carles Fernandez
4f1ad9ac29
Fix Pulse_Blanking_Filter 2020-10-28 20:01:11 +01:00
Carles Fernandez
0c03ac4568
More robust solution for archs not supported by cpu_features 2020-10-28 18:42:17 +01:00
Carles Fernandez
d7e2f82dab
Fix for s390x arch, since cpu_features does not support it 2020-10-27 09:13:49 +01:00
Carles Fernandez
2bf152636f
Add SPDX info to GPSTk patch file. Make the reuse job happy 2020-10-25 13:34:02 +01:00
Carles Fernandez
cc4412070b
Fix typo in patched file name 2020-10-25 13:02:20 +01:00
Carles Fernandez
88bd08b75b
Fix obsdiff and rinex2assist utilities when installed if they were built with a locally downloaded version of GPSTk 2020-10-25 11:50:09 +01:00
Carles Fernandez
14e588a6af
Remove old CMake support, not used anymore 2020-10-25 11:33:45 +01:00
Carles Fernandez
6509656c79
Fix copyright name 2020-10-24 14:52:05 +02:00
Carles Fernandez
30fbe8eb1a
Fix deprecation of operator << for matrices in Armadillo 10.1 2020-10-24 13:22:22 +02:00
Carles Fernandez
97a51c511d
Remove unused line 2020-10-24 13:20:55 +02:00
Carles Fernandez
33cee471f1
Find cpu_features.a file in more distributions. Update Google benchmark to 1.5.2 2020-10-24 10:48:48 +02:00
Carles Fernandez
3bc4cf2637
Fixes for old CMake 2020-10-23 22:27:45 +02:00
Carles Fernandez
7c2954c08f
Fix warning 2020-10-23 21:54:18 +02:00
Carles Fernandez
2f58c4aef1
Make cmakelint happy 2020-10-23 21:47:30 +02:00
Carles Fernandez
97224e60d2
Update cpu_features, fix integration 2020-10-23 21:36:12 +02:00
Carles Fernandez
292d084478
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into cpu-features 2020-10-23 19:50:42 +02:00
Carles Fernandez
73721b5532
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next 2020-10-21 16:27:56 +02: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
Carles Fernandez
e4c0e060be
Add missing reference in header (Fixes: #441) 2020-10-21 10:28:00 +02:00
Carles Fernandez
c1ecd1d1be
Fix python detection when cross-compiling 2020-10-16 20:06:11 +02:00
Marc Majoral
beddfb6f73 close the DMA descriptor properly. 2020-10-16 09:05:10 +02:00
Josh Schindehette
5648579a26 Fixed variable declaration syntax for clang-tidy 2020-09-30 15:24:07 -04:00
Josh Schindehette
8189b37eba Fixed code/comment spacing issue for cpplint 2020-09-30 14:15:12 -04:00
Josh Schindehette
202f032e88 Added cfloat type, data is assumed to be little endian
The sample_type property of gr_complex_ip_packet_source was augmented
to support the "cfloat" enumeration. It packs 8 bytes of data from
the UDP payload into a single complex float sample. The float data
in the UDP payload is assumed to be little endian.
2020-09-30 14:00:35 -04:00
Marc Majoral
47c23b2738 fix dynamic bit selection threshold 2020-09-23 16:49:11 +02:00
Marc Majoral
3daa9259e8 fixed the second step acquisition input parameters 2020-09-17 10:10:02 +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
Marc Majoral
70ceb4d11f fixed doppler variable type 2020-09-01 16:00:00 +02:00
Carles Fernandez
df2f84dfb0
Improve CUDA handling
Set CMAKE_CUDA_STANDARD to 14, allowing decay to 11 for CUDA 8
CUDA version reported in CMake summary
Add target property CUDA_RESOLVE_DEVICE_SYMBOLS to ON
2020-08-28 12:02:01 +02:00
Carles Fernandez
15428a47cc
Fix building with -DENABLE_CUDA=ON 2020-08-27 14:57:44 +02:00
Carles Fernandez
a9472dea30
Remove redundant void (clang-tidy modernize-redundant-void-arg) 2020-08-27 12:48:20 +02:00
Carles Fernandez
cd91722d2f
Parameter renaming to throttle_frequency_sps 2020-08-27 12:14:00 +02:00
Carles Fernandez
8aae7b6ce1
Fix for CMake 3.0 2020-08-23 09:42:35 +02:00
Javier Arribas
845385861d Adding throttle support in LabSat file signal source 2020-08-22 16:46:21 +02:00
Carles Fernandez
c6aec7a105
Fix for CMake < 3.12 2020-08-22 12:43:02 +02:00
Carles Fernandez
8054f3bbe9
Fix for Windows 2020-08-22 12:34:03 +02:00
Carles Fernandez
d50e901caf
Fix for Windows 2020-08-22 12:27:40 +02:00
Carles Fernandez
929b9b43ad
Fix for Windows 2020-08-22 12:06:12 +02:00
Carles Fernandez
2a21ee6a54
Fix dll linkage in windows 2020-08-22 11:01:49 +02:00
Carles Fernandez
d1085af3ac
Activate usage of cpu_features 2020-08-21 16:31:57 +02:00
Carles Fernandez
cda2c998b8
Add work towards using cpu_features. Keep compatibility with old systems 2020-08-21 14:43:04 +02:00
Carles Fernandez
ec4c4b7ee4
Mark method as const, fix typo in doc 2020-08-21 00:31:46 +02:00
Carles Fernandez
4877ffff80
Update GPS satellite blocks 2020-08-21 00:30:03 +02:00
Carles Fernandez
25da76d1a2
Fix building with CMake > 3, GCC 8 and old Boost version (e.g. CentOS 7 with cmake3 and gcc8) 2020-08-19 15:24:09 +02:00
Carles Fernandez
05b4575a5c
Fix acquisition resampler for other bands than L1 2020-08-14 11:13:43 +02:00
Carles Fernandez
a7e5132664
Fix bug in acquisition detection when the configuration parameter Acquisition_XX.threshold was set but Acquisition_XX.pfa was not 2020-08-14 01:07:03 +02:00
Carles Fernandez
c6e4287ee1
Improve variable initialization 2020-08-13 22:07:34 +02:00