1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00
Commit Graph

505 Commits

Author SHA1 Message Date
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
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
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
2ded19342f
Improve headers 2020-02-12 00:04:29 +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
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
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
e4a39188f5
Implement FIR filter configuration 2019-10-09 20:50:06 +02:00
Carles Fernandez
0dbba0500d Add more parameter guards 2019-10-08 16:38:30 +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
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
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
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
1a11b5a2ec
Remove unnecessary links and includes to boost::thread 2019-08-03 19:51:50 +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
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
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
d5e5e5725d
Apply fixes by clang-tidy 2019-06-30 00:01:54 +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
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
c1b48d675a
Improve GNU Radio 3.7 / 3.8 handling 2019-04-27 17:28:49 +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
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
cf0a37300a Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-02-25 19:21:00 +01:00
Carles Fernandez
07259159af Apply clang-tidy checks 2019-02-22 21:34:15 +00:00
Carles Fernandez
0068740895
clang-tidy fixes 2019-02-22 22:12:44 +01:00
Carles Fernandez
13d8d19679
clang-tidy fixes 2019-02-22 22:02:37 +01:00
Carles Fernandez
30a72d5c06
Fix headers 2019-02-22 21:49:07 +01:00
Carles Fernandez
2f83d1e733
Apply clang-tidy to flexiband driver 2019-02-22 21:34:42 +01:00
Carles Fernandez
b3ae2c969a
clang-tidy: apply fixes 2019-02-21 10:33:20 +01:00
Carles Fernandez
9bc771bed6
Deploy a new option -DENABLE_CLANG_TIDY to integrate clang-tidy checks and fixes into the compilation process, if found. It defaults to OFF 2019-02-21 09:59:06 +01:00
Carles Fernandez
eedc3d5de6
clang-tidy: apply checks 2019-02-19 09:08:09 +01:00
Carles Fernandez
73b7341904
clang-tidy: apply readability-braces-around-statements plus code formatting
See http://releases.llvm.org/7.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability-braces-around-statements.html
Code formatting applied with:
  find ../src/ -iname *.h -o -iname *.cc | xargs clang-format -i
2019-02-11 21:13:02 +01:00
Carles Fernandez
d8eaa98e06
Fix building 2019-02-11 19:27:14 +01:00
Carles Fernandez
c8ae93d2b8 Fix building 2019-02-11 18:36:12 +01:00
Carles Fernandez
6abebac5eb Make use of cstdint type names 2019-02-11 17:51:20 +01:00
Carles Fernandez
0707963ab5 Use cstdint type names 2019-02-11 17:17:35 +01:00
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
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
e5b7eaa366
Reorder static dependencies 2019-02-07 23:07:24 +01:00
Carles Fernandez
dfab84b2de
Add fixes applied by clang-tidy 2019-02-05 01:31:09 +01:00
Carles Fernandez
708b288e61
Clean CMake scripts 2019-02-04 22:44:45 +01:00
Carles Fernandez
02996bbc8a
Add some CMake fixes 2019-02-04 20:00:29 +01:00
Carles Fernandez
f13b84c86c Add more CMake modernization 2019-02-04 18:17:35 +01:00
Carles Fernandez
9b94a4dec0 Add more imported targets to CMake scripts 2019-02-04 16:07:29 +01:00
Carles Fernandez
9d88b03b39
Remove unused definition 2019-02-04 08:14:38 +01:00
Carles Fernandez
d4da5d2879
Add Gflags::gflags private target 2019-02-03 20:28:49 +01:00
Carles Fernandez
8ae72fe458
Update to modern CMake usage 2019-02-03 19:24:44 +01:00
Marc Majoral
f127729eb0 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2019-01-25 18:02:07 +01:00
Carles Fernandez
d920aa4d92
Apply fixes by clang-tidy 2018-12-11 01:56:25 +01:00
Carles Fernandez
54237770a6
Apply fixes by clang-tidy 2018-12-10 22:59:10 +01:00
Carles Fernandez
5485afd882
Apply fixes by clang-tidy 2018-12-10 19:29:00 +01:00
Carles Fernandez
ef201c4ccd
Add pmt and uhd to clang-format as external libraries 2018-12-10 00:18:27 +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
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
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
5f01161af6
Fix building 2018-12-02 12:24:44 +01:00
Carles Fernandez
1ed73eb2f8
Fix building 2018-12-02 12:11:59 +01:00
Carles Fernandez
3bb47ff755
Improve const correctness, fix string comparisons 2018-12-02 05:29:11 +01:00
Marc Majoral
bd90563925 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-11-30 11:10:38 +01:00
Javier Arribas
1302614613 Improving SPIR GSS6450 signal source 2018-11-29 17:53:01 +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
73ece1e533
Uniformize style of CMake modules 2018-11-21 08:28:50 +01:00
Carles Fernandez
e94b2f8990
Remove blanks 2018-11-18 21:24:54 +01:00
Marc Majoral
3e46f658f6 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-11-16 10:34:19 +01:00
Javier
57a01809cb Improving spir signal source 2018-11-11 20:25:14 +01:00
Marc Majoral
8710ba1cf7 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into fpga 2018-10-08 19:47:39 +02:00
Carles Fernandez
78c0b76cb9
Avoid use of GLOB for source and header files 2018-10-04 22:35:44 +02:00
Marc Majoral
2b15343a6a started tracking pull-in test implementation for the FPGA 2018-08-29 18:20:41 +02:00
Carles Fernandez
b2db6abdaa
Add more extensive use of cstdint typenames 2018-08-11 14:31:35 +02:00
Carles Fernandez
73aa89dfc6
Fix creation of acquisition blocks, fix warning of unused private member 2018-06-03 22:43:53 +02:00
Carles Fernandez
424f812790
Fix clang warnings about unused private member 2018-06-03 19:11:16 +02:00
Carles Fernandez
d40094e6e2
Clean CMake scripts 2018-05-25 20:49:45 +02:00
Carles Fernandez
d6654301c5
Fix typo 2018-05-20 00:15:22 +02:00
Carles Fernandez
fc18408f11
Avoid throwing in the destructor 2018-05-19 22:42:08 +02:00
Carles Fernandez
5076b5a683
Fix warning of unused variable 2018-05-19 21:36:17 +02:00
Carles Fernandez
b4cc22abc2
Avoid throwing in the destructor 2018-05-19 20:34:50 +02:00
Carles Fernandez
835cf3b11e
Rename CMake module for gr-iio to a more consistent name. Minor fixes 2018-05-16 21:33:52 +02:00
Carles Fernandez
87fb81b972
Use https instead of http in links when available. Minor fixes 2018-05-16 20:00:14 +02:00
Javier Arribas
dfeb62871f Adding optional compilation of the custom UDP packet source. Disabled by default 2018-05-16 11:36:37 +02:00
Javier Arribas
bf7a3f0090 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into udp_source 2018-05-16 10:54:27 +02:00
Javier Arribas
df0dd82843 Optimizing custom UDP packet source and applying code style 2018-05-16 10:49:27 +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
Javier Arribas
bde6bd6cee Replacing GNURadio udp packet source with custom libpcap-based ethernet packet source 2018-05-11 13:21:53 +02:00
Javier Arribas
0ef3b56e22 Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into udp_source 2018-05-10 17:57:44 +02:00
Javier Arribas
9912acc4f8 Adding channel selector option in config if a single RF channel is used in UDP source 2018-05-03 18:44:04 +02:00
Javier Arribas
189cded82a Adding IQ Swap options to UDP source 2018-05-02 19:48:15 +02:00
Javier Arribas
7865387df9 Adding UDP GNSS signal source block 2018-05-01 21:25:15 +02:00
Carles Fernandez
8d8ebfc6df
Remove unused includes, minor fixes 2018-05-01 12:02:50 +02:00
Javier Arribas
8e59a42ae2 Merge Next with FPGA. Adding software-defined emulation of the sample counter 2018-04-06 17:03:20 +02:00
mmajoral
e1635a735d Added the class switch_FPGA, which controls the switch in the FPGA that connects the analog frontend and the DMA to the queues of the HW accelerators.
Removed some unused variables in the tracking.
2018-04-05 15:05:46 +02:00
Carles Fernandez
b31f929655 Apply clang-format, fix libiio detection in MacOS 2018-03-27 21:10:31 +02:00
Javier Arribas
65713d4c82 Adding support for dual channel in FMCOMMS2 and optional Local Oscillator generation using FMCOMMS2 TX channel 2018-03-27 19:35:53 +02:00
Javier Arribas
982af827b4 Group all ad9361 configuration calls in one library 2018-03-27 19:00:25 +02:00
Javier Arribas
ec09016750 Adding Local Oscillator generation for dual band operation using AD9361 FPGA source. Bug fix in FPGA flowgraph 2018-03-27 14:24:07 +02:00
Carles Fernandez
0400034d14 Fix typos detected by codespell 2018-03-25 19:47:28 +02:00
Javier Arribas
7c406bb6eb Merging fpga with next 2018-03-05 11:03:59 +01: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
Javier Arribas
dc4c7b9551 Adding AD9361 fpga signal source 2018-03-02 11:30:36 +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
osqzss
995367d776 Add bladeRF support 2018-02-24 15:19:04 +09:00
Carles Fernandez
2b8ab9dcee Group all flags in a single file
This makes easier to document and to add new ones.
Shortened version of common files have been added:
-c for -config_file
-s for -signal_source
2018-02-18 12:23:55 +01:00
Carles Fernandez
d780de445a Small fixes 2018-02-05 11:18:06 +01:00
osqzss
1bef2bbfb5 Add LimeSDR antenna selection support 2018-02-05 15:52:22 +09:00
Antonio Ramos
ecf94f71f1 Add 8 and 16 bits ADC compatibility 2018-01-25 11:00:23 +01:00
Carles Fernandez
9b7ce39c57 Fix wrong comments and add consistency in header guard name 2018-01-23 21:41:19 +01:00
Carles Fernandez
f6f14f246b Remove repeated and unrequired includes 2018-01-23 21:23:02 +01:00
Carles Fernandez
35c11d0120 Apply coding style 2018-01-23 20:09:39 +01:00
Carles Fernandez
ef2c2bcf6b Fix building with Clang 2018-01-23 19:51:36 +01:00
Javier Arribas
84fe651f0d Adding Labsat v2 and v3 single channel signal recorder file source 2018-01-23 17:31:42 +01:00
Carles Fernandez
59bd7273ae Merge branch 'spirent_signal_source' of https://github.com/antonioramosdet/gnss-sdr into antonioramosdet-spirent_signal_source 2018-01-22 12:40:19 +01:00
Antonio Ramos
dd77cd10df Remove debug lines 2018-01-22 12:21:28 +01:00
Carles Fernandez
db938bb047 Build fix due to a change in the gr-iio v0.3 API
A change in the API has removed the decimation parameter from sources
(see https://github.com/analogdevicesinc/gr-iio/issues/15 )

This commit fixes the build against the current master of
https://github.com/analogdevicesinc/gr-iio but it breaks compatibility
with older versions. Users with gr-iio already installed will need to
update it.
2018-01-20 11:56:17 +01:00
Antonio Ramos
7a2a02252a Minor changes 2018-01-19 13:50:33 +01:00
Carles Fernandez
3ca7d0d08a Remove unused include 2018-01-19 12:09:40 +01:00
Antonio Ramos
4873ea2b88 Fix GSS6450 signal source 2018-01-18 16:57:15 +01:00
Antonio Ramos
282c3d8659 Implement Spirent GSS6450 file signal source 2018-01-16 17:38:43 +01:00
Antonio Ramos
29b8643def Added Spirent GSS6450 file signal source 2018-01-12 13:15:20 +01:00
Carles Fernandez
4992449b51 Remove unused includes 2017-11-04 10:59:51 +01:00
Carles Fernandez
a9be24420e Fix typo 2017-11-01 20:49:10 +01:00
Carles Fernandez
afb3aa14f6 Remove commented lines 2017-10-31 16:03:41 +01:00
Carles Fernandez
647a27a192 Avoid possible duplication of linked libraries
Add installation pointers for gnuradio-iio
2017-10-31 16:02:18 +01:00
Carles Fernandez
462de44be4 Fix compilation 2017-10-31 13:05:15 +01:00
Carles Fernandez
0054f1c5f8 Fix compilation 2017-10-31 12:45:09 +01:00
Carles Fernandez
cc3ed4c672 Apply project's coding style 2017-10-30 22:31:20 +01:00
rmunozl
31b4228d8b add better explanation in README.md and improve format of some files 2017-10-30 15:17:53 +00:00
lmne
23fa911dd5 Add support to fmcomms2 SDR hardware 2017-10-29 02:51:22 -03:00
Carles Fernandez
fc9740b4dc Do not use LOG(FATAL) since the glog library could have been stripped
off
2017-08-25 19:17:12 +02:00
Carles Fernandez
122ec19626 Make use of the inline keyword where appropriate 2017-08-21 11:45:12 +02:00
Carles Fernandez
61f8df3586 Replace some C-style cast by static_cast<>()
See https://stackoverflow.com/questions/1609163/what-is-the-difference-between-static-cast-and-c-style-casting
2017-08-18 12:45:47 +02:00
Carles Fernandez
6532e0c57d Small fix 2017-08-16 13:45:17 +02:00
Carles Fernandez
07113fd89d Use the override special identifier when overriding a virtual function 2017-08-16 00:58:10 +02:00
Carles Fernandez
85cc7802be Fix const correctness when catching exceptions
See https://stackoverflow.com/questions/7581654/about-catching-exception-good-practices
Unneeded includes unistd.h removed
Close dump files in destructor
2017-08-14 13:59:00 +02:00
Carles Fernandez
59164c33bd Remove unneded cstdlib include 2017-08-12 15:52:23 +02:00
Cillian O'Driscoll
c1d798ae37 [WIP] fix for #54
two_bit_packed_file_signal_source: ensure all blocks have the right item size for both real and complex
outputs
2017-06-16 22:37:54 +01:00
Javier
f69cc2491c Adding UHD device filter by serial number option 2017-05-31 11:45:26 +02:00
Carles Fernandez
95ffcd3ac0 Improve portability
In some architectures (e.g. alpha, hppa, powerpcspe, m68k,  sh4, sparc64, x32) the package gr-osmosdr is not available. So when the package is build with -DENABLE_OSMOSDR=ON, it breaks on the mentioned architectures. This is expected behaviour (it breaks because a required dependency is not found), but prevents from building the package on such architectures. This commit introduces a small change: when compilation is called with

cmake -DENABLE_OSMOSDR=ON -DENABLE_PACKAGING=ON ..

then, the compilation does not break if gr-osmosdr is not found.

This commit also fixes building when UHD is present but gnuradio-uhd is not (for instance, in hurd-i386)
2017-04-12 18:06:04 +02:00
Carles Fernandez
8eb01075f4 Restore ostream format 2017-01-11 23:26:42 +01:00
Carles Fernandez
81093e3d6b Remove firmware and drivers folders
Now drivers have their own repo at https://github.com/gnss-sdr/gr-gn3s
and https://github.com/gnss-sdr/gr-dbfcttc
2016-06-09 19:10:24 +02: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
831cc75153 Remove tabs from the source code 2016-05-02 23:46:30 +02:00
Javier Arribas
b4e8966691 Removing the unused Output_filter block from the gnss_sdr flowgraph 2016-04-06 16:12:06 +02:00
Carles Fernandez
1b7bc5af0c The USRP Hardware Driver (UHD) is now optional.
Used if found.
2016-02-02 23:32:48 +01:00
Carles Fernandez
fc01c85203 Removing unused parameter (removes a warning) 2016-01-11 10:44:57 +01:00
Cillian O'Driscoll
e4ff358178 Added seconds_to_skip and header_size
Use these configuration parameters to skip ahead in the FileSignalSource
Fixed bug in determining file duration
2015-11-26 15:08:26 +00:00
Cillian O'Driscoll
cee99131c1 Added two_bit_packed_file_signal_source 2015-10-14 09:35:22 +01:00
Javier Arribas
7b57bd28f8 Merge branch 'next-gnss-sdr' into next 2015-08-25 12:40:31 +02:00
Javier Arribas
1aa84cd1c4 Updated CUDA kernels and several GPU tracking optimizations.
Bug fix in GPS_L1_CA_DLL_PLL binary dump
2015-08-06 17:05:15 +02:00
Carles Fernandez
334caa329e Improving detection of GNU Radio version so modules requiring >=3.7.4
will be built even without the presence of pkgconfig
2015-07-19 11:18:20 +02:00
Carles Fernandez
ea6a92a1fc Fixing broken compilation when using gnuradio 3.7.3 (using I/Q swap
option of interleaved_short_to_complex that was introduced in 3.7.4)
2015-07-17 20:25:56 +02:00
Carles Fernandez
5d22d90cc0 Fixing documentation 2015-07-16 18:54:57 +02:00
Javier
6c0377ed06 Added new file source adapter:
2 bits complex file source for GNSS-SDR GSoC 2015 signal sampler
designed by Ajith Peter
2015-07-02 17:59:43 +02:00
Javier
a31542cbf6 Added support to select the frontend clock reference source in UHD
signal source (i.e. internal or external clock reference)
2015-06-17 18:07:36 +02:00
Anthony Arnold
96fc353fe4 Setting gains 2015-05-10 23:42:13 +10:00
Anthony Arnold
5f3ae0c66b Refactored out rtl_tcp stuff to libs 2015-05-10 22:57:43 +10:00
Anthony Arnold
6d16921845 Setting AGC mode 2015-05-09 12:53:17 +10:00
Anthony Arnold
1b0dd9e063 Solved performance issue. 2015-05-09 12:20:44 +10:00
Anthony Arnold
128a7452d5 rtl_tcp specific signal source block 2015-05-08 16:59:38 +10:00
Carles Fernandez
f556660e1f Merge branch 'osmoflags' of https://github.com/anthony-arnold/gnss-sdr
into anthony-arnold-osmoflags
2015-04-30 20:13:14 +02:00
Anthony Arnold
b059d5a648 Print args 2015-04-30 23:36:36 +10:00
Anthony Arnold
a9c77939df OsmoSdr args 2015-04-30 17:25:03 +10:00
Javier
a709874df4 Added support for new features of Flexiband GNURadio driver developed by
CTTC: Now it is possible to read signal from USB front-end frames
captured by Flexiband native driver.
2015-04-15 17:56:51 +02:00
Carles Fernandez
f0b9e03dcd Code cleaning 2015-03-04 21:09:44 +01:00
Javier
9afff479b1 Updated multichannel frontend support. 2015-03-04 19:00:57 +01:00
Javier
474f78f500 New Teleorbit Flexiband adapter for Teleorbit Flexiband frontends
(optional signal source). It requires a external GNU Radio driver.
2015-03-03 18:07:26 +01:00
Carles Fernandez
7c7f0ecbd2 Merge remote-tracking branch 'Arribas/next' into multisource
Conflicts:
	src/algorithms/signal_source/adapters/uhd_signal_source.cc
	src/core/receiver/gnss_flowgraph.cc
2015-03-01 22:23:17 +01:00
Javier Arribas
7a681a287d Debug output cleaning 2015-03-01 20:58:03 +01:00
Javier
304f38b81a Added multichannel frontend support. Enabled in UHD signal source. Multisource configuration minor changes 2015-03-01 20:25:50 +01:00
Carles Fernandez
2a2740cb01 Code cleaning 2015-02-27 18:21:25 +01:00
Javier
5b37329200 Bug fix in multisource/multichannel gnss_block_interface 2015-02-27 10:36:09 +01:00
Javier
8606191311 Added support to multiband frontends (UHD multiband) in UHD signal
source. Still to do modifications in flowgraph to connect the signal
conditioners and the next chained blocks..
2015-02-18 18:46:00 +01:00
Carles Fernandez
fc83b961b1 Adding more input data types 2015-02-04 13:06:44 +01:00
Carles Fernandez
3dcac855b8 adding more data types 2015-02-04 02:29:38 +01:00
Carles Fernandez
6984e78b70 replacing some C casts by C++ casts 2015-01-31 12:16:46 +01:00
Carles Fernandez
056158e198 Adding SPIR file data source, by Fran Fabra 2015-01-14 17:26:41 +01:00
Carles Fernandez
6620e7d43c Updating copyright year 2015-01-08 19:49:59 +01:00
Carles Fernandez
d73095620b Changing name of rtlsdr_signal source by osmosdr_signal_source 2014-12-15 17:39:22 +01:00
Javier
0d417271c5 Bug fix in UHD source that prevented the USRP device selection by IP
address.

Adding sample configuration file for USRP X300 (and other networked
USRPs)
2014-12-03 18:58:28 +01:00
Carles Fernandez
54eb5d65be Making UHD not required, but used by default if found 2014-11-14 21:42:22 +01:00
Carles Fernandez
75e971b3a8 change etc/ to share/ 2014-11-13 00:28:36 +01:00
Carles Fernandez
d7c8ecc230 etc/ folder changed to share/ since it is a Filesystem Hierarchy
Standard (FHS) requirement for architecture-independent
application-specific static files
2014-11-12 23:05:53 +01:00
Carles Fernandez
79f88bd142 Changes in the building system 2014-11-05 23:26:31 +01:00
Carles Fernandez
76d00c7b1e Changes in program output when the configuration or source files are not
found
2014-11-05 01:39:13 +01:00
Carles Fernandez
d163f75a58 Removing reference to version 2014-11-04 21:30:18 +01:00
Carles Fernandez
74cb7ff362 Changing building system: 'cmake && make && sudo make install' 2014-11-04 21:28:01 +01:00
Javier Arribas
a2cad4c147 Added support for Fraunhofer / TeleOrbit Flexiband front-end
demultiplexed signal files (interleaved I/Q byte-size files,
post-process only).

Use sample configuration file gnss-sdr_Hybrid_byte.conf to try it!

Go to http://www.iis.fraunhofer.de/de/ff/lok/leist/test/flexiband.html
to obtain free captures from Fraunhofer
2014-10-27 13:00:10 +01:00
Carles Fernandez
e6f7af6f4c Fixing computation of signal duration 2014-09-09 17:16:33 +02:00
Carles Fernandez
3257d8cba1 Improving handling of optional processing blocks and linking libraries.
New options ENABLE_GN3S, ENABLE_RTLSDR, ENABLE_OPENCL, ENABLE_ARRAY and
ENABLE_GPERFTOOLS, all set by default to OFF. Users can enable that
features by 'cmake -DENABLE_XXX=ON ../ '. OpenCL is now not used by
default since it was giving problems in some platforms. Old variables
(RTSDR_DRIVER, GN3S_DRIVER, RAW_ARRAY_DRIVER and DISABLE_OPENCL) are
still honored and can be used in the same way, but the new ENABLE_XXX
are recommended for the sake of more uniform naming. Main CMakeFile.txt
has been rearranged, putting options first, then searching for the
required libraries, and then the optional ones. If Gperftools is enabled
and found, binaries are linked to the tcmalloc and profiler libraries,
and using the adequate flags. Fixed building in Mac OSX if Armadillo and
OpenBLAS were not installed in the system.
2014-08-07 21:04:01 +02:00
Carles Fernandez
8531a758ea Includes header files at add_libraries(...), which makes IDEs such as
Xcode to display them
2014-06-28 03:55:57 +02:00
Javier Arribas
885c5f364c Small bug fix and new configuration file ready to receive GPS signals in real-time with USRP devices and appropiate front-ends. Remember to tune the front-end gain (source section in config file) and, in some particular antenna and LNA setups, tune also the acquisition threshold (acquisition section). The configuration is tested on USRP v1 + DBSRX, USRP 2 + DBSRX and USRP B100 + WBX.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@491 64b25241-fba3-4117-9849-534c7e92360d
2014-03-17 19:41:14 +00:00