Carles Fernandez
82f1d8b991
Fix building
2022-12-05 22:50:01 +01:00
Carles Fernandez
5ac57eff38
Fix formatting
2022-12-05 20:42:42 +01:00
Marc Majoral
31124ae72b
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into DMA
2022-12-05 19:21:30 +01:00
Marc Majoral
4ce4682ea8
use separate files for the Xilinx DMA-proxy and the ezdma drivers
2022-12-05 19:18:31 +01:00
Carles Fernandez
f78579ce7e
Remove unused variable
2022-12-05 16:22:01 +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
Carles Fernandez
38341c351b
Merge branch 'labsat3w_unpack_fix' of https://github.com/jeffmelville/gnss-sdr into jeffmelville-labsat3w_unpack_fix
2022-12-05 13:14:51 +01:00
Javier Arribas
205583bb27
Update ad936x iio custom lib
2022-09-22 15:15:07 +02:00
Javier Arribas
8734a9f5c1
Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime
2022-09-21 12:03:54 +02:00
Jim Melton
36a1e4c18d
convert from vector to stream
2022-09-20 15:39:14 -06: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
db2addd9bc
AD936x custom source switch from custom to default baseband filters
2022-08-30 16:50:38 +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
069c958965
Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime
2022-08-29 11:50:07 +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
Into Pääkkönen
e161545155
add options for changing usrp device arguments
...
Signed-off-by: Into Pääkkönen <into.paakkonen@aalto.fi>
2022-08-26 23:15:29 +03:00
Carles Fernandez
56ae0c043c
CMake: Improve spdlog handling
2022-08-23 13:02:04 +02:00
Javier Arribas
e5d6579e9a
Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime
2022-08-14 12:12:33 +02:00
Javier Arribas
6311530cb4
Adding new Ad936x custom signal source, initial commit, experimental
2022-08-14 12:10:59 +02:00
Carles Fernandez
cd3be22798
Fix error with C++14 (invalid conversion from const char* to char*)
2022-08-12 20:09:11 +02:00
Jim Melton
09d8e3b9e9
clang-tidy claims this is more correct
2022-08-10 22:41:38 -06:00
Jim Melton
4e9faa5793
cpplint
2022-08-10 21:26:10 -06:00
Jim Melton
2eae3ef43a
implement dump
2022-08-10 20:21:12 -06:00
Jim Melton
b24141ca72
add ZMQ signal source
2022-08-10 17:37:57 -06: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
Vladisslav P
3491fed625
osmosdr signal source: implement bandwidth selection
...
New config file parameter:
SignalSource.if_bw=<bandwidth in Hz>
Signed-off-by: Vladisslav P <vladisslav2011@gmail.com>
2022-07-06 08:25:50 +03: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
Carles Fernandez
7c854cdfe7
Remove unused declaration
2022-06-28 17:34:22 +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
0a346c3017
Fix segmentation fault in file_timestamp_signal_source
2022-06-08 10:21:05 +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
f8b227952a
Merge with next
2022-06-03 21:08:13 +02:00
Carles Fernandez
7612a5e411
Fix building in 32-bit archs
2022-06-03 09:40:58 +02:00
Carles Fernandez
037ad07478
Apply clang-tidy
2022-05-31 07:34:12 +02:00
Marc Majoral
4c278cb3df
removed commented code
2022-05-30 11:12:38 +02:00
Marc Majoral
6e368622e2
Prefer initialization to assignment in constructors
2022-05-30 09:02:22 +02:00
Javier Arribas
0eebe9c2de
Fix four bits source adapter
2022-05-24 15:44:11 +02:00
Marc Majoral
a1a4666399
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga_ad-fmcomms5_compatibility
2022-05-23 17:52:34 +02:00
Javier Arribas
742113c55f
Adding timestamp capability to four bits signal source
2022-05-23 12:30:12 +02:00
Marc Majoral
8131bdffc5
perform fmComms5 specific mult-chip sync configuration
2022-05-20 16:54:00 +02:00
Javier Arribas
c97e12dbe0
Adding 4 bits complex samples signal source
2022-05-20 10:40:30 +02:00
Marc Majoral
da47cadcff
fix ad9361_manager comments
2022-05-19 15:49:50 +02:00
Marc Majoral
923398fa5e
fixed disable_ad9361_rx_local
2022-05-19 15:33:56 +02:00
Carles Fernandez
592ba0325d
Fix clang-format job
2022-05-19 15:10:34 +02:00
Jean-Michel Friedt
c7f3994683
add XTRX gain setting and reading (osmocom source)
2022-05-19 15:00:29 +02:00
Marc Majoral
ab310a367a
fix gain_rx2
2022-05-18 18:04:43 +02:00
Marc Majoral
6b9941dd13
fix the configuration of the second AD9361 when it is present
2022-05-17 19:29:02 +02:00
Marc Majoral
4e37fa45ad
fix AD9361 configuration
2022-05-17 15:40:43 +02:00
Javier Arribas
9ef62fadb8
Adding Over-the-Wire sample format config option for the UHD source
2022-05-17 14:53:25 +02:00
Marc Majoral
38ed8ced4e
configure the AD9361 digital filter on a per RX-channel basis. Keep the LO is the same for all RX channels in the same device.
2022-05-17 10:49:13 +02:00
Marc Majoral
a1d8d8c19d
make the ad9361_manager functions flexible to allow the use of two AD9361 devices when using the FPGA.
2022-05-13 18:12:25 +02:00
Marc Majoral
c2141f99fb
update the AD9361 in_voltage1_hardwaregain only if the gain mode is set to manual
2022-05-12 17:53:27 +02:00
Marc Majoral
e6f3222e4a
make the FPGA ad9361 signal source config_ad9361_rx_local function compatible with the AD-FMCOMMS5 analog front-end
2022-05-10 09:53:27 +02:00
Marc Majoral
c3ec1074db
make cmakelint happy
2022-04-29 12:45:35 +02:00
Marc Majoral
916b12eef6
fix code for 32-bit processor architecture
2022-04-29 12:16:48 +02:00
Marc Majoral
d346e763f8
use std::array
2022-04-29 10:41:44 +02:00
Marc Majoral
ea172f0d36
move all DMA control to Fpga_DMA class
2022-04-28 22:33:29 +02:00
Marc Majoral
e740244a63
removed the code that was commented out and the file headers that were not used
2022-04-28 21:24:15 +02:00
Marc Majoral
4244944814
fix filename0 and filename1 assignment
2022-04-28 19:09:26 +02:00
Marc Majoral
3f8e22b255
added support for the Xilinx dma-proxy driver when using 64-bit processor architectures.
2022-04-28 18:41:31 +02:00
Marc Majoral
d3bd4ed626
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fix_FPGA_IP_address_ranges
2022-04-19 15:55:30 +02:00
Marc Majoral
337c9c7d1f
set the FPGA page size to 0x1000 for compatibility with the FPGA IP cores compiled for the ZynqMP
2022-04-19 15:53:00 +02:00
Carles Fernandez
70b79323ce
Fix building against latest GNU Radio main branch
2022-03-30 16:12:21 +02:00
Carles Fernandez
0f65cbeb91
Fix defects detected by Coverity Scan 2021.12.1: Declaring variable data without initializer
2022-02-17 17:28:34 +01: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
05a7d2413d
Prefer initialization to assignment in constructors in some signal sources
2021-12-28 19:14:18 +01:00
Carles Fernandez
26964a365a
Fix program termination when usign extended intergration times
...
Reorder private data members, initialize them in constructor list
2021-12-28 13:59:57 +01:00
Carles Fernandez
bfb9bc88b9
CI: make clang-tidy happy
2021-12-17 19:24:05 +01:00
Carles Fernandez
aae48af5d4
Warn about missing SignalSource.sampling_frequency parameter
2021-12-17 14:05:36 +01:00
Carles Fernandez
7fa437232a
Prefer initialization to assignment in constructors
2021-12-14 17:34:35 +01:00
Carles Fernandez
8d9875e881
Prefer initialization to assignment in constructors
2021-12-14 14:06:37 +01:00
Carles Fernandez
71321581ed
Prefer initialization to assignment in constructors
2021-12-14 12:59:35 +01:00
Carles Fernandez
33366ef6df
Fix uninitialized scalar fields
2021-12-14 10:21:31 +01:00
Carles Fernandez
c41ea05137
Improve LimeSDR PPS capability detection
2021-12-06 23:59:09 +01:00
Carles Fernandez
a9538c81f3
Avoid unnecessary copies of string
...
Avoid C-style castings
2021-12-06 20:58:33 +01:00
Carles Fernandez
da9d0122d7
Fix detection of gr-limesdr branch
...
Fixes build with macOS
2021-12-06 20:56:28 +01:00
Javier Arribas
03b14a0212
Fix cpplint format defects
2021-12-05 19:31:43 +01:00
Javier Arribas
91f826b5ca
Adding timetag propagation from source to telemetry decoders (currently supported by Galileo telemetry decoder)
2021-12-03 12:56:20 +01:00
Javier Arribas
ea4ffe125d
Make cmakelint happy again
2021-12-01 15:37:02 +01:00
Javier Arribas
c8f7966688
Fix cmakelint and cpplint reported format errors
2021-12-01 14:52:27 +01:00
Javier Arribas
8a4055b5b8
Add timetag clock offset configuration parameter in TImeTag File signal source. Timetag code clean
2021-12-01 13:18:29 +01:00
Javier Arribas
c262d74e03
Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime
2021-11-29 20:54:56 +01:00
Carles Fernandez
bcec8331e6
Fixes for building against GNU Radio master
...
Log4cpp has been replaced by spdlog and fmt
2021-11-23 16:38:50 +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
Marc Majoral
740a2762bc
Initialize the dynamic bit selection shift register
2021-11-15 12:47:33 +01:00
Javier Arribas
0c49a44946
Merge branch 'next' of github.com:gnss-sdr/gnss-sdr into pps_lime
2021-10-25 12:03:52 +02:00
Carles Fernandez
4121efa0d2
Fix clang format
2021-10-23 14:19:36 +02:00
Carles Fernandez
2f7263d7a3
Fix for new API for gr-iio component in GNU Radio master
2021-10-23 14:11:20 +02:00
Javier Arribas
becc3426af
Update gr.limesdr adapter to support gr3.8
2021-10-20 11:23:58 +02:00
Javier Arribas
c9d6688f1b
Merge with next
2021-10-20 09:47:33 +02:00
Carles Fernandez
835e799770
Fixes for clang-format 13
2021-10-18 18:24:07 +02: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
a50284f403
Merge branch 'DMA_FPGA' of https://github.com/mmajoral/gnss-sdr into mmajoral-DMA_FPGA
2021-10-08 11:25:22 +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
Marc Majoral
eccf2ee746
temporarily prevent a problem with the DMA, which occurs when using petalinux 2018.3, the ezdma and when switching from tx to rx transfer mode.
2021-10-08 10:14:38 +02:00
Carles Fernandez
ba815abcde
Merge branch 'two-bit-sample-size' of https://github.com/jwmelto/gnss-sdr into jwmelto-two-bit-sample-size
2021-09-27 12:04:14 +02:00
Carles Fernandez
48b62e9585
If dump_filename points to a non-existing folder, try to create it
2021-09-24 16:52:13 +02:00
Jim Melton
530684d241
make clang-tidy happy
2021-09-22 20:02:36 -06:00
Marc Majoral
80ccad790d
do not write the signal source gain if the AGC is enabled when using the AD9361.
2021-09-14 17:46:52 +02:00
Jim Melton
06d1d2773b
change the packets per sample calculation for 2-bit files.
...
This is complicated and I botched it before.
Hopefully someone with access to 2-bit samples can test this
2021-08-24 15:03:48 -06:00
Javier Arribas
a694033755
LimeSDR source is now operative
2021-06-22 16:15:03 +02:00
Javier Arribas
514bb331ce
Merging next branch
2021-06-21 17:00:27 +02:00
Carles Fernandez
27d0419f79
Remove abandoned Gn3s_Signal_Source and ENABLE_GN3S building option
2021-06-15 14:19:40 +02:00
Carles Fernandez
e966006d35
Fix usage of GNU Radio GR-IIO module API
2021-06-05 01:21:53 +02:00
Javier Arribas
bf7c52d510
Adding timestamp_source command line switch to change the timestamp file from command line
2021-05-04 16:00:38 +02:00
Javier Arribas
672edceec3
Fix gnss-sdr stop after completing a timestamp source processing
2021-05-03 17:30:58 +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
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
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
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
26bc9c9b5a
Debug Build: Measuring signal timestamp vs. GNSS obs RX time
2021-04-12 18:37:06 +02:00
Javier Arribas
3353a62296
Debug Build: Adding Timetag chain from FileTimestampSource to dllpllVEML tracking and from tracking to GPS L1CA telemetry decoder
2021-04-12 12:14:04 +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
13a83092da
Fix warning -Wunused-private-field raised by clang
2021-04-04 11:01:14 +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
Javier Arribas
02f3e0c3ed
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into pps_lime
2021-03-12 10:10:00 +01:00
Carles Fernandez
32c699befc
Add LabSat 3 Wideband format to Labsat_Signal_Source
2021-03-11 22:13:23 +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
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
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
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
07b401e3bc
Improve error messages in case of wrong configuration for the FPGA offloading flowgraph
2021-02-23 21:40:53 +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
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