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

181 Commits

Author SHA1 Message Date
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
Carles Fernandez
c00703b0ae Adding SPIR data file source 2015-01-14 17:27:26 +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
Carles Fernandez
4e714bf033 changing some raw pointers by smart pointers in the core receiver.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@502 64b25241-fba3-4117-9849-534c7e92360d
2014-04-03 21:59:14 +00: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
Carles Fernandez
25ed311f22 Small fix for Mac OS X
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@488 64b25241-fba3-4117-9849-534c7e92360d
2014-03-16 20:21:21 +00:00
Carles Fernandez
39f8754217 Cleaning the terminal output and dumping most of the information in the log file. Better use of the glog library, logging can be seen also in Release, in real time by doing './gnss-sdr --logtostderr=1'. Update to latest version of Armadillo.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@486 64b25241-fba3-4117-9849-534c7e92360d
2014-03-16 19:58:29 +00:00
Javier Arribas
28d6b9a122 GNSS-SDR Array blocks update
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@482 64b25241-fba3-4117-9849-534c7e92360d
2014-02-18 19:40:44 +00:00
Javier Arribas
ae053127b4 components of CTTC experimental GNSS antenna array signal source adapter for GNSS-SDR. Not usable yet!
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@481 64b25241-fba3-4117-9849-534c7e92360d
2014-02-17 18:53:45 +00:00
Carles Fernandez
4edd485cd0 Tidying up includes: own .h, C libraries, C++ libraries, other libraries' .h, project's .h. Some old time.h and stdlib.h have been replaced by ctime and cstdlib
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@477 64b25241-fba3-4117-9849-534c7e92360d
2014-01-14 23:22:54 +00:00
Carles Fernandez
05accfb1d7 Tidying up includes: : C library, C++ library, other libraries' .h, project's .h.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@476 64b25241-fba3-4117-9849-534c7e92360d
2014-01-12 20:07:38 +00:00
Carles Fernandez
9c890a799f add GNU Radio include dirs
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@464 64b25241-fba3-4117-9849-534c7e92360d
2013-12-15 22:27:37 +00:00
Carles Fernandez
004495507d Fixing detection of GNU Radio when installed in non-usual locations (e.g. /home/user/target). Now the user can tell cmake where GNU Radio is by 'cmake ../ -DGNURADIO_INSTALL_PREFIX=/home/user/target'
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@462 64b25241-fba3-4117-9849-534c7e92360d
2013-12-14 10:23:33 +00:00
Carles Fernandez
a8619337be Now GNSS-SDR also builds on Mac OS X 10.9 Mavericks using clang++ and libc++. Updated cmake scripts, some modification of code not accepted by clang. Updated README with instructions for Mavericks. Fixed file length computation in 64-bit architectures.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@435 64b25241-fba3-4117-9849-534c7e92360d
2013-11-09 10:51:11 +00:00
Carles Fernandez
2972272b3e Fixes compilation issues on Mac OS X. Now it builds successfully against gnuradio installed by Macports and using gcc 4.8. Upgrade version of Gtest. Some fixes and updates in documentation and code cleaning.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@423 64b25241-fba3-4117-9849-534c7e92360d
2013-10-18 18:26:06 +00:00
Javier Arribas
ee43872704 New feature: GNSS-SDR now reads the IFEN NSR 2bit sample file format. The GNSS-SDR receiver can now be used with the SX-NSR scientific navigation front-end receiver using its native .stream binary captures.
More information of this high-end front-end can be found here:  http://www.ifen.com/products/sx-scientific-gnss-solutions/nsr-software-receiver.html


git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@421 64b25241-fba3-4117-9849-534c7e92360d
2013-10-14 16:51:47 +00:00
Luis Esteve
2f6c75be76 Adding new algorithms of adquisition:
gps_l1_ca_pcps_multithread_acquisition
     gps_l1_ca_pcps_tong_acquisition
     galileo_e1_pcps_cccwsr_ambiguous_acquisition
     galileo_e1_pcps_tong_ambiguous_acquisition
     galileo_e1_pcps_8ms_ambiguous_acquisition

and test for all the algorithms.


git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@411 64b25241-fba3-4117-9849-534c7e92360d
2013-08-28 17:17:57 +00:00
Javier Arribas
9bfd2bb32a Front-end calibration utility is now fully operative for the following front-ends:
- RTLS-SDR + Elonics E4000

Some bug correction in PCPS acquisition

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@398 64b25241-fba3-4117-9849-534c7e92360d
2013-07-30 10:53:45 +00:00
Luis Esteve
8b10549fee Patch submitted by Marc Molina: Improving PCPS Acquisition with some VOLK instructions. Enabling the secondary spreading code in Galileo acquisition. Adding Signal Generator to GNSS-SDR.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@397 64b25241-fba3-4117-9849-534c7e92360d
2013-07-23 18:03:07 +00:00
Carles Fernandez
5e6e66e60b fixing some errors on compiling the gn3s signal source
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@396 64b25241-fba3-4117-9849-534c7e92360d
2013-07-21 22:18:19 +00:00
Carles Fernandez
180a1e3a46 fixes some old gnuradio definitions
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@395 64b25241-fba3-4117-9849-534c7e92360d
2013-07-21 21:57:42 +00:00
Carles Fernandez
36f70490d9 some small changes required by Pybombs
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@379 64b25241-fba3-4117-9849-534c7e92360d
2013-07-06 11:22:44 +00:00
Javier Arribas
6f8ef58802 Towards a front-end frequency and sample rate calibration tool. VERY experimental yet.
Bug fixes in acquisition assistance and in linker include files.


git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@371 64b25241-fba3-4117-9849-534c7e92360d
2013-07-05 17:00:48 +00:00
Javier Arribas
58b280afb6 Switch to GNU Radio 3.7.x API
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@368 64b25241-fba3-4117-9849-534c7e92360d
2013-07-04 13:47:40 +00:00
Carles Fernandez
53fed8b3d4 Fix compilation problem in Mac Os X (thanks to Brian Kuschak)
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@355 64b25241-fba3-4117-9849-534c7e92360d
2013-04-05 20:28:20 +00:00
Javier Arribas
0bf9e44eb4 SUPL assistance support in progress:
- New SUPL parameters available in GNSS-SDR.conf
- Ephemeris assistance for real-time operation is now functional
- SUPL client now stores the received ephemeris in XML file. This file can be loaded on request to enable post-processing SUPL assistance and to enable SUPL assistance without internet connection. -> thowards a complete warm start GNSS-SDR.

BUG FIXES:
- GN3S driver firmware file copy operation in CmakeLists.txt had an error that mismatches the gn3s_firmware.ihx file location and prevents the correct firmware loading for GN3S SiGe USB dongles.


git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@351 64b25241-fba3-4117-9849-534c7e92360d
2013-03-18 18:27:44 +00:00
Javier Arribas
12003ffa94 GNSS-SDR now uses CMAKE as the only build system. Goodbye BJAM!
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@347 64b25241-fba3-4117-9849-534c7e92360d
2013-03-15 18:03:01 +00:00
Carles Fernandez
bd84ebd1c4 improving documentation
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@339 64b25241-fba3-4117-9849-534c7e92360d
2013-02-04 00:16:22 +00:00
Carles Fernandez
ae1cb212de improving documentation
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@335 64b25241-fba3-4117-9849-534c7e92360d
2013-01-28 23:50:09 +00:00
Carles Fernandez
00a8007dc3 Adding Mac OS X support. Tested in Mountain Lion.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@333 64b25241-fba3-4117-9849-534c7e92360d
2013-01-27 20:50:38 +00:00