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
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
d738d893c6
Apply clang-format
2021-01-26 00:14:50 +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
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
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
ddc5bcff01
Update references to new GPS ICDs
2021-01-12 10:34:55 +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
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
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
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
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
fdda4edffb
Improve handling of the ORC library
2020-12-02 16:19:56 +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
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
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
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
54bde524cf
Fix clang format
2020-11-19 14:06:07 +01:00
Carles Fernandez
dd60970f32
Improve dump of Telemetry blocks
2020-11-19 09:55:08 +01:00
Carles Fernandez
02b0fbed2e
Merge branch 'fix-format' into next
2020-11-15 20:21:12 +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