1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-29 15:30:52 +00:00
Commit Graph

206 Commits

Author SHA1 Message Date
Javier Arribas
09cc53f36e Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime 2023-01-13 12:34:44 +01:00
Carles Fernandez
7898236c44
Add missing include (required by Clang 14) 2023-01-11 17:39:10 +01:00
Javier Arribas
b8decef94d Merge with next 2022-12-12 15:30:30 +01:00
Carles Fernandez
c9a845ab3d
Activate usage of boost::endian if available 2022-12-05 16:18:57 +01:00
Carles Fernandez
cecf7e5e43
Fix building if boost::endian is not available 2022-12-05 15:02:35 +01:00
Jeff Melville
b6c7e4a6f1 Fix register unpacking for Labsat3W files
This change fixes a bug in the unpacking of Labsat 3 Wideband files
when using the Labsat_Signal_Source. The original endian conversion
loop includes a cast from char->uint64_t that (surprisingly) incurs a sign
extension when the MSB of the char is set. ORing the unmasked uint64_t
into the register can set undesired bits.

The changes replace the old endian conversion loop with a ``boost`` utility
function.

Signed-off-by: Jeff Melville <dev@jeffmelville.com>
2022-09-20 10:24:51 -04:00
Javier Arribas
dd1ce7893c Adding ad936x custom source optional interchannel delay compensation 2022-09-13 17:34:23 +02:00
Javier Arribas
0c5d38145f Adding extra control for the AD936x custom source external mixer 2022-08-30 15:28:18 +02:00
Javier Arribas
baa2a33838 Merge with next and adding full suport for custom AD936x sample sizes and dual frequency modes with external mixer board 2022-08-29 11:49:55 +02:00
Javier Arribas
6311530cb4 Adding new Ad936x custom signal source, initial commit, experimental 2022-08-14 12:10:59 +02:00
Javier Arribas
831cc2d7b6 Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime 2022-08-02 12:15:05 +02:00
Carles Fernandez
6ec452a7c0
Allow the CMake project to be a sub-project 2022-07-28 10:37:36 +02:00
Javier Arribas
b13041cb3c Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime 2022-06-30 10:38:50 +02:00
Carles Fernandez
342d378fe3
Remove using directive 2022-06-29 00:07:51 +02:00
Javier Arribas
84abe6eaf4 Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime 2022-06-15 11:18:56 +02:00
Carles Fernandez
8b84158b18
Fix memory access 2022-06-15 07:02:52 +02:00
Javier Arribas
e074883f06 Adding a native AD936x custom signal source, still not usable 2022-06-07 09:20:52 +02:00
Javier Arribas
c97e12dbe0 Adding 4 bits complex samples signal source 2022-05-20 10:40:30 +02:00
Stefan van der Linden
20218290f7
Removed unused include 2022-02-08 16:26:37 +01:00
Stefan van der Linden
77c682e8b3
Removed unnecessary buffer 2022-02-08 12:51:51 +01:00
Stefan van der Linden
e2551648b9
Added FIFO ibyte support and code cleanups
Additional intermediate buffering improves performance
2022-02-03 17:03:50 +01:00
Carles Fernandez
8d9875e881
Prefer initialization to assignment in constructors 2021-12-14 14:06:37 +01:00
Carles Fernandez
cc38d6bc08
Fixes for building against GNU Radio master
Log4cpp has been replaced by spdlog
2021-11-23 13:30:48 +01:00
Carles Fernandez
9e386b8857
Make clang-tidy 13 happy (was: modernize-return-braced-init-list check) 2021-10-08 14:50:05 +02:00
Carles Fernandez
ccbe1c9ac9
Add includes (make cpplint's build/include_what_you_use filter happy) 2021-10-08 11:15:01 +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
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
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
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
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
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
Carles Fernandez
32c699befc
Add LabSat 3 Wideband format to Labsat_Signal_Source 2021-03-11 22:13:23 +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
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
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
Carles Fernandez
499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
Carles Fernandez
05c139b8be
Reduce number of warnings raised by bugprone-* clang-tidy checks in tracking blocks 2020-07-10 19:52:28 +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
a01dfa4052
Fix clang-format and clang-tidy jobs 2020-06-27 11:52:59 +02:00
Carles Fernandez
03d350551f
Sort private members in headers 2020-06-26 22:07:41 +02:00
Carles Fernandez
df7c466de0
Sort data members in headers 2020-06-24 22:27:51 +02:00
Carles Fernandez
ba022cc5f7
Improve consistency of CMake scripts 2020-06-24 11:42:45 +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