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

324 Commits

Author SHA1 Message Date
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
Javier Arribas
752b4396d0 Fix inverted spectrum in unpack gss6450 block 2018-08-01 12:13:54 +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
a05952c966
Initialize all members in the constructor
Replace C-style casts by C++ casts
Fixes spelling errors
Other minor cleaning for consistency
2018-05-19 20:23:48 +02:00
Carles Fernandez
76d871bc8d
Avoid throwing in the destructor 2018-05-19 19:07:00 +02:00
Carles Fernandez
eeb2893f9c
Fix GCC 8.1.1 warnings 2018-05-16 21:54:31 +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
zosoworld
79170327ab Fixed rtl_tcp signal source 2018-05-04 19:54:45 +02:00
zosoworld
62198abdf4 Fixed rtl_tcp signal source deadlock 2018-05-04 19:04:09 +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
Carles Fernandez
8b390d0924
Replace boost::lexical_cast with std::to_string
Fixes in optional buildings
2018-05-01 23:32:52 +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
Carles Fernandez
43103068fd
Remove unused includes 2018-05-01 10:16:30 +02:00
Carles Fernandez
966dd699ac
Fix building with libiio but without gnuradio-iio 2018-05-01 08:40:08 +02:00
Carles Fernandez
c90ec201f2
Fix building in PYBOMBS 2018-05-01 08:33:41 +02:00
Carles Fernandez
bd81330201
Apply code formatting 2018-04-30 19:53:20 +02:00
Carles Fernandez
6d6b583169
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into mmajoral-fpga 2018-04-30 19:23:35 +02:00
Carles Fernandez
a2eb5d5344
Improve readability, reorder includes 2018-04-29 13:26:21 +02:00
Javier
ab534e7791 Fix build bug 2018-04-13 18:31:35 +02:00
Carles Fernandez
c01d8d0dd9
Move general_work to the bottom of the file 2018-04-13 11:39:05 +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
Carles Fernandez
ac168cf274 Avoid warning 2018-04-06 09:39:11 +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
e434480c5a Fix Pybombs building 2018-03-28 15:05:15 +02:00
Carles Fernandez
a6a13cc306 Fix building in Pybombs 2018-03-28 08:35:33 +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
428a2eb1b5 Removing unused files 2018-03-27 14:44:56 +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
Carles Fernandez
24f6003ba0 Remove iostream from header files
and in redundant places such as in unit tests
2018-02-25 22:49:06 +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
9491e2a701 Remove unused include 2018-01-25 11:50:07 +01:00
Antonio Ramos
ecf94f71f1 Add 8 and 16 bits ADC compatibility 2018-01-25 11:00:23 +01:00
Carles Fernandez
8386289984 Initialize all members in the constructor 2018-01-23 22:52:15 +01:00
Carles Fernandez
80edc4313f Change header guard name for consistency 2018-01-23 21:48:42 +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
2a9d6975e0 Apply coding style 2018-01-23 20:07:43 +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
0dab500fb0 Update author 2018-01-22 12:38:38 +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
511675a97e Apply project's coding style 2017-10-18 09:08:13 +02: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
64ab909a0d Replace C-style casts by C++ casts 2017-08-19 12:10:47 +02:00
Carles Fernandez
7ac3f282fa Replace C-style cast by C++ casts 2017-08-19 02:33:54 +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
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
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
5264622895 Fix detection of big endian 2017-02-10 10:33:12 +01: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
Carles Fernandez
d0ac06d71d Cleaning includes 2016-01-04 22:56:52 +01:00
Carles Fernandez
45195917c1 fixing some gnuradio-related warnings reported by gcc, so others can be spotted easier 2015-12-02 18:25:06 +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
Cillian O'Driscoll
c20accbf26 Added interleaving reversal to unpack_2bit_samples 2015-10-14 09:34:33 +01:00
Cillian O'Driscoll
f389fc5042 Fixed a bug in endian reverse 2015-10-14 09:34:33 +01:00
Cillian O'Driscoll
3ca18df229 Added unpack_2bit_samples
This is a generic gnuradio block for handling 2 bit samples packed into
bytes or shorts. It can handle big or little endian ordering of the
samples within the byte, as well as big or little endian ordering of the
bytes within a short.

This is a utility function for a generic sample source which will be
able to handle all of these cases for both real and complex signals.
2015-10-14 09:34:33 +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
Javier Arribas
632136d1f8 Add missing boost include dirs in signal source 2015-07-27 15:48:24 +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
0927394351 Swap I/Q in two bit cpx interleaved file signal source
Some adjustments in the example configuration file to improve receiver
sensitivity
2015-07-03 15:37:30 +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
Carles Fernandez
fb45d31eed Merge branch 'next' of git+ssh://github.com/gnss-sdr/gnss-sdr into next
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2015-05-22 18:30:21 +02:00
Carles Fernandez
48435735ba fixes parallel building when glog is auto-built 2015-05-19 20:28:02 +02:00
Anthony Arnold
9e17f3d88d Reordering IQ reads 2015-05-18 03:12:44 +10:00
Anthony Arnold
322a812447 Correct stopping case 2015-05-15 19:59:21 +10:00
Anthony Arnold
d912ea7500 Stop on error 2015-05-15 18:41:51 +10:00
Anthony Arnold
a02c659795 Opening socket first 2015-05-10 23:54:40 +10: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
81bed50d03 Missing newline 2015-05-08 17:07:37 +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