1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-07-04 02:43:15 +00:00
Commit Graph

184 Commits

Author SHA1 Message Date
Carles Fernandez
dfc963ad86 clang-tidy: apply readability-else-after-return check
See https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html
2019-02-11 15:53:50 +01:00
Carles Fernandez
b9c115bdf8 clang-tidy: apply modernize-use-using check 2019-02-11 13:13:06 +01:00
Carles Fernandez
75bd492d96
Change CMake target names to more meaningful ones, reflecting the code tree 2019-02-10 18:34:28 +01:00
Carles Fernandez
ce051e040f
Improve target design 2019-02-10 01:13:02 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts 2019-02-04 22:44:45 +01:00
Carles Fernandez
d6a3ab2f6f
Add Log4cpp::log4cpp imported target 2019-02-04 08:12:25 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Carles Fernandez
5f79053d65
Sort includes automatically with clang-format
Order:
1.- Main header
2.- Local headers
3.- Third-party library headers
4.- System headers

each category sorted lexicographically
2018-12-09 22:00:09 +01:00
Carles Fernandez
17260bbcea
Miscelaneous code improvements by clang-tidy 2018-12-08 18:49:31 +01:00
Carles Fernandez
7261bec2ad
Miscelaneous code improvements 2018-12-04 13:20:49 +01:00
Carles Fernandez
eb6ff88cec
clang-tidy: apply boost-use-to-string fix (see http://clang.llvm.org/extra/clang-tidy/checks/boost-use-to-string.html) 2018-12-03 23:34:29 +01:00
Carles Fernandez
327fec627c clang-tidy: apply readability-else-after-return fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-else-after-return.html) 2018-12-03 22:08:19 +01:00
Carles Fernandez
1743a773b5 Improve performance by using const and std::move() to avoid unnecessary copies 2018-12-03 19:01:47 +01:00
Carles Fernandez
b994f466a7 clang-tidy: apply modernize-loop-convert fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html) 2018-12-03 18:03:25 +01:00
Carles Fernandez
0d408a6024 clang-tidy: apply modernize-use-auto fix (see https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html) 2018-12-03 16:25:11 +01:00
Carles Fernandez
395f93aeff clang-tidy: apply modernize-pass-by-value fix. See http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html#modernize-pass-by-value 2018-12-03 15:43:43 +01:00
Carles Fernandez
8eec75c8ae clang-tidy: apply readability-string-compare fix (see https://clang.llvm.org/extra/clang-tidy/checks/readability-string-compare.html) 2018-12-03 12:52:17 +01:00
Carles Fernandez
96f34cabb1
clang-tidy: apply modernize-use-equals-default fix. See https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html 2018-12-03 11:12:10 +01:00
Carles Fernandez
87d1413447
Make cmakelint happier 2018-11-24 18:40:34 +01:00
Carles Fernandez
b0ba246934
Apply some style rules to CMake scripts 2018-11-22 00:35:21 +01:00
Carles Fernandez
e94b2f8990
Remove blanks 2018-11-18 21:24:54 +01:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files 2018-10-04 22:35:44 +02:00
Carles Fernandez
0f6a5d16ac
Fix build with latest GNU Radio master (towards 3.8) 2018-08-31 15:51:07 +02:00
Carles Fernandez
01b6cad75d
Fix build with latest GNU Radio master (towards 3.8) 2018-08-31 13:58:45 +02:00
Carles Fernandez
e4303d0fac
Fix build with latest GNU Radio master (towards 3.8) 2018-08-31 13:52:35 +02:00
Carles Fernandez
b64850d285
Add more extensive use of cstdint typenames 2018-08-14 01:32:06 +02:00
Javier Arribas
f9573987a2 Improving freq xlating fir filter adapter configuration 2018-08-02 12:46:08 +02:00
Carles Fernandez
88363482ef
Fix warning of unused private member 2018-06-03 22:46:45 +02:00
Carles Fernandez
424f812790
Fix clang warnings about unused private member 2018-06-03 19:11:16 +02:00
Carles Fernandez
0d60d97c24
Use https instead of http in links when available
Update copyright year in headers
2018-05-13 22:49:11 +02:00
Carles Fernandez
a2eb5d5344
Improve readability, reorder includes 2018-04-29 13:26:21 +02:00
Carles Fernandez
0400034d14 Fix typos detected by codespell 2018-03-25 19:47:28 +02:00
Carles Fernandez
34f24562cf Apply automated code formatting
Documented at .clang-format
See http://clang.llvm.org/docs/ClangFormat.html and http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2018-03-03 02:03:39 +01:00
Carles Fernandez
658e677fc3 Reorder includes: local headers first, then 3rd-party library headers, and finally standard headers 2018-02-26 03:15:53 +01:00
Unknown
829071369d Changes in cut-off frequency and transition width parameters 2017-11-07 11:55:03 +01:00
Unknown
10bbe2a267 Avoid IF parameter ambiguity
Added a new boolean for proper instantiation and connection of the internal blocks
2017-11-07 11:54:50 +01:00
Carles Fernandez
8fa965c75c Change parameter bw to be the cut-off frequency 2017-11-06 19:27:41 +01:00
Carles Fernandez
a8ff283bac Call the Intermediate Frequency parameter "IF" for consistency with the
freq_xlating_fir_filter block
2017-11-06 19:03:01 +01:00
Unknown
8e57d0829c Merge remote-tracking branch 'gnss-sdr/next' into pulse_blanking_if 2017-11-06 12:23:23 +01:00
Unknown
03f7cf0b07 Add lowpass filtering
Lowpass filtering implementation in freq_xlating
2017-11-06 10:32:11 +01:00
Antonio Ramos
f02bd08ce9 Merge remote-tracking branch 'origin/pulse_blanking_if' into pulse_blanking_if 2017-10-31 22:36:00 +01:00
Antonio Ramos
5958d11fd1 Baseband downconverting PulseBlanking
Added an IF to baseband downconverting stage previous to the pulse blanking filter
2017-10-31 22:34:21 +01:00
Antonio Ramos
dceb15acdc Baseband downconverting PulseBlanking
Added an IF to baseband downconverting stage previous to the pulse blanking filter
2017-10-31 20:28:34 +01:00
Carles Fernandez
21fbe61243 Remove more unrequired includes and reorder them 2017-10-19 20:51:30 +02:00
Carles Fernandez
e944aad824 Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next 2017-10-19 19:26:40 +02:00
Carles Fernandez
54a0070a33 Remove unrequired and repeated includes 2017-10-19 19:26:08 +02:00
Unknown
c114d38975 Notch filters FFT improved
FFT migrated from Armadillo to GNU Radio
2017-10-18 12:36:12 +02:00
Unknown
52a072b2fe Merge branch 'testing' into next
New unit tests for arithmetic (FFT) and input filters
2017-10-18 11:21:22 +02:00
Unknown
9a74120e7c Added Notch Filter Lite tests
Unit tests for Notch Lite input filter
2017-10-17 11:44:41 +02:00
Unknown
117329c1fc Avoiding copying input buffers
Improving performances of Notch and Notch Lite input filters
2017-10-17 11:29:30 +02:00
Unknown
0aa178b3ab Merge branch 'next' into testing 2017-10-17 11:10:00 +02:00
Unknown
93cd6a1713 Avoiding copying input buffers
Improving performances of Notch and Notch Lite input filters
2017-10-17 10:40:45 +02:00
Unknown
a1d432f9e8 Added Notch Filter tests
Unit test fot Notch input filter
2017-10-17 09:38:16 +02:00
Carles Fernandez
66a585bfeb Replace C-style casts by C++-style casts 2017-10-16 20:35:06 +02:00
Carles Fernandez
8ef49734db Avoid writing in the input buffer
This was uncovered when replacing C-style casts to C++-style casts.

Apply project's indentation style
2017-10-16 20:17:32 +02:00
Unknown
d8481d927b Added Pulse Blanking unit tests
New unit tests for the pulse blanking input filter
2017-10-16 16:36:51 +02:00
Carles Fernandez
732597860f Fix building 2017-10-16 11:39:22 +02:00
Unknown
4dd128f633 Merge remote-tracking branch 'gnss-sdr/next' into next 2017-10-13 11:14:36 +02:00
Antonio Ramos
9df36dcd83 Minor changes
Changing some variable names
2017-08-24 19:22:58 +02:00
Antonio Ramos
3536bce55c Improved Notch Filter Lite
Updated version of the filter
2017-08-24 19:22:58 +02:00
Antonio Ramos
e1dc9f5aac Improving real-time performances of input filters
Pulse blanking and Notch filters improved
2017-08-21 13:11:18 +02:00
Antonio Ramos
1e753e5f54 Adding Single state Notch Filter
New Notch_Filter_Lite input filter block
2017-08-21 13:08:33 +02:00
Carles Fernandez
122ec19626 Make use of the inline keyword where appropriate 2017-08-21 11:45:12 +02:00
Carles Fernandez
e7246d4565 Replace C-style casts by C++ casts 2017-08-19 11:27:22 +02:00
Carles Fernandez
7ac3f282fa Replace C-style cast by C++ casts 2017-08-19 02:33:54 +02:00
Carles Fernandez
07113fd89d Use the override special identifier when overriding a virtual function 2017-08-16 00:58:10 +02:00
Antonio Ramos
8f1fcb382a Improved Pulse Blanking Filter
Number of signal segments for estimating the noise power is passed now as a parameter in the configuration file
2017-07-12 09:12:56 +02:00
Antonio Ramos
cbe54da10f Beta version Pulse Blanking Filter
First version of the pulse blanking input filter
2017-07-10 12:53:26 +02:00
Antonio Ramos
0b8e3c9399 New noise floor power estimation in notch filter
In this version, the noise floor power is estimated via a VOLK Kernel
2017-07-10 09:48:38 +02:00
Antonio Ramos
119c8c1966 Notch filter solved problems
Segmentation fault due to pointers in the notch filter gnu radio block solved
2017-07-07 11:48:54 +02:00
Antonio Ramos
d67d9b270e Improved multistate notch filter
Better managing of the system memory
2017-06-23 11:34:02 +02:00
Carles Fernandez
9bfef0e05a Fix CMake scripts to use Ninja https://ninja-build.org/
cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -GNinja .. && ninja
2017-06-21 08:54:47 +02:00
Antonio Ramos
7fba751a49 Beta version of notch input filter
Beta version of general_work method implemented
2017-06-20 18:56:26 +02:00
Antonio Ramos
cf516566d6 New lines in notch filter files
Adapter is ready and gnuradio block in progress
2017-06-19 15:51:57 +02:00
Antonio Ramos
70dc68b984 Several changes in notch input filter adapter
Re-definition of the adapter
2017-06-16 13:55:15 +02:00
Antonio Ramos
3ed545ac3f Minor changes in notch filter files 2017-06-15 10:00:20 +02:00
Antonio Ramos
2731be3939 Adding some lines to notch_filter.h
Coding the class NotchFilter
2017-06-09 14:12:55 +02:00
Carles Fernandez
646a0b0fd4 Remove unused class members 2017-06-06 15:22:23 +02:00
Antonio Ramos
405d9dea5c Modifying notch filter files
Little changes in the files
2017-06-05 17:00:33 +02:00
Antonio Ramos
75a0019896 Adding notch filter files
Creation of empty files for notch input filter
2017-05-28 18:08:03 +02:00
Carles Fernandez
c9af2b5d02 Fix missing log4cpp linking symbols when GNURADIO_FILTER_LIBRARIES were
built with log4cpp

See https://github.com/gnuradio/gnuradio/issues/1045
2017-04-25 20:08:45 +02:00
Carles Fernandez
9ea8d7d759 Fix parallel building
If input_filter_gr_blocks was compiled before the volk_gnsssdr_module,
it caused a crash. This commit avoid this particular order.
2017-03-13 21:18:32 +01:00
Carles Fernandez
8769e6e74d Fix building in Ubuntu 15.04 2017-02-27 15:22:47 +01:00
Javier Arribas
d5656e65a8 Adding experimental input filter Pulse Blanking algorithm implementation 2017-02-21 11:35:18 +01:00
Carles Fernandez
5a73b4e047 Improve package reproducibility
Packages using CMake often use file(GLOB ...) to retrieve a list of
source files. As this is based on readdir(), the resulting file list
is unsorted. A common use case is to pass this list directly to
add_executable or add_library. But as the order is unpredictable, the
binaries are not reproducible (because the order in which the objects
are linked will vary).

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824263
2016-05-23 19:51:59 +02:00
Carles Fernandez
953bc4686e Remove unused queue in input filters and data type adapters 2016-05-09 18:44:58 +02:00
Carles Fernandez
831cc75153 Remove tabs from the source code 2016-05-02 23:46:30 +02:00
Carles Fernandez
2697fb6198 Cleaning includes 2016-01-10 22:21:31 +01:00
Carles Fernandez
d95a28cea7 fixing coverity issues 2015-05-15 10:55:46 +02:00
Carles Fernandez
5fe91b8338 Code cleaning, and a better Pass_Through 2015-02-26 18:24:06 +01:00
Carles Fernandez
c9ee0c4eab Adding cshort to gr_complex conversion 2015-02-26 12:56:29 +01:00
Carles Fernandez
7a7eeb5a5c Moving blocks to libs. GpsL1CaPcpsAcquisition now accepts cshorts and
cbytes
2015-02-13 02:17:00 +01:00
Carles Fernandez
6b258c68ac removing an include that was not required 2015-02-05 01:14:04 +01:00
Carles Fernandez
ee5a9ac5c4 small fix 2015-02-04 21:58:22 +01:00
Carles Fernandez
792c8c1c33 adding more data types to the freq_xlating_fir_filter 2015-02-04 21:45:16 +01:00
Carles Fernandez
f54ef85300 Working on the freq_xlating_fir filter 2015-02-04 18:04:51 +01:00
Carles Fernandez
b96ca007f5 Adding a new data_type_adapter, from interleaved short to
std::complex<short>
2015-02-03 19:40:26 +01:00
Carles Fernandez
42902c4663 Adding a filter for complex short streams 2015-02-03 17:11:41 +01:00
Carles Fernandez
b89e2b0802 Adding a filter for stream of shorts 2015-02-03 16:14:42 +01:00
Carles Fernandez
b9e7d8a446 adding a fir_filter for std::complex<signed char> (aka cbyte). It
converts the data type to floats, filters, and converts back to cbyte.
2015-02-03 00:58:21 +01:00