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
7d34866717
Add Rodrigo Muñoz to the list of Contributors
2020-07-03 23:55:01 +02:00
Carles Fernandez
fcf1b97c30
Fix call to overloded property in GCC
2020-07-03 21:52:40 +02:00
Carles Fernandez
cec63d3aad
Fix call to overloded property
2020-07-03 21:37:57 +02:00
Carles Fernandez
fb8e5e5c47
Fix a bug in signal sources that made the number of samples parameter ignored when too large ( Fixes : #396 )
2020-07-03 20:18:42 +02:00
Carles Fernandez
c412d0a3f5
Fix clang warning: equality comparison with extraneous parentheses
2020-07-02 10:53:51 +02:00
Marc Majoral
6ae4ddb3b8
init nread_elements to prevent compiler warning.
2020-07-02 10:33:36 +02:00
Carles Fernandez
7634934995
Fix ccplint job
2020-07-01 20:04:40 +02:00
Marc Majoral
975f22f53d
fixed program termination when using the FPGA in post-processing mode: the DMA process was not properly checking enable_DMA.
2020-07-01 17:42:40 +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
1569f238ac
Fix clang-format jbb
2020-06-27 10:56:51 +02:00
Carles Fernandez
03d350551f
Sort private members in headers
2020-06-26 22:07:41 +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
ba022cc5f7
Improve consistency of CMake scripts
2020-06-24 11:42:45 +02:00
Carles Fernandez
afa16c6769
Remove sleeps
2020-06-20 22:18:38 +02:00
Carles Fernandez
87989ead0a
Fix for clang-tidy
2020-06-19 15:37:28 +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
0df4277d36
Unify criteria in target definitions, more informative names
2020-06-13 00:32:40 +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
d2e9b0aece
Fix for Boost 1.73
2020-06-06 20:07:00 +02:00
Carles Fernandez
cd2dfe0bc2
Fix for Boost 1.73
2020-06-06 14:11:19 +02:00
Carles Fernandez
c27622a738
Fixes for old GCC
2020-04-26 12:28:24 +02:00
Carles Fernandez
5bde93f08c
Fix issues with boost::condition
2020-04-26 10:20:03 +02:00
Carles Fernandez
f5fc4d4119
Use lambda instead of boost::bind
2020-04-26 09:10:53 +02:00
Carles Fernandez
27f6b0c290
Fixes for GNU Radio 3.9
2020-04-03 00:41:51 +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
2df45a2d06
Remove tabs
2020-03-31 00:34:26 +02:00
Marc Majoral
0a14a1aa42
fixed DMA input file configuration options
2020-03-30 17:43:09 +02:00
Carles Fernandez
52b2b8b9d8
Use variable instead of function in constructor
2020-03-12 19:15:11 +01: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
2ded19342f
Improve headers
2020-02-12 00:04:29 +01:00
Carles Fernandez
d65daac971
Code formatting (cpplint.py --filter=-,+whitespace/tab,+whitespace/comments)
2020-02-11 21:47:13 +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
d6ec2a7b2c
Update links (mainly from http to https, fix broken links)
2020-02-05 21:24:46 +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
37f427844d
Apply clang-format
2019-10-28 13:00:18 +01:00
Marc Majoral
f3485bb39b
Throttle the DMA to give more time to other signal processing tasks.
2019-10-28 12:51:11 +01:00
Carles Fernandez
a9b0ff184d
Add energy-saving options for AD9361
...
New flag rf_shutdown, true by default, allows setting the RX and TX streams ON when set to false.
New parameters rx1_enable and rx2_enable, true by default, allow to disable the secondary RX channel when not used
2019-10-13 23:38:06 +02:00
Carles Fernandez
61c22ed53b
Set default freq_dds_tx_hz parameter to 10 kHz
2019-10-11 12:02:53 +02:00
Carles Fernandez
3307edc1c9
Add Gnuradio::analog target for old gr-iio versions
2019-10-10 12:26:19 +02:00
Carles Fernandez
3f21367587
Fix building in some configurations
2019-10-10 10:40:37 +02:00
Carles Fernandez
cb99011de8
Fix building
2019-10-10 08:12:25 +02:00
Carles Fernandez
a6c6e53982
Fix building in Debian Buster
2019-10-10 07:38:27 +02:00
Carles Fernandez
8eca3f7cf0
Fix debian10 building
2019-10-09 22:55:20 +02:00
Carles Fernandez
94bef678af
Set definition to PRIVATE
2019-10-09 22:24:29 +02:00
Carles Fernandez
7e823123a2
Improve doc provided in terminal
2019-10-09 22:17:44 +02:00
Carles Fernandez
b0c00eb5b0
Fix for old versions of libad9361
2019-10-09 22:08:08 +02:00
Carles Fernandez
54698bd211
Apply clang-format
2019-10-09 21:15:20 +02:00
Carles Fernandez
fb0093aaab
clang-tidy: apply performance-unnecessary-value-param fix
2019-10-09 21:13:28 +02:00
Carles Fernandez
e4a39188f5
Implement FIR filter configuration
2019-10-09 20:50:06 +02:00
Carles Fernandez
c081c2ea57
Add work on FIR configuration
2019-10-09 19:05:31 +02:00
Carles Fernandez
43a8090dc6
Add work in the AD9361 manager
2019-10-09 09:18:29 +02:00
Carles Fernandez
09078b6486
Implement more conf options for AD9361 FIR filters, work in progress
2019-10-08 19:34:18 +02:00
Carles Fernandez
0dbba0500d
Add more parameter guards
2019-10-08 16:38:30 +02:00
Carles Fernandez
df4a218ab4
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fir
2019-10-08 14:55:40 +02:00
Carles Fernandez
4208ffb4fb
Work in the FIR filter
2019-10-08 14:55:16 +02:00
Carles Fernandez
daa30c992c
Remove unused parameters
2019-10-08 14:47:28 +02:00
Carles Fernandez
bdabbf7f85
Implement phase_dds_deg parameter, fix guard for tx_bandwidth
2019-10-08 12:57:37 +02:00
Carles Fernandez
48a62594eb
Add work on RF configuration parameters for AD9361
2019-10-07 22:45:09 +02:00
Carles Fernandez
b5c253fd8f
Implement more configuration options for AD9361
2019-10-06 19:07:24 +02:00
Carles Fernandez
1e0c789c84
Prepare for gr-iio integration into GNU Radio
2019-10-05 21:12:54 +02:00
Carles Fernandez
c9e03557b7
Remove tabs
2019-10-05 03:16:31 +02:00
Marc Majoral
d20284fbc0
removed unused parameters
2019-10-02 15:25:46 +02:00
Marc Majoral
3a9e48c31c
applied clang-format
2019-10-01 23:44:07 +02:00
Marc Majoral
e9470f566e
fixed L1 and L2/L5 frequency band selection.
2019-10-01 23:13:28 +02:00
Marc Majoral
b932c5ef98
added the enable_DMA_ flag, which is used to stop the DMA when the user quits gnss-sdr, and the receiver is using the FPGA and the receiver is working in post-processing mode.
2019-10-01 22:26:30 +02:00
Marc Majoral
03cc2698bd
removed the assert() function, which did not work properly.
2019-10-01 15:53:45 +02:00
Carles Fernandez
453c0cd249
Inject file(s) via DMA if switch_position=0 in Ad9361_Fpga_Signal_Source
2019-09-28 21:59:05 +02:00
Carles Fernandez
54661af0a4
Fix compilation in macOS when ENABLE_AD9361=ON
2019-09-23 14:36:09 +02:00
Carles Fernandez
4dc30da649
Remove unused variables
2019-09-23 14:34:44 +02:00
Carles Fernandez
d137fda820
Apply clang-tidy
2019-09-13 13:35:26 +02:00
Carles Fernandez
e80122f4ff
Apply clang tidy checks and clang-format
2019-09-13 08:56:37 +02:00
Carles Fernandez
0520d400b3
Apply clang-tidy
2019-09-11 22:31:34 +00:00
Carles Fernandez
24872c02dc
Uniformize header guards
2019-09-07 16:42:22 +02:00
Carles Fernandez
9eb294209a
Allow packaging when gr-iio is not present
2019-09-07 16:41:27 +02:00
Carles Fernandez
38a987607e
Make use of the new Boost::headers target introduced in CMake 3.15
2019-09-07 12:36:19 +02:00
Carles Fernandez
8b04de9462
Fix building with gr-iio 0.3-6 Debian package
2019-09-03 11:39:55 +02:00
Carles Fernandez
df05c7418e
Fix bugprone-too-small-loop-variable clang-tidy check warnings
2019-08-24 17:34:12 +02:00
Carles Fernandez
95f688dcb0
Mark all constructors callable with one argument as explicit
2019-08-23 21:25:44 +02:00
Carles Fernandez
d4bb6e5731
Always have a space between // and comment
2019-08-18 22:16:13 +02:00
Carles Fernandez
c31d9dea40
Fix errors risen by include_what_you_use
2019-08-17 13:56:54 +02:00
Carles Fernandez
3abf82ca2c
Fix possible memory leak
2019-08-16 13:02:11 +02:00
Carles Fernandez
80c4cdd1cb
Avoid usage of variable length arrays, which is a C99 feature
2019-08-14 11:58:00 +02:00
Carles Fernandez
c04ec18ef7
Fix typo
2019-08-13 13:50:07 +02:00
Carles Fernandez
0873d11407
Avoid usage of double as a loop index
2019-08-13 13:49:30 +02:00
Carles Fernandez
d469c694e2
Apply default clang-tidy check
2019-08-13 01:06:47 +02:00
Carles Fernandez
070996cdb4
Apply clang-tidy check readability-else-after-return
2019-08-04 13:15:03 +02:00
Carles Fernandez
1a11b5a2ec
Remove unnecessary links and includes to boost::thread
2019-08-03 19:51:50 +02:00
Carles Fernandez
9f8f9e8af9
Apply code cleaning before release
2019-07-28 12:01:11 +02:00
Carles Fernandez
d626ca1f88
Merge branch 'fpga_extended_coherent_integration' of https://github.com/mmajoral/gnss-sdr into mmajoral-fpga_extended_coherent_integration
2019-07-26 13:12:46 +02:00
Carles Fernandez
a4d6800e22
Update copyright year
...
Applied on files changed since last release
clang-format applied
2019-07-26 12:38:20 +02:00
Marc Majoral
ad7c1afea1
Merge branch 'next' of https://github.com/mmajoral/gnss-sdr into fpga_extended_coherent_integration
2019-07-24 11:30:04 +02:00
Marc Majoral
48fe6086e4
updated the handling of the scoped_lock mutex in the fpga tracking loops + used clang-format.
2019-07-24 11:26:16 +02:00
Marc Majoral
f30d8a60ec
updated doxygen comments
2019-07-23 19:05:43 +02:00
Marc Majoral
6ee9fedd76
moved #defines to static consts + used clang-format + removed code that was commented out
2019-07-23 15:20:59 +02:00
Carles Fernandez
09b6b2305e
Handle redefinition of Boost_VERSION variable in CMake 3.15
...
See Policy CMP0093 https://cmake.org/cmake/help/v3.15/policy/CMP0093.html#policy:CMP0093
CMake 3.15 policies enabled by default (see https://cmake.org/cmake/help/v3.15/manual/cmake-policies.7.html#manual:cmake-policies(7) )
2019-07-22 14:13:57 +02:00
Carles Fernandez
be86771ede
Move default destructor to header file, so compiler can make a better job
2019-07-21 19:32:52 +02:00
Carles Fernandez
37fdfca5ec
Miscellaneous improvements
...
Improve modularity of CMake design
Improve building speed in multicore processors
Files command_event.* moved to core/libs
Remove Armadillo from public core_receiver interface
Uniformize name format for classes
Apply some fixes by clang-tidy
Improve documentation
2019-07-21 12:55:59 +02:00
Carles Fernandez
49e64f94f6
Code cleaning, initializations
2019-07-20 11:13:28 +02:00
Carles Fernandez
ef9c02bac2
Miscellaneous changes: fix typos, warnings
2019-07-20 02:53:31 +02:00
Javier Arribas
1313edd716
Partial implementation of the new event queue and its dependencies. Still NOT usable
2019-07-16 17:41:12 +02:00
Carles Fernandez
7ee1394f2f
Fix building with gcc 4.9
2019-07-14 14:48:05 +02:00
Carles Fernandez
d7460022ed
Avoid C arrays
...
See https://clang.llvm.org/extra/clang-tidy/checks/modernize-avoid-c-arrays.html
2019-07-14 14:09:12 +02:00
Carles Fernandez
4adb05570a
Fix typos detected by codespell
2019-07-09 11:52:53 +02:00
Carles Fernandez
da7ca482a8
Hide direct constructor as private member
2019-07-02 17:24:54 +02:00
Carles Fernandez
f0a92f1fb3
Make constructor public
2019-07-02 06:54:48 +02:00
Carles Fernandez
018cde8953
Write public interface first, then private members in class definitions
2019-07-01 23:44:42 +02:00
Carles Fernandez
d5e5e5725d
Apply fixes by clang-tidy
2019-06-30 00:01:54 +02:00
Carles Fernandez
c37b3e00b5
Use uppercase literal suffix
2019-06-29 14:22:15 +02:00
Carles Fernandez
04a62b813f
Remove unused CMake modules
...
Move ENABLE_GNSS_SIM_INSTALL option to main CMakeLisis.txt file
Remove unused lines
Update Doxygen download website
2019-06-28 09:32:46 +02:00
Javier Arribas
ee530f0ed1
Fix wrong length in valve
2019-06-18 10:21:22 +02:00
Carles Fernandez
3bc8091745
Fix comparisons (warning: -Wsign-compare)
2019-06-17 23:42:16 +02:00
Carles Fernandez
6757fe3e80
Fix file headers
2019-06-17 19:50:59 +02:00
Javier Arribas
81ee21f8cf
Adding new a multichannel file source suitable for multifrequency captures stored in different files to avoid stream synchronization problems in post-processing
2019-06-17 18:13:06 +02:00
Carles Fernandez
f6838a2561
Improve detection of gr-iio
2019-05-26 20:28:53 +02:00
Carles Fernandez
59494034d8
Better fix for Boost Asio and string_view issue in macOS
2019-05-26 02:09:53 +02:00
Carles Fernandez
a1f77607c3
Fix building in some macOS configurations
2019-05-16 20:49:10 +02:00
Carles Fernandez
da5e21a5b1
Fix message typos, improve messages, clean code
2019-05-12 10:59:11 +02:00
Carles Fernandez
f959428321
Improve initial mesages of Labsat source
2019-05-11 11:45:46 +02:00
Carles Fernandez
e574c55ca9
Smoother transition when reading a sequence of files
...
From:
End of current file, reading the next Labsat file in sequence: /Users/carlesfernandez/Downloads/time/output/output_0000.LS3
Labsat file source is reading samples from /Users/carlesfernandez/Downloads/time/output/output_0001.LS3
Warning
To:
End of current file, reading the next Labsat file in sequence: /Users/carlesfernandez/Downloads/time/output/output_0001.LS3
Labsat file source is reading samples from /Users/carlesfernandez/Downloads/time/output/output_0001.LS3
2019-05-10 15:05:35 +02:00
Carles Fernandez
6a6ec19b63
Fix building with Boost 1.65.1 (Ubuntu 18.04)
2019-05-08 21:35:15 +02:00
Carles Fernandez
5563e609ec
Fix identification of Boost version
2019-05-08 19:28:53 +02:00
Carles Fernandez
214c9d5de0
Fix building for Boost < 1.66
2019-05-08 16:15:59 +02:00
Carles Fernandez
40f0a93695
Replace boost::asio::io_service (deprecated since Boost 1.66) by boost::asio::io_context
2019-05-08 15:23:55 +02:00
Javier Arribas
f2baf32e3f
Optimizing LabSat Source
2019-05-06 12:55:32 +02:00
Carles Fernandez
c1b48d675a
Improve GNU Radio 3.7 / 3.8 handling
2019-04-27 17:28:49 +02:00
Carles Fernandez
baeb326f84
Avoid unnecessary copy
2019-04-27 12:49:37 +02:00
Carles Fernandez
35c42c41d7
Stop the Labsat_Signal_Source when the end of file is reached. This allows to use this source for automated testing.
...
Now the block also accepts directly *.ls2 names in filename parameter
Remove samples parameter, it was not used. This source reads the full file(s).
Make labsat23_source constructor private, so only the smart pointer wrapper can be called
2019-04-12 12:59:57 +02:00
Marc Majoral
6979e561b8
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-04-04 19:55:56 +02:00
Javier Arribas
dff91e1216
Improving Flexiband signal source multichannel configuration options
2019-03-29 17:34:06 +01:00
Marc Majoral
9d7f8be4ef
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga
2019-03-26 12:30:36 +01:00
Carles Fernandez
1b0697fdf9
Simplify script
2019-03-23 12:59:49 +01:00
Carles Fernandez
b0f971fc56
Remove wrong lines from old script
2019-03-23 11:31:53 +01:00
Marc Majoral
a24d26f427
set the default sampling frequency of the HW source to 12.5 Msps and the default bandpass bandwidth to 12.5 MHz + other minor changes
2019-03-19 10:14:09 +01:00
Carles Fernandez
8cb6b76651
Make the role name more uniform
2019-03-08 23:21:09 +01:00
Carles Fernandez
1ee044b5a9
Fix documentation
2019-03-08 23:20:08 +01:00
Carles Fernandez
dd7a52c93b
Fix headers
2019-03-06 21:54:39 +01:00
Carles Fernandez
c82c7225dd
Improve includes with the aid of include-what-you-use (IWYU)
...
See rationale at https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/WhyIWYU.md
2019-03-05 08:59:04 +01:00
Carles Fernandez
e7ea5c1fdd
Remove superfluous 'using google::LogMessage'
2019-03-03 13:39:35 +01:00
Marc Majoral
a03ed571e6
replaced int and unsigned int by int32_t and uint32_t
...
removed some unused variables
2019-02-27 14:37:07 +01:00
Marc Majoral
2b6e7749a8
cleaned the source code of the FPGA switch and the FPGA tracking adapters
2019-02-26 19:30:08 +01:00