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

185 Commits

Author SHA1 Message Date
Carles Fernandez
284f8bb370 adding missing queue 2014-12-24 11:27:51 +01:00
Carles Fernandez
35a72de883 Build minimal tests only if building with ENABLE_PACKAGING=ON. 2014-12-24 11:26:36 +01:00
Carles Fernandez
af855148b9 Fix number of channels 2014-12-24 11:22:01 +01:00
Carles Fernandez
9b95919ddb Improving thread management 2014-12-21 22:46:57 +01:00
Carles Fernandez
a9bcc6a155 adding 'make check' target 2014-12-19 23:19:50 +01:00
Carles Fernandez
393375f8f0 finding sources of libgtest-dev package 2014-12-07 22:09:24 +01:00
Carles Fernandez
fae3aa4f19 fixing detection and use of libgtest-dev 2014-12-07 20:42:52 +01:00
Carles Fernandez
8130121979 add detection of libgtest-dev package 2014-12-07 11:16:33 +01:00
Carles Fernandez
5291c64254 adding a newline at the end of the file 2014-12-05 19:23:32 +01:00
Carles Fernandez
e572c8ebc1 fixing warnings 2014-11-22 10:59:30 +01:00
Carles Fernandez
059c23595c some linking fixes 2014-11-09 15:31:35 +01:00
Carles Fernandez
8afa1be6cf Adding volk_gnsssdr 2014-11-07 18:23:59 +01:00
Carles Fernandez
74cb7ff362 Changing building system: 'cmake && make && sudo make install' 2014-11-04 21:28:01 +01:00
Carles Fernandez
045c432920 Some changes to make it work with Yosemite 2014-10-18 12:39:58 +02:00
Carles Fernandez
bb62dae014 Changing C-styled cast by C++ static_cast<>() 2014-09-12 13:34:43 +02:00
Carles Fernandez
35f9f30441 Some fixes and code cleaning 2014-09-12 10:56:04 +02:00
Carles Fernandez
4db2c6e060 Fixing test 2014-09-10 21:26:43 +02:00
Carles Fernandez
47f9929aa8 Better VOLK usage 2014-09-09 22:51:47 +02:00
Carles Fernandez
e0280584a9 Fixing warnings 2014-09-08 15:43:47 +02:00
Carles Fernandez
7d0ac88f93 Fixing broken tests due to changes in the configuration names 2014-09-06 03:42:22 +02:00
Carles Fernandez
dfd9be34a9 Merge branch 'galileo_e5a' of https://github.com/marc-sales/gnss-sdr
into next

Conflicts:
	src/core/receiver/gnss_block_factory.cc
	src/core/receiver/gnss_flowgraph.cc
2014-09-05 18:51:08 +02:00
marc-sales
91964ffbf3 push final version 2014-08-20 11:02:16 +02:00
marc-sales
1d3d40cefd final version 2014-08-20 10:59:47 +02:00
Carles Fernandez
b746d1c619 Merging quicksync branch by Damian Miralles (GSoC 2014) 2014-08-19 18:52:05 +02:00
Carles Fernandez
4ed8a44d2d Decreasing the number of realizations so run_tests don't take ages to
finish :-)
2014-08-19 18:44:09 +02:00
Damian Miralles
741c091e18 Final editing of the QuickSync algorithm in the GNSS-SDR platform. Cahnges include a better layout of
the code test, bugs correction and the most significant is the modifiable option in the folding factor
if the user requires it.
2014-08-13 14:51:25 -04: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
marc-sales
3b3c809dab Unified acquisition 2014-08-05 02:01:37 +02:00
Carles Fernandez
32de19051a Small changes in config_2 2014-07-24 03:11:58 +02:00
Carles Fernandez
7640be1c96 Fixing typo 2014-07-24 02:36:14 +02:00
Carles Fernandez
42ae5cbd88 First commit of the acquisition method based on the QuickSync algorithm.
Code developed by Damian Miralles.
2014-07-24 01:38:58 +02:00
marc-sales
7d6ec42f24 coherent 2or3 ms adding noncoherently I+Q acquisition,
dll+pll tracking still diverges
2014-07-07 21:06:26 +02:00
marc-sales
841ae59d6a Added two acquisition strategies. Flowgraph is changed to produce
default signal when doing sky search.
2014-06-26 00:11:44 +02:00
marc-sales
4b5526ec7e E5a Dll/Pll tracking + tracking test + Secondary code delay generator
+ PCPS acquisition of 1ms code 1ms filled with zeros (to avoid sec code
ambiguity)
2014-06-20 18:23:44 +02:00
marc-sales
dbad4b5742 E5a signal generator and minor bug fixes. 2014-06-17 19:13:24 +02:00
Carles Fernandez
027fcaa5cc Do not force cache of GTEST_DIR_LOCAL so the user can chose either
define it or not from cmake commandline
2014-05-28 22:12:29 +02:00
Carles Fernandez
36a587762b Fixing detection of GTEST_DIR variable when defined with -DGTEST_DIR=... 2014-05-28 22:02:11 +02:00
Carles Fernandez
31b4738d39 Fixing detection of GTEST_DIR environment variable 2014-05-28 20:24:29 +02:00
Carles Fernandez
a8f85dbbfc replacing raw pointers by smart pointers 2014-04-26 00:01:33 +02:00
Carles Fernandez
656864b769 replacing some raw pointers by smart pointers 2014-04-24 22:39:13 +02:00
Carles Fernandez
c60a4e8996 Replacing some raw pointers by smart pointers 2014-04-24 20:39:19 +02:00
Carles Fernandez
aa7d6a0f20 working on the new factory and the tests 2014-04-24 01:53:55 +02:00
Carles Fernandez
15dd3f98bf Replacing some raw pointers by smart pointers 2014-04-24 01:02:53 +02:00
Carles Fernandez
6e20c9f8c6 Replacing some raw pointers by smart pointers 2014-04-24 00:52:11 +02:00
Carles Fernandez
75aee95bde Merge branch 'next' into modern_factory 2014-04-23 21:30:00 +02:00
Javier Arribas
de91bf6b23 Fixing memory problem in Magnitude square test 2014-04-23 12:31:10 +02:00
Carles Fernandez
46fb0ea214 Replacing some raw pointers by smart pointers 2014-04-23 01:03:56 +02:00
Carles Fernandez
55da7e9716 replacing raw pointers by smart pointers in the control message factory 2014-04-23 01:03:56 +02:00
Carles Fernandez
5bde2595af cleaning flowgraph 2014-04-23 01:03:54 +02:00
Carles Fernandez
bb6da5f7b0 First attempt to design a smart ptr only factory. Compiles and passes
the thest but does not connect the flowgraph
2014-04-23 01:03:53 +02:00
Carles Fernandez
c762e921aa changing a log from fatal to warning 2014-04-10 20:38:50 +02:00
Javier Arribas
743af3398d Fixed GTEST_DIR env variable detector under MACOSX. Fixed small compatibility issue in armadilo norm for armadillo version < 4.100
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@503 64b25241-fba3-4117-9849-534c7e92360d
2014-04-07 16:20:09 +00: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
Carles Fernandez
1b8204bdb3 fixing memory leaks
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@501 64b25241-fba3-4117-9849-534c7e92360d
2014-03-29 21:53:56 +00:00
Carles Fernandez
95e123eef1 working on tests. Removing obsolete files
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@500 64b25241-fba3-4117-9849-534c7e92360d
2014-03-29 19:11:32 +00:00
Carles Fernandez
9f2f4335a0 improving test
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@499 64b25241-fba3-4117-9849-534c7e92360d
2014-03-28 22:30:20 +00:00
Carles Fernandez
f209dd9163 fixing tests when compiled with gcc
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@498 64b25241-fba3-4117-9849-534c7e92360d
2014-03-28 18:12:06 +00:00
Carles Fernandez
e3578d801c Some tests
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@497 64b25241-fba3-4117-9849-534c7e92360d
2014-03-28 17:52:51 +00:00
Javier Arribas
dbce333a3f Added missing gflags dependency to test_main.c to support DECLARE_string(log_dir)
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@496 64b25241-fba3-4117-9849-534c7e92360d
2014-03-23 10:47:19 +00:00
Carles Fernandez
daba798d8a Cleaning tests. Added test for the RTCM printer.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@495 64b25241-fba3-4117-9849-534c7e92360d
2014-03-23 09:45:03 +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
Carles Fernandez
26d2bc70b3 Adds the option to avoid the use of OpenCL by doing 'cmake ../ -DDISABLE_OPENCL=1'
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@485 64b25241-fba3-4117-9849-534c7e92360d
2014-03-15 01:21:17 +00:00
Carles Fernandez
6eabb93de7 fixing typo
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@445 64b25241-fba3-4117-9849-534c7e92360d
2013-11-15 17:47:16 +00:00
Carles Fernandez
3595d60f99 Working on the tests. Workaround to build with Xcode. Improving documentation, README and cmake files readability
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@444 64b25241-fba3-4117-9849-534c7e92360d
2013-11-15 17:45:24 +00:00
Carles Fernandez
669910f6af Improving the way cmake detects GNU Radio. Switching from FindGnuradioXXX() to ConfigGnuradio.cmake. Fixed a typo in README. Tested in Mac OS X 10.9 and Ubuntu 13.10 64 bits, should work on other versions as well.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@442 64b25241-fba3-4117-9849-534c7e92360d
2013-11-13 21:07:33 +00:00
Carles Fernandez
1a623a155f include SBAS_L1_Telemetry_Decoder in the block factory, and the corresponding queues
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@437 64b25241-fba3-4117-9849-534c7e92360d
2013-11-09 23:11:46 +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
Luis Esteve
025a24bb20 Last commit from the GSoC 2013 project "Improve the acquisition sensitivity of a GNSS receiver" by Marc Molina.
Added OpenCL Acquisition blocks and tests. 

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@420 64b25241-fba3-4117-9849-534c7e92360d
2013-10-01 20:32:04 +00:00
Luis Esteve
52aa4cac1a Fixing some warnings
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@412 64b25241-fba3-4117-9849-534c7e92360d
2013-08-28 17:44:49 +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
b0a323095d Towards a Galileo INAV Navigation decoder: First version of the Galileo_E1_Telemetry_Decoder block. In this version only the preamble detection and page part synchro is functional.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@389 64b25241-fba3-4117-9849-534c7e92360d
2013-07-15 17:07:10 +00:00
Carles Fernandez
a604f45afb some small changes required by Pybombs
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@376 64b25241-fba3-4117-9849-534c7e92360d
2013-07-06 10:50:55 +00:00
Carles Fernandez
5b13435332 small fixes to cmake scripts
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@374 64b25241-fba3-4117-9849-534c7e92360d
2013-07-06 02:15:09 +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
Luis Esteve
4d19e3d517 Fixed bug in Acquisition Tests
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@362 64b25241-fba3-4117-9849-534c7e92360d
2013-05-31 11:30:40 +00:00
Javier Arribas
cfeae47a29 Acquisition assistance is now working!
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@353 64b25241-fba3-4117-9849-534c7e92360d
2013-04-02 14:02:55 +00:00
Javier Arribas
d7b014e373 Experimental GPS assistence using Secure User Plane Protocol (SUPL) initial tests. Not usable yet!
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@348 64b25241-fba3-4117-9849-534c7e92360d
2013-03-15 18:05:37 +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
Javier Arribas
8b2d21c1c9 Major changes:
- Gps telemetry decoder and PVT now uses independent queues for ephemeris, iono, utc_model and almanac. The old gps_navigation_queue is now deprecated and it is removed from the implementation. This affect almost all the PVT and Rinex printer classes.
- Rinex printer class updated to use the new ephemeris, iono, utc_model objects
Bug fixes and correction:
- The pseudorange generation now is based on the computed TOW for each received symbol. The History_Shift computation become simplier in this way. This modification is also a solution for a bug where the pseudoranges became temporally invalid when the TOW is updated (that happen every 6 secons!) 

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@343 64b25241-fba3-4117-9849-534c7e92360d
2013-03-14 12:52:32 +00:00
Javier Arribas
175a143c61 Thowards A-GNSS-SDR: New classes to store GPS SV orbital, clock, and ionosphere parameters. Work in progress...
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@342 64b25241-fba3-4117-9849-534c7e92360d
2013-03-11 18:29:33 +00:00
Carles Fernandez
2b5d6e45f5 Adapting tests to the new GNU Radio 3.7 API. The component gr-analog, required by some tests, is now found by CMake. Some code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@340 64b25241-fba3-4117-9849-534c7e92360d
2013-02-17 09:54:41 +00:00
Carles Fernandez
6628e5e2d8 Now gflags and google-glog are downloaded, configured, build and linked automatically when doing "make". Since gflags is a prerequisite for the proper functioning of glog, glog is always built locally when gflags is missing.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@305 64b25241-fba3-4117-9849-534c7e92360d
2013-01-01 11:24:42 +00:00
Carles Fernandez
74668e14dd Glog is now downloaded, configured, built and linked automatically if it is not found in the host system.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@304 64b25241-fba3-4117-9849-534c7e92360d
2012-12-29 21:07:43 +00:00
Carles Fernandez
a032dfaefd Enabling CTest
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@301 64b25241-fba3-4117-9849-534c7e92360d
2012-12-28 15:40:03 +00:00
Carles Fernandez
7ebebd041e If the GTEST_DIR variable is not set, CMake will automatically download, configure and build Googletest 1.6.0 when building run_tests. Download includes MD5 checksum. The source code will be left under the thirdparty/ folder. All the download and build files will remain under the build/ directory. Since Googletest does not need installation, all the process can be done without root privileges, simply doing 'make'.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@297 64b25241-fba3-4117-9849-534c7e92360d
2012-12-26 11:19:57 +00:00
Carles Fernandez
f33a0db34e Enabling run_tests build. If the variable GTEST_DIR exists, it builds the executable run_tests. 'make install' will copy the executable at the install/ folder.
Improved doxygen detection. Now 'make doc' will build the documentation at the docs/ folder if doxygen is available.

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@296 64b25241-fba3-4117-9849-534c7e92360d
2012-12-25 10:28:29 +00:00
Carles Fernandez
30c6045f11 Working on GTest
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@295 64b25241-fba3-4117-9849-534c7e92360d
2012-12-24 13:29:23 +00:00
Javier Arribas
080305cee8 New ultra-fast All-In-One Carrier wipe-off and Early-Prompt-Late correlator using Intel AVX SSE3 intrinsics.
Try it using the GPS_L1_CA_DLL_PLL_Optim_Tracking implementatioin for tracking operation!




git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@283 64b25241-fba3-4117-9849-534c7e92360d
2012-11-25 19:37:31 +00:00
Javier Arribas
0760fa0f3e - New NCO library for carrier signal generation: Provides a fixed point optimized wrapper for GNU Radio fxp CORDIC and SSE2 floating point implementation ( sse_mathfunc.h implementation). The library is available as nco_lib.h
- Updated Unit Test to benchmark all the current NCO implementations (./run_tests --gtest_filter=Cordic_Test.StandardCIsFasterThanCordic)

-Gps_L1_Ca_Dll_Pll_Optim_Tracking algorithm updated with new NCO library for carrier wipeoff and some other optimizations.



git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@281 64b25241-fba3-4117-9849-534c7e92360d
2012-11-22 17:43:24 +00:00
Carles Fernandez
422189b026 code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@268 64b25241-fba3-4117-9849-534c7e92360d
2012-10-28 14:11:42 +00:00
Carles Fernandez
fb0b2b8b33 Code cleaning
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@261 64b25241-fba3-4117-9849-534c7e92360d
2012-10-28 08:43:48 +00:00
Carles Fernandez
994de02032 Fix sign in Doppler acquisition tests
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@260 64b25241-fba3-4117-9849-534c7e92360d
2012-10-28 08:26:13 +00:00
Carles Fernandez
1aea9db69f Changed the "CN_estimators" library name by the more informative "lock_detectors". The CN0 estimators for GPS L1 C/A and Galileo E1 have been unified
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@254 64b25241-fba3-4117-9849-534c7e92360d
2012-10-21 09:54:37 +00:00
David Pubill
c241b7b1d6 - Added TCP connector for Galileo E1 simulink tracking
- Added simulink-based Galileo_E1_DLL_PLL_VEML_Tracking

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@250 64b25241-fba3-4117-9849-534c7e92360d
2012-10-19 13:38:25 +00:00
Luis Esteve
f0a0f94007 Added documentation to the code
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@245 64b25241-fba3-4117-9849-534c7e92360d
2012-09-12 15:03:38 +00:00
Javier Arribas
02ab6ce7d7 New GPS L1 CA tracking module GpsL1CaDllPllOptimTracking optimized for speed:
- The local code replica is pre-initialized and resampled to the nominal PRN code sample rate (no code Doppler correction)

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@242 64b25241-fba3-4117-9849-534c7e92360d
2012-09-04 15:57:30 +00:00
Luis Esteve
01c80dac80 Fixed bug in gnss_flowgraph.cc.
Galileo satellites added to available_GNSS_signals_

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@239 64b25241-fba3-4117-9849-534c7e92360d
2012-09-03 11:58:28 +00:00
Javier Arribas
598512529f Added NMEA 2.1 protocol for PVT dump.
This is an experimental release that only supports FILE dump operations.



git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@235 64b25241-fba3-4117-9849-534c7e92360d
2012-08-28 17:14:18 +00:00
Luis Esteve
45d7220dae First version of Galileo E1 DLL PLL Very Early Minus Late Tracking. Added some functions in Matlab to analyze the results.
git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@234 64b25241-fba3-4117-9849-534c7e92360d
2012-08-28 13:38:33 +00:00